GuidesSystem design interview guide
How to prepare for a system design interview: a step-by-step guide
12 min read · Updated 1 December 2026
The interviewer says: "Design a chat app." Then they stop talking. You have 45 minutes, a blank whiteboard, and no single right answer.
That silence is the hard part. Most people know what a cache or a load balancer is. What they lack is a plan: what to ask first, when to draw, how deep to go, and when to stop and talk about what could break.
This guide gives you that plan. It covers how the interview runs, a step framework with rough timings, what interviewers actually score, the mistakes that sink good engineers, and a study plan for the next 4 to 8 weeks.
Key takeaways
- The interview tests how you make decisions out loud, not whether you know one perfect design.
- Follow a fixed order: scope, estimate, API, data, high-level design, deep dives, failures, trade-offs.
- Spend the first 5 to 10 minutes on requirements and numbers; they decide everything after.
- Every choice you make should come with its cost and the case where you would choose differently.
- Practise out loud against a clock. Reading designs is not the same skill as giving one.
How the 45 to 60 minutes actually go
Let's say you have a 45-minute slot. A few minutes go on introductions and a few at the end on your questions. That leaves roughly 35 to 40 minutes of real design time.
The interviewer gives you a short, vague prompt on purpose: "Design a URL shortener" or "Design a news feed." They want to see what you do with vagueness. Do you ask questions, or do you start drawing boxes?
From there the interview usually moves through three phases:
- 1.You lead. You clarify the problem, estimate the load and sketch a first design.
- 2.They steer. They pick one part, often the hardest, and ask you to go deeper. "How would you store the messages?" "What happens when this server dies?"
- 3.They push. They change a number or add a failure. "Now there are 100 times more users." "Now the cache is down." They watch how you adapt.
In a 60-minute slot the shape is the same. You just get more time in phases 2 and 3.
Remember this important point: there is no hidden correct answer they are waiting for. Two candidates can draw different designs and both get a strong score. What gets scored is the reasoning.
A step framework with rough timings
Without a plan, people jump straight to a database choice and spend 20 minutes on one box. A fixed order stops that. Here is one that works for almost any question, with rough times for a 40-minute design window:
- 1.Scope (about 5 minutes). What must the system do? What is out of scope? Who uses it, and how many of them?
- 2.Estimate (about 3 to 5 minutes). Requests a second, storage over a few years, read-to-write ratio. Only the numbers that change the design.
- 3.API (about 3 minutes). Two to four endpoints, with inputs and outputs.
- 4.Data model (about 3 to 5 minutes). The main records, how you look them up, and what kind of database fits.
- 5.High-level design (about 8 minutes). The boxes and arrows. Walk one request through them end to end.
- 6.Deep dives (about 10 minutes). One or two hard parts in detail. Often the interviewer chooses.
- 7.Failures (about 3 to 5 minutes). What breaks, and what the system does when it does.
- 8.Trade-offs (about 2 to 3 minutes). What you gave up for what you got, and what you would change at 10 times the scale.
The times are a guide, not a rule. If the interviewer wants to spend 20 minutes on the deep dive, follow them. The order matters more than the minutes.
Write the steps in a corner of the board when you start. It keeps you on track and shows the interviewer you have a plan.
| Step | Rough time | What you leave on the board |
|---|---|---|
| Scope | ~5 min | Must-haves, out of scope, quality goals |
| Estimate | ~3–5 min | Requests a second, storage, read:write ratio |
| API | ~3 min | Two to four endpoints |
| Data model | ~3–5 min | Main records and how they are looked up |
| High-level design | ~8 min | Boxes, arrows, one request traced |
| Deep dives | ~10 min | One or two parts in detail |
| Failures | ~3–5 min | What breaks and how the system copes |
| Trade-offs | ~2–3 min | Costs of your choices, next steps at scale |
Scope and estimates: the first ten minutes
Most weak interviews go wrong here, before a single box is drawn.
Say the prompt is "Design a photo sharing app." That could mean uploads, feeds, comments, likes, search, stories and messages. You cannot design all of it in 40 minutes. So you agree on a slice out loud:
- Must have: upload a photo, view a photo, see a feed of people you follow.
- Out of scope: comments, search, direct messages.
- Quality goals: viewing must feel instant; a new photo can take a few seconds to appear in feeds.
Then estimate. Say 10 million daily users, each viewing 50 photos and uploading one every ten days. That is 500 million views a day. A day has 86,400 seconds, call it 100,000. So about 5,000 views a second on average, and maybe 15,000 at peak. Uploads are about 1 million a day, or roughly 12 a second.
What the numbers decide: this is a read-heavy system, about 500 reads for every write. So the design should centre on fast reads, which points to caching and a CDN (a network of servers near users that keeps copies of files). That one sentence, from the numbers to a design choice, is what interviewers want to hear.
If you want the method in detail, read back-of-the-envelope estimation.
API, data and the high-level design
Next, a short API. It forces you to say exactly what the system does:
POST /photos -> upload, returns photo idGET /photos/{id} -> photo metadata and file URLGET /feed?cursor=... -> next page of photosThen the data. Name the main records (users, photos, follows) and, more importantly, how you read them. "Get a photo by id" and "get the latest photos from people I follow" are very different queries. The second one is what makes a feed hard.
Now draw. Start with the simplest thing that works, then grow it only when a number or a requirement forces you to. Step through the diagram below. It is the shape most interview answers grow into, built the way you would build it on the board.
Talk while you draw. Say what each box does and what each arrow carries. A silent candidate drawing a perfect diagram scores lower than one who explains a simple diagram well.
Start with the basic request path
A request reaches a load balancer, which hands it to one of several app servers. The server reads or writes the database and replies. Keeping app servers stateless means you can add more whenever traffic grows.
Deep dives, failures and trade-offs
Around the 20-minute mark the interviewer usually points at one part and says "tell me more." Good deep dives tend to be the part that is hard for this specific problem: generating unique codes for a URL shortener, fan-out for a news feed, delivery order for chat, double booking for tickets.
If they don't choose, choose yourself: "The hardest part here is the feed. Shall I go deeper on that?" It shows you know where the risk is.
Then failures. Pick the two or three that matter and say what the system does:
- A server dies. The load balancer stops sending it traffic. Because servers keep no state, nothing is lost.
- The cache dies. Every read hits the database at once. How many reads a second is that, and can the database take it?
- A whole region goes down. Do you fail over to another region, and how much recent data could you lose?
Finish with trade-offs. A trade-off is simply what you paid for what you got. For example: "I count likes asynchronously, so a like count can lag by a few seconds. In return, a like never slows down a page load." Two or three sentences like that are worth more than another box on the diagram.
What interviewers actually score
Companies use their own rubrics, but most look for the same handful of signals. Knowing them tells you where to spend your time.
The biggest one is reasoning. Every choice should come with a "because". "I'll use a key-value store because every read is a lookup by id and I need to shard it easily" scores well. "I'll use Cassandra" on its own does not, even if it is a fine choice.
Seniority changes the bar. A junior candidate who drives a clear, working design is doing well. A senior candidate is also expected to spot the hard part early, bring up failures without being asked, and talk about operating the system: monitoring, rollout, cost.
| Signal | What a strong answer looks like | What a weak answer looks like |
|---|---|---|
| Problem framing | Asks focused questions, agrees on scope | Starts drawing before knowing what to build |
| Use of numbers | Estimates, then uses the numbers to pick designs | Skips numbers or computes them and ignores them |
| Design | Simple first, grows only when needed | Fifteen boxes from minute one |
| Depth | Goes into detail on the genuinely hard part | Stays at box level for the whole hour |
| Trade-offs | Names the cost of each choice and the alternative | Presents choices as obviously correct |
| Failures | Says what breaks and how the system copes | Assumes everything always works |
| Communication | Talks through thinking, checks in with the interviewer | Long silences, or ignores hints |
Common mistakes, and what to do instead
These come up again and again. Each one is easy to fix once you know it.
- Jumping to the solution. You hear "chat app" and say "WebSockets and Cassandra" in the first minute. Instead, scope first. The interviewer may have wanted group chat for 100,000-person rooms, which changes everything.
- Estimating and then ignoring the numbers. You work out 20,000 reads a second and never mention it again. Instead, end every estimate with "so this means..."
- Name-dropping tools. Kafka, Redis and Kubernetes are not a design. Say what you need first ("a durable log many consumers can read"), then name a tool as one example.
- Over-building. A system with 40 writes a second does not need sharding on day one. Say when you would add it: "one database is fine until roughly X; then I'd shard by user id."
- One perfect path, no failures. Real systems break. If you never say what happens when a part fails, the interviewer has to drag it out of you.
- Not listening. A hint like "what about very popular users?" is the interviewer pointing at the deep dive. Follow it.
- Going silent. If you need to think, say so: "Give me a moment to work out the storage." Then think out loud where you can.
A 4 to 8 week study plan
You need two things: the building blocks, and practice using them under time pressure. Here is a plan for about 5 to 8 hours a week. If you only have 4 weeks, double up the weeks; if you have 8, spend longer on weeks 3 to 6.
- 1.Week 1: Foundations. How a web request flows, load balancers, stateless servers, SQL versus NoSQL, indexes. Learn the estimation numbers: seconds in a day, rough latencies, sizes.
- 2.Week 2: Scaling data. Caching strategies, replication, database sharding and consistent hashing. Do two basic questions, like a URL shortener and a pastebin.
- 3.Week 3: Async and messaging. Queues, workers, retries, idempotency (making a repeated request safe to run twice). Do a notification system and a rate limiter.
- 4.Week 4: Consistency. The CAP theorem, what strong and eventual consistency mean for users, and transactions. Do ticket booking and order processing.
- 5.Weeks 5 and 6: Intermediate questions. News feed, chat, typeahead, web crawler. One a session, timed at 40 minutes, out loud.
- 6.Weeks 7 and 8: Advanced questions and mock interviews. Payments, a distributed key-value store, a message queue. Do at least three mock interviews with another person if you can.
For every question you practise, write down afterwards: what you would scope differently, which number you missed, and one trade-off you forgot to say. That short list is where most of your improvement comes from.
To choose questions by difficulty, see the list of system design interview questions.
Questions people ask
How do I prepare for a system design interview?
Learn the building blocks first: load balancers, caches, databases, queues and how they fail. Then practise full questions out loud against a 40-minute clock, using a fixed order of steps. Reviewing your own answers afterwards matters as much as reading other people's designs.
How long does it take to prepare for a system design interview?
Most people with some backend experience need about 4 to 8 weeks of steady practice, a few hours a week. If you have never worked on a backend system, plan for longer and spend the extra time on foundations.
What do interviewers look for in a system design interview?
Clear reasoning more than a particular answer. They watch how you scope the problem, whether you use numbers to make decisions, how deep you can go on the hard part, and whether you talk about failures and trade-offs without being pushed.
Is there one right answer in a system design interview?
No. Different designs can all score well if the choices are justified and the costs are named. A design that is technically fine but unexplained will usually score lower than a simpler one that is explained well.
Do junior engineers get system design interviews?
Some companies give them to all levels, others only from mid-level up. The bar for juniors is lower: a clear, working design with sensible choices. Seniors are also expected to find the hard part themselves and discuss failures, operations and cost.