lhx2008
V2EX  ›  问与答

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

  •  
  •   lhx2008 · Mar 6, 2020 · 3122 views
    This topic created in 2440 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   ·   4732 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 03:19 · PVG 11:19 · LAX 19:19 · JFK 22:19
    ♥ Do have faith in what you're doing.