• 请不要在回答技术问题时复制粘贴 AI 生成的内容
wsw
V2EX  ›  程序员

RabbitMQ 分布式事务 最终一致性

  •  
  •   wsw · Oct 30, 2020 · 3267 views
    This topic created in 2199 days ago, the information mentioned may be changed or developed.

    有没有大佬说一下,在项目中怎么用 RabbitMQ 应对分布式事务,具体需要怎么做,原理倒是看来一些文章,但还不是很清晰,就是在代码层面大概是怎么做的,求教,谢谢!

    5 replies  •  2020-10-30 23:04:29 +08:00
    dzdh
    dzdh
    Oct 30, 2020
    1
    补偿
    重试
    配合分布式锁
    DoctorCat
    DoctorCat
    Oct 30, 2020
    3
    参考 TCC 、Sage
    DoctorCat
    DoctorCat
    Oct 30, 2020
    4
    都有相关的开源实现
    wsw
    wsw
    OP
    Oct 30, 2020
    5
    @dzdh #1 好的

    @quiet1991 #2 ok,周末试试
    @DoctorCat #3 ok
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   673 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:24 · PVG 05:24 · LAX 13:24 · JFK 16:24
    ♥ Do have faith in what you're doing.