Case studies
Each case study starts with the simplest thing that works and follows it as users arrive and things break. Facts a company has published are marked documented; our own reasoning is marked educational.
Industry
Pattern
Complexity
Showing 8 of 8 case studies
Banking & fintech · complexity 4/5
How a bank or fintech records money so it is never created, lost or spent twice — from one Postgres database to a partitioned ledger with strict disaster recovery
Every rupee must come from somewhere and go somewhere. See how a ledger stays balanced through crashes, retries, races, partners that disagree and the loss of a data center.
Retail · complexity 4/5
How an online store sells every unit once and charges every customer once — from one monolith on one Postgres, through flash sales, to an order saga across services
Two shoppers want the last pair of sneakers, and one card must be charged exactly once. See how locks, reservations, waiting rooms, idempotency keys and a saga keep a store honest at flash-sale speed.