PROBLEM

Why distributed Two-Phase Commit (2PC) stalls microservices

Event-Driven Systems · Step 1 of 10

1/10
2PC PARTICIPANTS (LOCKED) · Blocked on CoordinatorLOCK 1LOCK 2LOCK 3Checkout2PCCoordinator76%Blocking SPOFOrders DB72%Row LockedPayments DB74%Row LockedInventory DB70%Row Locked
command / workflow step
local ACID TX + outbox
confirmed / compensated
domain event stream
step failure / rollback
LOCK DURATION:420 ms
ON COORD CRASH:All Blocked
THROUGHPUT:Low
AVAILABILITY:Fragile