计算机与现代化

• 数据库与数据挖掘 • 上一篇    下一篇

基于不可靠通信链路的数据共享模块

  

  1. (中国电子科技集团公司第十五研究所系统七部,北京100083)
  • 收稿日期:2018-07-19 出版日期:2019-01-30 发布日期:2019-01-30
  • 作者简介:李慧鑫(1993-),女,吉林白山人,硕士研究生,研究方向:Java Web软件研发,E-mail: 470271252@qq.com; 姚文明(1977-),男,北京人,研究员,硕士,研究方向:大数据,计算机应用。

Data Sharing Module Based on Unreliable Communication Link

  1. (Seventh System Department, Fifteen Institute, China Electronics Technology Group Corporation, Beijing 100083, China)
  • Received:2018-07-19 Online:2019-01-30 Published:2019-01-30

摘要: 随着企业规模的逐步扩大和计算机网络与企业信息技术的飞速发展,大中型企业陆续建立了很多业务系统,对各个系统之间数据同步的安全性提出了更高的需求。针对此需求,基于RabbitMQ消息队列中间件,本文设计并实现基于不可靠通信链路的数据共享模块,解决在企业内部两级数据中心之间的双向数据同步问题,并通过RabbitMQ的消息确认机制和持久化机制,保证数据的安全送达、无丢失。经过实践证明,该数据共享模块功能稳定,可提高两级数据中心的数据传输效率并保证其安全性。

关键词: 数据同步, RabbitMQ, 消息队列, 持久化, 消息确认

Abstract: With the gradual expansion of enterprise scale and the rapid development of networks and enterprise information technology, large and medium-sized enterprises have successively established many business systems, and higher demands have been placed on the security of data synchronization between systems. For this demand, this paper designs and implements the data sharing module between unreliable communication links based on open source RabbitMQ message queue middleware. The problem of two-way data synchronization between two data centers within an enterprise is solved. Through RabbitMQs message confirmation mechanism and persistence mechanism, the data can be delivered safely without loss. The experimental results show that the function of this data sharing module is stable, which can improve the data transmission efficiency and ensure its security.

Key words: data synchronization, RabbitMQ, message queue, persistence, message confirmation

中图分类号: