Classic designOfficial
Design a Double-Entry Ledger
Record every money movement as balanced, append-only entries, exactly once, with holds, payouts and reconciliation: one-hour boards for junior, senior and staff, with the theory behind them.
The design library
Building blocks, complete architectures, and variations worth comparing. Search by the problem you want to solve or a component you want to understand.
Classic designOfficial
Record every money movement as balanced, append-only entries, exactly once, with holds, payouts and reconciliation: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
A relational database like PostgreSQL: WAL and MVCC on one server, quorum replication and failover, then a sharded fleet: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
Serve a product page a million times a second: a cheap query, replicas, Redis and the edge, with hot keys, stampedes and invalidation handled: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
Sell 10,000 units to a million people at noon with a lottery waiting room, a Redis gate before an Aurora ledger and holds that expire: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
Show what 10,000 small warehouses can deliver within the hour in under 100 ms, and take multi-item orders without ever selling a unit twice: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
Take bids on 10 million live auctions with one consistent highest bid, lose none, push the price to every watcher and end each auction fairly: one-hour boards for junior, senior and staff, with the theory behind them.
Classic designOfficial
Hold seats with one conditional write, pay by authorize and capture, and put ten million fans in a fair waiting room without selling a seat twice: one-hour boards for junior, senior and staff, with the theory behind them.