Lesson 10 of 11
Distributed transactions
Run two-phase commit, see where it blocks, and know when a saga or an outbox is the better tool.
In this lesson
- Atomic commit
- Prepare and decide
- Participant states
- A coordinator crash
- Recover a commit
- PREPARE TRANSACTION
- When to use 2PC
- What stays true
- Operational costs
- Common mistakes
- Related topics and practice
Ultra Premium
Unlock this lesson
Ultra Premium opens the 11 premium lessons in Data, along with the rest of WhiteBox's premium lessons and problems.
Not ready yet? Read the free lesson: Backpressure