System design for beginners: start here
A system design interview hands you an open problem, such as "design a URL shortener", and about an hour. You ask questions, decide what to build, draw it, and explain your choices while the interviewer pushes on the weak spots.
There is no single right answer. You are judged on how you reason: whether the design works, whether you know what it costs, and whether you can say where it breaks.
That sounds vague, but the skills behind it are concrete, and you can learn them in order.
The ten words to learn first
You will use these in every answer. Know what each does and when you would add it.
- API: the requests a client can make and what each returns. Design it before the boxes.
- Load balancer: spreads requests across identical servers, and stops sending to one that fails its health check.
- Database: relational (tables, joins, transactions) or key-value (look up by key, spread across many machines easily). Knowing which one a problem needs, and why, is most of the choice.
- Index: a structure that finds rows without scanning the table. Every query you rely on needs one.
- Cache: a fast copy of data that is read often, usually in memory. It makes reads cheaper and makes stale data possible.
- Replication: copies of the same data on several machines, for reads and for surviving a failure.
- Partitioning (sharding): splitting data across machines by a key, so no one machine holds or serves everything.
- Queue: a buffer between a producer and a worker, so slow work happens later and a burst does not knock anything over.
- Object storage: cheap, durable storage for files and large blobs, read and written whole by key.
- CDN: servers near your users that keep copies of content, so far-away users do not wait on your origin.
The few numbers worth memorising
- 86,400 seconds in a day. So 1 million requests a day is about 12 a second, and 1 billion a day is about 11,600 a second.
- Peak is a few times the average. If nobody gives you a figure, assume around 3x and say that it is an assumption.
- Sizes multiply simply. 1 KB times 1 million is 1 GB; 1 KB times 1 billion is 1 TB.
- Distance costs time. Memory is far faster than disk, a round trip inside one data centre is well under a millisecond, and a round trip across a continent is tens of milliseconds. That is why caches and CDNs exist.
You do not need precise figures. You need the order of magnitude, and the habit of saying what a number means for the design.
A shape for every answer
- Requirements. What must it do, for whom, at what scale? Which property matters most: speed, correctness, or staying up?
- Estimate. Requests a second, data stored, peak load. Rough is fine.
- API and data model. The few calls and the few tables or keys.
- Diagram. Clients, services, stores, and the path of one request through them.
- Deep dives. One or two of the hardest parts, in detail.
- Wrap up. Where it breaks first, and what you would change next.
There is a longer version in how to run the hour.
Your first three designs
Read these in order. All three are free to read in full on System Design AI.
- [Design a URL Shortener](/designs/url-shortener). The classic first problem: unique codes, a read-heavy path, a cache in front of a database. Read the junior board first.
- [Cache-Aside (Lazy Loading)](/designs/block-cache-aside). One building block on one diagram: read the cache, fall back to the database on a miss, fill the cache. You will reuse it everywhere.
- [Design a News Feed](/designs/news-feed). Your first fan-out problem: do you build each user's feed when someone posts, or when they open the app?
Read actively, not passively
Before you open a design, spend fifteen minutes sketching your own answer on paper. Then read, and write down every difference.
Reading first feels faster, but it teaches you to recognise answers, not to produce them, and the interview asks you to produce one.
Mistakes almost every beginner makes
- Drawing before asking. Five minutes on requirements saves the other fifty-five.
- Naming tools without reasons. "Kafka" is not an answer; "a durable log, so consumers can replay after a crash" is.
- Designing for the whole planet. If the problem says 10,000 users, a single database may be the right answer. Say so.
- Going quiet. The interviewer can only grade what you say out loud.
- Never saying what breaks. Every design has a limit. Naming yours, with a number, is a strength.
Where to go next
When the first three feel comfortable, follow the 30-day plan, or work through 25 classic problems in order.
Reading the free designs needs no account. If you want to practise on a canvas and have your attempt reviewed, that comes with Pro ($10/month).
Questions people ask
Do I need years of backend experience before learning system design?
No. Experience helps, but the core ideas are learnable on their own, and entry-level interviews mostly look for a design that works end to end and honest reasoning about it. Start with the ten words and the first three designs.
Should I study distributed systems theory before practising problems?
Not first. Learn the basic building blocks through problems, then go deeper on theory such as consensus or consistency models when a problem makes you need it. Theory sticks better once you have felt the problem it solves.
Is sketching on paper good enough for practice?
Yes, for learning. If your interview is remote it will probably use a shared drawing tool, so ask your recruiter which one and do a few practice runs in it before the day.