基于确定性的分布式数据库中间件设计及实现  被引量:3

Design and Implementation of Deterministic Distributed Database Middleware

在线阅读下载全文

作  者:王会羽 夏飞 黄迅 戚林成 WANG Huiyu;XIA Fei;HUANG Xun;QI Lincheng(Jiangsu Electric Power Co.,Ltd.,State Grid,Nanjing 210000,China)

机构地区:[1]国网江苏省电力有限公司信息通信分公司,江苏南京210000

出  处:《微型电脑应用》2020年第12期151-154,共4页Microcomputer Applications

摘  要:采用确定性执行策略构建的分布式数据库能克服数据库所具有的不确定性。为此对数据库中间件进行了重新优化设计,分析了此数据库的各中间模块能够实现的具体功能。在分析分布式数据库内的中间件位置的基础上,对系统整体架构及关键模块展开了设计。采用Calvin数据库来整合各层的功能,将其置于数据库中来实现。给出了系统数据收发的工作模式。完成数据库中间件的编号后,再选择合适的主节点。当主节点属于数据库中间件时,更加快速地接收和分辨最终处理结果。系统实现方式如下:通过数据通信子模块构建得到数据传输的通道,同时将处理后事务请求序列传输到事务管理子模块。系统利用数据收发功能来连接数据库的不同功能层,再把完成全局定序处理后的事务转移至事务管理子模块中。通过客户端的ClientAppl类把Storedl序列传输至P2PMessage,之后由服务器实现消息定序功能。A distributed database is constructed by deterministic execution strategy to overcome the uncertainty of the database.The middleware of the database is optimized and the functions of the intermediate modules are analyzed.Based on the analysis of the location of middleware in the distributed database,the overall architecture and key modules of the system are designed.Calvin database is adopted to integrate the functions of each layer,and put it into the database.The working mode of the system is given.After the database middleware is numbered,the appropriate primary node is selected.When the master node belongs to the database middleware,it can receive and distinguish the final processing result more quickly.The system is implemented as follows:the data communication sub-module is constructed to obtain the data transmission channel,and the processed transaction request sequence is transferred to the transaction management sub-module.The system connects different functional layers of the database with the data transceiver function,and then transfers the transactions after global sequencing to the transaction management sub-module.The Storedl sequence is transmitted to P2PMessage through the ClientAppl class of the client,and then the server implements message sequencing.

关 键 词:分布式数据库 中间件 确定性 系统设计 实现 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象