lhx2008
V2EX  ›  问与答

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

  •  
  •   lhx2008 · Mar 6, 2020 · 3113 views
    This topic created in 2435 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
    ruandao
    Mar 6, 2020❤️1
    1
    2pc prepare 要锁资源
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1563 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 23:37 · PVG 07:37 · LAX 15:37 · JFK 18:37
    ♥ Do have faith in what you're doing.