采用消息队列实现数据一致性方法
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

国家自然科学基金(61790550,61790554)


Data Consistency Method Based on Message Queuing
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    针对构建分布式微服务中数据一致性问题,本文总结了在处理分布式计算中数据一致性问题遵循原则,分析实现微服务的幂等性设计重要性,提出了一种采用事务型消息队列解决分布式微服务典型应用场景中数据一致性问题的方法,并给出RocketMQ实现方式及原理,实验表明事务型消息可以较好解决分布式数据一致性问题,最后分析了上述方法的优缺点,本文提出的在分布式微服务构建中数据一致性处理方法应用中具有一定的借鉴作用.

    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.

    参考文献
    相似文献
    引证文献
引用本文

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

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2019-03-04
  • 最后修改日期:2019-03-29
  • 录用日期:
  • 在线发布日期: 2019-09-09
  • 出版日期: 2019-09-15
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号