Reproduce and repair a bounded write-skew history.
Data & storage · Intermediate · 12 min
Transactions & Isolation
Follow a multi-record decision and see why atomic writes alone may not protect it.
1Buyer A2Transaction A3Seat records
- 1Buyer A → Transaction ARequestRead the last available seat
- 2Transaction A → Buyer AReplyReply: Transaction A
- 3Transaction A → Seat recordsRequestRead the last available seat
- 4Seat records → Transaction AReplyReply: Seat records
Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.
3 components visible · Buyer A + Transaction A + Seat records highlighted
Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.
You’ll learn
- Atomicity and isolation solve different problems.
- A stable read snapshot is not automatically serial execution.
- Protect the invariant’s whole decision boundary.
PUT THE IDEA TO WORK

