Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Journeys / System Design

chapter 1 of 32

The stall gets famous

Goal: Grow one stall into a system that survives the crowd

0 of 6 here

The stall gets famous

testbeatenOne wala, many kettlesThe slate next to the stoveLoad balancing: the chai stall that got famousCaching: the slate next to the stove

When the stalls must agree

testbeatenThe cut phone lineTwo kitchens, two citiesCAP: the cut phone lineRaft consensus: who gets to write

Holding up under load

testbeatenOne wala, many kettlesThe bouncer at the doorLoad balancing: the chai stall that got famousRate limiting: the bouncer at the door

The parts, properly

testbeatenThe right book for the jobThe last vadaChoosing a datastore: the workload picks the bookCaching properly: write strategies, stampedes, and invalidation

Deeper than the interview

testbeatenThe cut phone lineTwo kitchens, two citiesCAP: the cut phone lineReplication: the copy clerks

The interview, assembled

testbeaten

The stall, built

testbeatenOne wala, many kettlesThe order slip railLoad balancing: the chai stall that got famousQueues: the order slip rail and the cliff

Low-level design: classes, properly

testbeaten

The low-level design round

testbeaten

Six more low-level rounds

testbeaten

Five more whole designs

testbeaten

The questions that keep coming up

testbeaten

Amazon

testbeatenAmazon, the whole system on one canvas

Claude

testbeatenClaude remembers nothing: how a chat feels like memory

Cloudflare

testbeatenCloudflare: why is every server the same server?

Cursor

testbeatenCursor: how a new hire's four hours became twenty one seconds

Discord

testbeatenDiscord: what stays still when everything inside is replaced?

Dropbox

testbeatenDropbox: how do two honest copies of a folder not wreck each other?

Figma

testbeatenFigma, the whole system on one canvas

Google Maps

testbeatenGoogle Maps: how a route across a country comes back in a millisecond

Google Search

testbeatenGoogle Search, the whole system on one canvas

Instagram

testbeatenInstagram: how one plain program served billions

Netflix

testbeatenNetflix, the whole system: why pressing play is almost instant

OpenRouter

testbeatenWhat does OpenRouter own, when it owns no models?

Slack

testbeatenSlack: what you wait for, and what is allowed to wait

Stripe

testbeatenStripe: why the book is the product

Twitter (X)

testbeatenTwitter: when is your feed built?

Uber

testbeatenUber: exactly right in three places, a few seconds behind everywhere else

WhatsApp

testbeatenWhatsApp: was there a correct way to build it?

YouTube

testbeatenYouTube, the whole system on one canvas

Zomato

testbeatenZomato: why a free rider is kept waiting

Designs on a map

