Distributed Transaction: Two-Phase Commit Simulation
Coordinate Order, Payment and Inventory with 2PC; crash participants or the coordinator at each phase. Interactive simulation, about 8 minutes.
Coordinate Order, Payment and Inventory with 2PC; crash participants or the coordinator at each phase.
Simulation 11 · Distributed systems · about 8 minutes
What you can do
- Start a transaction
- Make a participant vote NO
- Crash the coordinator
- Add latency
Related
- Distributed Transactions: 2PC, Sagas & the Outbox — Level 9 · Microservices
- Saga: Compensating a Failed Checkout — Simulation 12
- The Trouble With Distributed Systems — Level 8 · Data Systems
- Transactions Lab — Lab