Watch a system grow from one server to millions.
Then explain it in any interview. Every lesson is a moving picture of a real system: you watch it run, see it break, and see what fixes it.
For juniors, people who build with AI, and anyone curious. No background needed.
- Failing19%worse than the step before
- Slow replies (p95)265 msworse than the step before
How it works
Watch it run
Each page adds one part to the picture. Requests travel along the connections between parts, and busy parts change colour.
See it break, then fixed
Turn up the traffic or break a part. We measure what goes wrong, and what the fix changes.
Explain it
Each idea comes with the why, the alternative and the trade-off: what an interviewer asks you to explain.
The route
34 lessons in order, about 10 minutes each, and 5 challenges where you fix a design yourself.
One shop grows from a single machine to many regions. Each leg teaches the ideas a stage needs, then the stage itself, then a challenge where you fix it in the lab.
Stage 0 · The prototype
- Lesson 1: Who is sending the traffic?Who is really sending the requests: one person, a crowd, or a script.
- Lesson 2: When one server is not enoughWhat happens when one server cannot keep up, and the first fix.
- Lesson 3: Single points of failureFind the one part whose crash takes everything down.
- Lesson 4: Stage 0: the prototype on one machineThe shop on one machine: what a single crash costs, and the dangers you cannot see.Journey stage
- Keep the shop open when the app’s machine stopsOne app machine stops. Keep orders flowing for under $350 a month.Practice
Stage 1 · Launch
A branch: Security in depth. 7 more lessons off the route, best taken after lesson 26, for when you want to go deeper. Its last lesson brings you back to the route. Start the branch
The whole shop, part by part
Every part is a lesson on the route
This is the design the route builds. Each part was added to fix something that broke; the lesson beside it shows what broke, and why this part fixes it.
- Shoppers on phones, Shoppers on computers, Price botsWho is sending the traffic?
- Load balancerWhen one server is not enough
- Orders APISingle points of failure
- RedisCache-aside
- PostgreSQL, Replica 1, Replica 2Read replicas
- Rate limiterRate limiting
Later stages add more to the same shop: CDN edge caching (7), Do the slow part later (9), Retry with backoff (10), Database sharding (16), Backups and disaster recovery (20), Stage 6: many zones (21) and Stage 7: many regions (22).
Who it is for
Preparing for interviews
Learn the building blocks interviewers expect, with real numbers you can quote, and the reasons behind each choice.
Building with AI
Your app works on your laptop. See what changes when a thousand people use it at once, and what to add first.
Just curious
How does a shop stay up on its busiest day? Watch it happen, one part at a time.
What is inside
241 lessons ready to read
- From prototype to millions8 lessons
- System design fundamentals6 lessons
- Case studies39 lessons
- Networking & traffic14 lessons
- Caching & performance11 lessons
- Databases & consistency26 lessons
- Messaging & reliability18 lessons
- Infrastructure & delivery15 lessons
- Security & privacy35 lessons
- Data engineering21 lessons
- AI & data systems45 lessons