lhx2008
V2EX  ›  问与答

分布式事务, 2PC 和 TCC 有什么区别?

  •  
  •   lhx2008 · Mar 6, 2020 · 2941 views
    This topic created in 2361 days ago, the information mentioned may be changed or developed.
    除了几个过程的名字不同:
    2PC: prepare/commit/rollback
    TCC: try/commit/cancel
    1 replies    2020-03-06 15:59:53 +08:00
    ruandao
        1
    ruandao  
       Mar 6, 2020   ❤️ 1
    2pc prepare 要锁资源
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5566 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 48ms · UTC 07:16 · PVG 15:16 · LAX 00:16 · JFK 03:16
    ♥ Do have faith in what you're doing.