System Design: from one server to millions of users

Learn how real systems scale, one animated step at a time: watch requests move, servers fail and data spread out, with the numbers that explain why.

40 of 40 lessons ready · 9 chapters · 401 minutes so far · free

UsersLoad balancerS1S2S3Database

Chapters

  1. 01 Foundations

    0/3
  2. 02 Scaling

    0/5
  3. 03 Data & Storage

    0/11
  4. 04 Communication

    0/4
  5. 05 Reliability

    0/4
  6. 06 Architecture

    0/4
  7. 07 Security

    0/3
  8. 08 Shipping

    0/2
  9. 09 Whole Systems

    0/4

How it works

  1. Step through

    Every lesson is a diagram that changes one step at a time, with the reason beside it.

  2. Practice

    Short quizzes for each lesson, with the step that explains each answer.

  3. Design Lab

    Build your own systems on the same canvas and test them against challenges.

  4. Cheatsheets

    One printable page per lesson: the key ideas, numbers, watch-outs and terms.

Questions

What is system design?

System design is planning how the parts of a software system (servers, databases, caches, queues and the network between them) work together so that it stays fast, correct and available as the number of users grows.

How do I prepare for a system design interview?

Learn the building blocks first (load balancing, caching, databases, sharding, replication and queues), practise napkin math for traffic and storage, then work through whole designs such as a URL shortener, a news feed and a chat system. This course follows that order, with a quiz for each lesson.

Is this system design course free?

Yes. All 40 lessons, the quizzes, the cheatsheets and the Design Lab are free, with no account and nothing to pay. Progress is kept in your own browser.

Do I need to know how to code?

No. The lessons explain ideas with animated diagrams and numbers, not code. Knowing a little about how the web works helps, and the first chapter covers it.

How long does the course take?

About seven hours for all 40 lessons; most lessons take 8 to 14 minutes. Each one ends with a quiz you can take in a few minutes.