PrepCity

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
900 requests a second. A year of orders no longer fits in the database’s memory. Every read waits on the disk, so shoppers see errors and slow pages. From the lesson Stage 3: production. The numbers are measured as the system runs, not typed in.

How it works

  1. Watch it run

    Each page adds one part to the picture. Requests travel along the connections between parts, and busy parts change colour.

  2. See it break, then fixed

    Turn up the traffic or break a part. We measure what goes wrong, and what the fix changes.

  3. 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.

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.

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

Every number on these pages is measured as the system runs. Where a page shows an example message instead, it says so.