Software System Design
Interview-grade system design, organized as decisions rather than encyclopedia entries. Every chapter ends with a check — answer it before moving on.
Design judgment, not exam facts. Numbers are rules of thumb, not laws.
- 011. Requirements before boxes
- 022. The request path
- 033. Stateless services and sessions
- 044. Caching
- 055. Choosing a data store
- 066. Replication and consistency
- 077. Sharding and partitioning
- 088. Queues and backpressure
- 099. Idempotency
- 1010. APIs and rate limiting
- 1111. Failure domains and observability
- 1212. Case studies
- 1313. Google Search — the canonical crawl/index/serve pipeline
- 1414. Gmail — planetary mail with search built in
- 1515. Spanner and F1 — globally consistent SQL
- 1616. Amazon Dynamo → DynamoDB — the availability-first key-value store
- 1717. Meta TAO — caching a social graph
- 1818. Twitter/X timeline — the fan-out decision
- 1919. Netflix — chaos, caching and active-active streaming
- 2020. Uber — geospatial sharding and workflow durability
- 2121. Slack and Shopify — multi-tenant sharding
- 2222. Discord — message storage at chat scale
- 2323. WhatsApp — connection-heavy messaging
- 2424. Stripe — idempotency and the ledger
- 2525. Anduril Lattice — edge-first software
- 2626. Cloudflare — anycast at the edge
- 2727. Pattern → system index