System design for beginners
No prior knowledge assumed. Read these 6 short lessons in order, then the concepts stage by stage. The core topics also have a View more deep dive and a worked example.
First, the ground floor
6 short lessons. After these, the vocabulary on the topic pages should be familiar.
What is system design?
Deciding how the parts of a product fit together, before anyone writes code.
System design for freshers and new grads: is it asked, and what to learn first
An honest answer on whether new grads get system design rounds, and a 30-day plan if you do.
How a system design interview works
Forty-five minutes, a vague question, and someone scoring how you think.
The five stages — the spine of every answer
One order to work in, so you never freeze in front of a blank whiteboard.
Where's the slack?
How much time the system has before a person notices. This one question shapes most designs.
The words you need, in plain English
A dozen or so words that unlock every other page. Nothing left undefined.
Interview guides
Standalone answers to the questions people ask before a system design round.
System design interview framework: a 45-minute answer template
A system design interview framework: what to say and write in each of five stages, a minute-by-minute 45-minute budget, and how to catch up when behind.
How to prepare for a system design interview: a 1-week and 4-week plan
How to prepare for a system design interview: a day-by-day 1-week plan and a 4-week plan covering concepts, practice problems, timed mocks and follow-ups.
System design vs LLD vs HLD: what each one means
HLD vs LLD compared in a table, with a ticket-booking example, what each interview round expects, and how both fit under system design.
Then, the concepts in order
The 49 concept pages fall into 7 stages, each building on the last. Start each stage with the topic named here, then read the rest of that stage before moving on. You can jump around, but this order assumes the least.
- 01
Measuring things
4 topicsBefore you can design anything you need to be able to say how fast, how many and how big. Start with Performance vs scalability.
- 02
How a request reaches you
6 topicsFollow one request from a browser to your code and back, layer by layer. Start with DNS — how a name becomes a server.
- 03
Storing data
10 topicsWhere the truth lives, how to find it quickly, and how to talk to it without falling over. Start with SQL vs NoSQL — and why, not just names.
- 04
More than one machine
8 topicsThe moment data lives in two places, a new set of problems starts. This is the senior material. Start with Availability, failover and the nines.
- 05
Doing work later
7 topicsQueues, retries, and making it safe for the same thing to happen twice. Start with Message queues and backpressure.
- 06
Common patterns
9 topicsSpecific reusable answers. Most of these appear as the follow-up rather than the first question. Start with CDNs.
- 07
In production
5 topicsThe part candidates often skip, and the part senior interviews dig into. A design you cannot deploy, watch, secure, restore or pay for is not finished. Start with Authentication, authorization and secrets.
Every concept by tier, with a one-line summary of each and your progress marked.