The famous stallThe slateFree with an accountThe order slip railWith a planThe copy helpersWith a planSplitting the account bookWith a planWho is open, and who stocks itWith a planThe cut phone lineWith a planWho holds the penWith a planThe two account books must agreeWith a planCharged twiceWith a planThe account book everyone readsWith a planOne wala, many kettlesWith a planThe man on the doorWith a planKitchen fullWith a planWhen the neighbour is slowWith a planThirty stalls, one orderWith a planThe machine that fills upWith a planThe right bookWith a planThe last vadaWith a planThe slate, properlyWith a planBranches near youWith a planCounting without namesWith a planThe contract at the counterWith a planThe customer who won't hang upWith a planA lock on every doorWith a planTwo kitchens, two citiesWith a planSize for the zone you loseWith a planThe stall with no stoveWith a planCompute on borrowed disksWith a planWhat the database promisedWith a planThe write that happened twiceWith a planChanging the engine in flightWith a planOne kitchen or manyWith a planOne request, forty servicesWith a planThe log is the truthWith a planEveryone edits offlineWith a planThe test that passedWith a planNumbers to carry in your headWith a planDesign the whole thingWith a planFour systems in one nightWith a planThe stall, built: the gateWith a planThe stall, built: copies and cutsWith a planThe stall, built: rush hourWith a planCircle the nounsWith a planGlass at the counterWith a planA stack with a back doorWith a planOne cash counter, five breaksWith a planThe delivery fee chainWith a planWho hears the book come backWith a planThe attendant's six questionsWith a planWhich floor nextWith a planTwo clicks, one seatWith a planThe notebook on the fridgeWith a planThe desk and the file roomWith a planThe box that says noWith a planThe bouncer's saucersWith a planThe officer's call-outsWith a planPieces that know their movesWith a planA game you can replayWith a planThe polite census takerWith a planEvery click is a coinWith a planThe ten o'clock rushWith a planRun this at nineWith a planIs it up?With a planHow much failure can you affordWith a planA cloakroom for web linksWith a planA tap on 20 million shouldersWith a planThe ten songs asked for mostWith a planA box for every shopWith a planThe backup nobody testedWith a planDelete means deleteWith a planFlats that must not floodWith a planA parcel warehouse for a trillion filesWith a planA label nobody else hasWith a planA print shop for a billion photosWith a planThe cart that cannot say noWith a planAmazon as a 45 minute roundWith a planThe card is the bottleneckWith a planDesign Claude in 3 minutesWith a planOne address, 330 citiesWith a planDesign Cloudflare in 3 minutesWith a planFour hours to 21 secondsWith a planDesign Cursor in 3 minutesWith a planTwo systems in one chat appWith a planDesign Discord in 45 minutesWith a planSync is not copyingWith a planDesign Dropbox in 3 minutesWith a planTwo designers, one rectangleWith a planDesign Figma in 3 minutesWith a planWork it out before they askWith a planGoogle Maps as a 45 minute roundWith a planNever search while they waitWith a planGoogle Search as a 45 minute roundWith a planThree engineers, 14 million usersWith a planDesign Instagram in 45 minutesWith a planThe shortage is bytes going outWith a planDesign Netflix in 45 minutesWith a planThe desk in the middleWith a planDesign OpenRouter in 3 minutesWith a planThe company-sized spaceWith a planDesign Slack in 45 minutesWith a planThe click that might be two chargesWith a planStripe as a 45 minute roundWith a planThe night the whale appearedWith a planDesign Twitter in 45 minutesWith a planWhich car is nearest?With a planUber as a 45 minute roundWith a planThe courier who reads nothingWith a planWhatsApp in 45 minutesWith a plan500 hours in, a billion outWith a planDesign YouTube in 45 minutesWith a planThe kitchen's clockWith a planFood delivery as a 45 minute roundWith a planDesign Strava, in the interviewWith a planDesign Nearby Friends, in the interview

System Design

chapter 1The stall gets famous

6 stops

chapter 2When the stalls must agree

5 stops

chapter 3Holding up under load

5 stops

chapter 4The parts, properly

9 stops

chapter 5Deeper than the interview

12 stops

chapter 6The interview, assembled

3 stops

chapter 7The stall, built

3 stops

chapter 8Low-level design: classes, properly

6 stops

chapter 9The low-level design round

4 stops

chapter 10Six more low-level rounds

6 stops

chapter 11Five more whole designs

6 stops

chapter 12The questions that keep coming up

10 stops

chapter 13Amazon

2 stops

chapter 14Claude

2 stops

chapter 15Cloudflare

2 stops

chapter 16Cursor

2 stops

chapter 17Discord

2 stops

chapter 18Dropbox

2 stops

chapter 19Figma

2 stops

chapter 20Google Maps

2 stops

chapter 21Google Search

2 stops

chapter 22Instagram

2 stops

chapter 23Netflix

2 stops

chapter 24OpenRouter

2 stops

chapter 25Slack

2 stops

chapter 26Stripe

2 stops

chapter 27Twitter (X)

2 stops

chapter 28Uber

2 stops

chapter 29WhatsApp

2 stops

chapter 30YouTube

2 stops

chapter 31Zomato

2 stops

chapter 32Designs on a map

2 stops