Featured note
Thera Architecture · Backend · Reliability
Designing multi-store checkout as a saga
How Thera turns one purchase across several independent stores into per-store orders — a preflight, idempotency at two levels, compensation and careful locking instead of one giant database transaction.
In this note
- 01 The problem
- 02 Constraints
- 03 Why not one transaction?
- 04 Preflight
- 05 Idempotency
- 06 Compensation
- 07 Concurrency
- 08 Tradeoffs
- 09 Lessons
- 10 What I’d change next