Index

System Design

179 boards, 46 lessons, 631 review questions and 103 narrated videos, in 24 chapters. Read them in order. Each chapter builds on the one before.

Your progress0 of 46 read

Start here → The chai stall that got famous (load balancing)

Contents

Part one · Foundations

  1. 1The stall gets famous5 lessons
  2. 2When the stalls must agree5 lessons
  3. 3Holding up under load4 lessons
  4. 4The parts, properly9 lessons

Part two · Build

  1. 5The interview, assembled2 lessons

    The six steps every design question runs through, then four whole systems designed end to end in one night.

    after Holding up under load, The parts, properly

  2. 6The stall, built3 lessons

    The spine as running Go: a gate, a slate and a rail, then copies and shards with a stale read on purpose, then a load generator that finds the knee.

    after The interview, assembled

Part three · Depth

  1. 7Amazon1 lesson

    From a memo that became a one-click cart, through blast radius and eleven-nines reliability, to the typo that took down half the internet.

    after The stall gets famous▶ Watch the videoAmazon case study →

  2. 8Claude1 lesson

    The request path through an orchestrator and context window, RAG and the agent loop, the inference fleet, and the training and eval pipeline behind it.

    after The stall gets famousClaude case study →

  3. 9Cloudflare1 lesson

    One IP serving 330 cities, isolates instead of containers, an unpatchable Spectre, and 434 years of TLS handshakes saved by session resumption.

    after The stall gets famousCloudflare case study →

  4. 10Discord1 lesson

    The gateway that holds millions of sockets open, the message-store rewrite, voice and video, and fan-out at the limit of a single channel.

    after The stall gets famous▶ Watch the videoDiscord case study →

  5. 11Dropbox1 lesson

    Why sync is not copying - three trees and a merge base, the rewrite that worked, a fuzzer that found what code review didn't, and disks that lie.

    after The stall gets famousDropbox case study →

  6. 12Figma1 lesson

    A browser inside a browser, a way of merging two people's edits that is neither of the two textbook answers (OT, CRDT), one process per document, and undo when someone else already moved it.

    after The stall gets famous▶ Watch the videoFigma case study →

  7. 13Google Maps1 lesson

    The road graph and routing algorithm underneath the blue line, traffic-aware alternates, tile serving, and the geospatial index that finds nearby places.

    after The stall gets famousGoogle Maps case study →

  8. 15Instagram1 lesson

    How three engineers shipped it, then sharding and IDs, the celebrity problem in a feed, and Python holding at three billion requests a day.

    after The stall gets famousInstagram case study →

  9. 16Netflix1 lesson
  10. 17OpenRouter1 lesson

    One API in front of every model - routing, wiretapping traffic it has to bill for, counting tokens it doesn't own, and the one thing a reseller can't copy.

    after The stall gets famousOpenRouter case study →

  11. 18Slack1 lesson
  12. 19Stripe1 lesson

    Idempotency as the API's first principle, a state machine for moving money, a double-entry ledger, and the card-network rails underneath all of it.

    after The stall gets famous▶ Watch the videoStripe case study →

  13. 20Twitter (X)1 lesson

    Timeline fan-out on write versus read, posting and reading at the same instant for millions, and the social graph that decides who sees what.

    after The stall gets famousTwitter (X) case study →

  14. 21Uber1 lesson

    A location firehose feeding a geo-index, dispatch and matching, and surge pricing as a live market clearing supply against demand.

    after The stall gets famous▶ Watch the videoUber case study →

  15. 22WhatsApp1 lesson

    The persistent connection every phone holds open, a message's trip from Mumbai to Virginia, and end-to-end encryption that keeps the server from reading it.

    after The stall gets famous▶ Watch the videoWhatsApp case study →

  16. 23YouTube1 lesson

    A nine-engineer beginning, Vitess sharding MySQL underneath it, the transcode factory behind a billion hours watched a day, and Content ID fingerprinting at that scale.

    after The stall gets famous▶ Watch the videoYouTube case study →

  17. 24Zomato1 lesson

    Search and discovery, the order lifecycle, assignment and batching of delivery partners, live tracking, and a three-sided payment system underneath it.

    after The stall gets famousZomato case study →

Borrowed from other tracks (13)

You don't need to take those tracks. These are the only lessons this track uses from them, and each is linked where it is needed.