Data Consistency Method Based on Message Queuing
CSTR:
Author:
Affiliation:

Clc Number:

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    Abstract:

    For the problem of data consistency in the construction of distributed micro-services, this paper summarizes the principles of data consistency in the process of distributed computing, analyzes the importance of idempotent design for realizing micro-services, and proposes a method of using transactional message queue to solve the problem of data consistency in typical application scenarios of distributed micro-services, and gives RocketMQ implementation method and principle. Experiments show that transactional messages can better solve the problem of distributed data consistency. Finally, the advantages and disadvantages of the above methods are analyzed. The data consistency processing method proposed in this study can be used for reference in the construction of distributed micro-services.

    Reference
    Related
    Cited by
Get Citation

张杰,满曙光,刘凯,周立军.采用消息队列实现数据一致性方法.计算机系统应用,2019,28(9):185-189

Copy
Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:March 04,2019
  • Revised:March 29,2019
  • Adopted:
  • Online: September 09,2019
  • Published: September 15,2019
Article QR Code
You are the firstVisitors
Copyright: Institute of Software, Chinese Academy of Sciences Beijing ICP No. 05046678-3
Address:4# South Fourth Street, Zhongguancun,Haidian, Beijing,Postal Code:100190
Phone:010-62661041 Fax: Email:csa (a) iscas.ac.cn
Technical Support:Beijing Qinyun Technology Development Co., Ltd.

Beijing Public Network Security No. 11040202500063