Distributed Transactions (2PC & Saga) — Roadmap Step & Resources
Coordinating transactions across multiple services or databases
- Level: advanced
- Estimated time: 1 days
- Roadmap: System Design
Before this step
Interview questions
- Why is two-phase commit rarely used in large-scale distributed systems today?
Study resources
- Distributed Transactions (Article) — MongoDB's official documentation on multi-document transactions in a distributed setting.
- Saga Pattern vs Two-Phase Commit (Video) — A practical comparison of coordinating transactions across services with 2PC vs the Saga pattern.
Part of
- Databases & Storage at Scale — section
- System Design roadmap — the full learning path