How the Interview Works
How a 45 to 60 minute system design interview is structured, what the interviewer scores, which steps to do every time, and how to handle interruptions.
On this page
A system design interview is a 45 to 60 minute conversation in which you design a system from a vague prompt such as "design a chat app". The interviewer plays a teammate who answers your questions, and there is no single correct design. They are scoring how you work through an open problem: whether you find out what is needed, build something that works end to end, explain your choices, and go deep where the design is hard.
Candidates who do not know this format usually treat it as a drawing test. They start sketching as soon as the prompt ends, add components by habit, and talk very little. The interviewer then has nothing to score on requirements or trade-offs, even if every box on the board is reasonable.
What the interviewer scores
The interviewer collects evidence on five things, and the same five apply at every seniority level. Seniority changes how deep you are expected to go, not what is scored (see what changes by level).
Problem exploration means you ask about features, scale and priorities, and then state the scope you are going to design. Drawing immediately is a weak signal, and so is asking twenty questions without ever committing to an answer.
Design means the system works from the first request to the stored data, and each component is there for a reason you can state. Components added out of habit, or a data path that does not connect, count against you.
Trade-offs means that when you make a choice you name the alternative, say what your choice costs, and say what would make you change it. "We add a queue because it scales" gives the interviewer none of those three.
Depth means that on the hardest part of the problem you go several levels down, into the data layout, the failure cases or the numbers. Staying at box level fails this, and so does spending your depth on a part of the problem that is easy.
Communication means you think out loud, check in with the interviewer, and build on their hints. Long silences, or defending a choice after the interviewer has shown it breaks, are the usual weak signals.
The steps and how long each one takes
Some interviewers let you lead and speak only when you stop, and others ask a question every few minutes. Prepare for the second kind, because in both cases you are expected to keep the session moving. The interview follows the steps of a framework for any design. The figure shows a typical split of a 45-minute slot, where about 40 minutes are available for the design itself. The usual failure is to spend 20 minutes on requirements and estimates and never reach the deep dives, where most of the evidence comes from. In a 60-minute slot, give most of the extra 15 minutes to the deep dives and to failure handling.
Not every step is equally necessary. Three of them are expected every time, and two depend on the problem.
Clarify the problem (every time)
The prompt is vague on purpose, so you start by asking which features are in scope, how many users there are, which operations are most frequent, and what matters most, such as latency, availability or never losing data. Then you say the scope back in a few sentences. Some of this is cheap to ask and changes the design a lot: a read-heavy product and a write-heavy one need different storage. Stop when you have enough to make decisions. The interviewer wants to see you commit to a scope, not collect requirements indefinitely. The full technique is in requirements and scope.
Estimate the scale (only when it changes the design)
A short estimate of requests per second and storage tells you whether one database is enough or whether you need caching and sharding. Do it when the answer would change a decision, and keep it to a few lines. If the scale is obviously small, or the interviewer says to skip it, say what you are assuming and move on. See back-of-the-envelope estimation.
API and data model (short, and often optional)
List the main operations the system supports and the main records it stores, in a minute or two each. Go into more detail only when the interviewer asks or when the design depends on it, for example when the data model decides which database you pick. Many interviewers consider this step done once you have named the key endpoints and tables.
High-level design (every time)
Draw the smallest set of components that handles the main read and write paths from the client to the data, and walk through one request on each path. Keep the design simple at this stage. The goal is a design that connects from end to end, because the deep dives need something to attach to.
Deep dives and failure handling (every time, and the longest block)
You and the interviewer pick the hardest one to three parts of the design and go deep: how data is partitioned, how a hot key is handled, what happens when a component dies, which consistency guarantee you need. Offer the topics yourself, and follow the interviewer if they choose a different one. In the last minutes, say what would break first as the load grows and what you would add next.
Your questions at the end
The last few minutes are usually left for you to ask questions. Interviewers do not score this heavily, but a specific question about the design, such as what the interviewer would have changed first in a system like this, leaves a better impression than having no question at all. Do not use the time to ask how you performed.
When the interviewer interrupts
An interruption is not a sign that you are failing. It is the interviewer steering you toward evidence they still need. Decide which of the following it is, because each needs a different response.
A steer: the interviewer moves you to another topic
"Let's assume the database handles it. How do clients get new messages?" The interviewer is satisfied with the current part and wants to see another one. Follow the steer, and do not finish the part you were on.
A probe: the interviewer tests how deep your design goes
"What happens if this cache dies?" This tests how deep your design goes. Answer directly with specifics, in a few sentences, and then return to where you were.
A hint: the interviewer thinks the design has a flaw
"Is a database write on every click a problem?" The interviewer thinks there is a flaw. Do not defend the design. Say what breaks, fix it, and continue. Defending a design that has just been shown to be wrong is one of the weakest things you can do.
A curveball: the interviewer adds a new requirement
"Now it has to work in three regions." A new requirement is being added to see how you adapt. Restate it in your own words and change only the parts of the design it affects, instead of starting over.
A time check: the interviewer reminds you how much time is left
"We have ten minutes left." Move to the most important remaining topic, which is usually the failure handling or the part you have not yet covered in depth.
In every case the same habit works: answer the question in a sentence or two, then say where you are going back to ("so, back to the write path"). That shows you heard the interviewer and are still leading the session.
Problems that come up during the interview
Running out of time before the deep dives
Check the clock when you finish clarifying, which should be around minute 11 of 45, and when the high-level design is drawn, around minute 27. If you are late, say what you will cut: "I'll skip the detailed API and come back to it if there's time." Cutting out loud is a good signal, while silently running late is not.
Going deep before the design connects
Fifteen minutes on a sharding scheme, before the read path reaches a database, leaves no time for the rest of the system. Connect a simple design end to end first, then go deep where the interviewer points.
Designing in silence
The interviewer can only score what they hear. Say your decisions as you make them, including the options you reject and the reason, and check in with a question such as "does this level of detail work, or should I go deeper on storage?"
Not knowing something
You will be asked about something you have not used. Say so directly and reason from what you do know: "I haven't run that in production, but I'd expect it to behave like this, and here is how I'd check." Bluffing is easy to detect and costs more than the gap.
In the interview
Begin by saying your plan, so that the interviewer can correct it early: "I'll ask about features and scale, sketch a high-level design, then go deep on whichever part is hardest." Then state each choice with its reason and its cost, for example "a relational database, because bookings need transactions; if writes grew by 50 times I would revisit that."
Questions to expect from the interviewer:
- "Why did you choose that?" Give the reason, name the alternative you rejected and what it would have cost, and say what would change your mind. That covers all three parts of a trade-off answer.
- "What would you build first?" Describe the smallest version that serves the main path, such as one region, one database and no sharding. Then say which measurement, for example database CPU or request latency, would tell you to add the next piece.
- "What breaks first as this grows?" Name the single component that reaches its limit first, such as the primary database taking all writes. Say how you would notice it and how you would relieve it, for example with replicas, caching or partitioning.
- "How would you know it is working?" Name two or three signals, such as 99th-percentile latency, error rate and queue depth, and say what threshold would raise an alert. See observability.
- "What happens when this component fails?" Say what the user sees and what the system does automatically, such as failing over to a replica or retrying from a queue. Then say what data, if any, could be lost.
- "What would you change with more time?" Pick the weakest part of your own design and say how you would fix it. Choosing a real weakness shows more judgement than saying the design is complete.
Your feed service calls the database on every request. Is that a problem?
Yes, it is. Feed loads are the most frequent request, and each one turns into several database reads, so a single primary would be overloaded first. I would cache each user's feed for about a minute and serve the remaining reads from replicas. The cost is that a new post can take up to a minute to appear, which I think is acceptable for a feed.
Going back to the write path: when someone publishes a post, the service first stores it and then updates the feeds of their followers.
You are describing photo uploads. The interviewer says: "Let's assume uploads work. How does someone see their friends' new photos?" What is happening?
Twenty-five minutes in, you have clarified the requirements but have not started the high-level design. What is the best move?
Which answer shows the trade-off evidence interviewers score?
What to practise next
Learn the steps in detail in A Framework for Any Design, then see a full answer in Design a URL Shortener.