The method on one page
The order matters. Each step feeds the next: scope decides what to size, size decides which architecture is even reasonable, the sketch gives you something concrete to stress, and the summary shows that you can see the whole picture.
Step 1 — Scope: shrink the problem
"Design Instagram" is a product with thousands of engineers behind it. Your job in the first five minutes is to cut it down to something you can design well in forty.
The four kinds of questions
| Ask about | Example questions | Why it matters |
|---|---|---|
| Features | Which 3–4 features are core? Do we need search? DMs? | Each feature can add a whole subsystem |
| Users & scale | How many daily users? Global or one country? Growth? | Decides single box vs distributed |
| Behaviour | Read-heavy or write-heavy? Real-time? How big is a typical item? | Shapes caching, storage, protocols |
| Quality bar | Can a post appear 5 s late? Can we ever lose data? Latency target? | Sets consistency, durability, SLOs |
Write the answers on the board as two short lists:
Functional (what it does) Non-functional (how well)
- post photo + caption - 500M DAU, global
- follow users - feed p99 < 300 ms
- home feed (followed users) - eventual consistency OK for feed
- like / comment - uploads must never be lost
Out of scope: stories, DMs, ads, searchSaying out loud what is out of scope is a strong signal. It shows you can prioritise, and it protects you from being judged on features you never meant to design.
Step 2 — Size: just enough math
You are not doing accounting. You want orders of magnitude that decide the architecture. Back-of-the-Envelope Estimation for System Design Interviews covers the techniques; here is the minimum:
- Traffic: daily actions ÷ 100,000 s ≈ average QPS (a day is ~86,400 s; round up). Peak ≈ 2–3× average.
- Storage: items per day × size × retention.
- Read:write ratio: tells you whether to optimise reads (caches, replicas) or writes (logs, sharding).
- The one number that scares you: for a chat app it's concurrent connections; for video it's egress bandwidth; for a URL shortener it's read QPS. Find it and say it.
"Roughly 50,000 reads per second at peak against 500 writes: this is read-heavy by 100×, so I'll put caching and read replicas front and centre, and a single write primary is fine for a while."
Step 3 — Sketch: make it work end to end
In this order:
- APIs — 3–5 endpoints that cover the core features (verb, path, key params, response).
- Data model — main entities, their keys, and which store each lives in.
- Diagram — the simplest architecture that satisfies the functional requirements. Then walk one request through it out loud.
Drawing the "final" architecture with 15 boxes first. You won't be able to explain it, and the interviewer can't tell which boxes you actually understand. Start simple, then evolve it because of a number or a requirement.