Subject
System design (HLD)
High-level design: design systems that serve millions of users, from requirements and numbers to building blocks and full case studies.
Start at Level 0Interview questions
Foundations
How design works, the numbers behind it, and the three goals of every system.
Level 0
How system design works
The words, the goals and the habit of doing the numbers first. Every later level uses this one.
7 modules · about 1 week
Building blocks
The web, databases, caches, copies, queues and the habits that keep a system running.
Level 1
Web building blocks
How one request travels and the parts it passes through: APIs, load balancers, CDNs, sessions, gateways and rate limits.
7 modules · about 2 weeks
Level 2
Databases and storage
How data is modelled, stored and found. Choosing a database by access pattern.
7 modules · about 3 weeks
Level 3
Caching and speed
Making reads fast and cheap, and the bugs caches bring.
6 modules · about 1 week
Level 4
Scaling data: replication and partitioning
Copies for safety and speed, splits for size.
8 modules · about 3 weeks
Level 5
Transactions, consistency and consensus
What the database promises, and what breaks when machines and networks fail.
9 modules · about 3 weeks
Level 6
Messaging, streams and pipelines
Moving data between systems without tying them together.
7 modules · about 2 weeks
Level 7
Architecture styles and services
Shapes a system can take, and how to choose.
9 modules · about 2 weeks
Level 8
Reliability and resilience
Designing so that one failure stays small.
8 modules · about 2 weeks
Level 9
Operations, observability and security
Running the system after launch.
8 modules · about 2 weeks
Case studies
Well-known systems designed step by step, the way top companies ask for them.
Level 10
Case studies I: core components
Six small systems that larger designs reuse: a rate limiter, an ID generator, a key-value store, a URL shortener, a web crawler and a notification system.
6 modules · about 3 weeks
Level 11
Case studies II: products at scale
Seven products that combine the core components: a news feed, chat, search autocomplete, video streaming, file sync, nearby places and booking.
7 modules · about 3 weeks
Level 12
Case studies III: infrastructure and money
Six systems that other systems run on: a message queue, metrics and alerting, object storage, a payment system, ad click aggregation and a real-time leaderboard.
6 modules · about 3 weeks
Capstone
One full design from the first question to the last, and timed practice.
Level 13
Practice: more designs and mock interviews
Ten more designs (nearby friends, email, maps, ride-hailing, a CDN, a lock service, a job scheduler, a collaborative editor, a digital wallet and a stock exchange), a bank of thirty practice prompts and a plan for mock interviews.
12 modules · about 4 weeks