0%
System Design Interview Framework: A Repeatable Plan From Requirements to Wrap Up
The Interview Itself
Communication
Choosing and Running Deep Dives
The deep dive is where most interview outcomes are decided. The requirements, estimate, API, data model and high level design show that you can build a sensible system. The deep dive shows whether you can go beyond the sensible default on the part of the system that is genuinely hard. At mid level, a solid high level design with one reasonable deep dive is often enough. At senior level and above, the deep dive is usually the most heavily weighted part of the interview, because it is where technical depth and judgment are most visible.
In a forty five minute round, the deep dives get about fifteen minutes, usually from minute twenty five to minute forty. That is enough for one thorough dive, or one main dive and a shorter second one. This lesson covers how to choose the topic, how to structure a dive, how to use numbers and failure cases inside it, how to work with the interviewer and how to close it cleanly.
What a deep dive is
A deep dive takes one part of the high level design and examines it closely: what exactly is hard about it, what the options are, which one you would choose and why, and how it behaves under load and failure. It is not a list of every detail of every component. It is a focused argument about one problem. A good deep dive leaves the interviewer convinced that you understand that problem better than most candidates, and that your design for it would actually work.
What interviewers look for
Interviewers look for several things in a deep dive. Precision: can you state exactly what the problem is, with numbers? Breadth of options: do you know more than one way to solve it, and the trade offs between them? Judgment: do you choose sensibly for this problem's requirements, rather than defaulting to whatever you know best? Robustness: do you consider how the chosen approach fails, and what happens when it does? Communication: can you explain all of this clearly, at a pace the interviewer can follow? Each of these is visible in a well run fifteen minutes.
Depth versus breadth
The most common mistake in the deep dive phase is staying broad. The candidate adds more components, mentions more technologies and covers more features, but never goes deep on any single one. The interviewer leaves with the impression that the candidate knows many names but not how anything works. Depth means staying on one topic long enough to reach the hard questions: what happens when two requests arrive at once, what happens when this component fails half way through, what happens when one key gets a thousand times the normal traffic. Those questions are where the real evaluation happens.
Why senior candidates are judged here
At senior and staff level, interviewers expect candidates to have built and operated systems where these problems occurred. A deep dive is where that experience shows. A candidate who has handled a hot partition in production will describe it differently from one who has only read about it: they will mention the symptoms, the trade offs of the fixes and the operational costs. Interviewers listen for that texture. You cannot fake it, but you can make sure the experience you do have is visible, by choosing deep dives where you have something real to say and by including the practical details you know.
The deep dive as a conversation
A good deep dive is a conversation, not a lecture. The interviewer will ask questions, challenge choices and sometimes add constraints. Those interruptions are often the most valuable part, because they show how you think on your feet. Treat each question as a signal of what the interviewer cares about and follow it. If they ask how the system behaves when a worker crashes, that is now the topic, even if you planned to talk about something else.
A short example exchange
Interview Dialogue
In about two minutes, the candidate stated the problem with numbers, gave two options, chose one with a reason and handled a follow up with a principled answer. That is the shape of a strong dive.
How much is enough
A single deep dive done well is usually worth more than three done superficially. If you have time for a second one, choose a different kind of problem: if the first was about scale, the second might be about correctness or failure. That variety shows range. But never sacrifice the depth of the first dive to fit in a second. Interviewers remember the best moment of an interview, and that is usually a deep dive that reached the hard questions.
What a weak deep dive sounds like
It is worth hearing the opposite. A weak deep dive often starts with a technology rather than a problem: for fan out, I would use Kafka. The candidate then describes Kafka, its partitions and consumer groups, without ever saying what is hard about fan out or why Kafka addresses it. Another weak pattern is the list: the candidate names five optimisations, caching, sharding, batching, compression, replication, in quick succession, without choosing between them or explaining when each helps. A third is the confident single answer: the candidate states one approach and, when asked about alternatives, says there are none worth considering. Each of these leaves the interviewer with very little evidence. They know the candidate has heard of some tools, but not whether the candidate can reason about a hard problem.
The fix in every case is the same: begin with the problem and a number, compare real options, choose with reasons tied to the requirements and then test the choice against failure. That shape forces depth, because each stage asks a question that a list of technology names cannot answer.
How deep dives are scored
Rubrics usually score the deep dive on technical depth, trade off analysis and the handling of follow up questions. Technical depth means explaining mechanisms rather than naming them: how the conditional update guarantees that only one buyer holds a seat, not just that the database handles it. Trade off analysis means comparing options against this problem's requirements and numbers. Follow up handling means responding to challenges and new constraints with clear reasoning. A candidate who scores well on all three in one dive has usually done enough at senior level, even if the rest of the design is ordinary.
What depth sounds like in practice
Depth is easier to recognise than to define. It sounds like specific mechanisms, quantities and consequences: the worker acknowledges the event only after every batch succeeds, so a crash means a redelivery and a few repeated writes, which are harmless because each write is keyed by user and post. Every clause in that sentence is checkable, and each one answers a question the interviewer might otherwise have asked. Aim for sentences like that during the dive.
Preparing to be deep
Depth cannot be improvised from nothing, so preparation matters. Before an interview loop, pick the eight or ten most common problems and, for each, write down the likely deep dive topic, the number that makes it hard, two or three options and the main failure modes.
A single thorough deep dive that reaches the hard questions is worth more than several shallow ones. Add a second only if time allows, and choose a different kind of problem for it, such as correctness after scale.
The choice of deep dive topic matters almost as much as how you run it. A brilliant dive on a generic topic shows less than a good dive on the problem's real difficulty. This section covers how to find the right topic, how to propose it, and what to do when the interviewer has a different one in mind.
Hard, important and specific
A good deep dive topic has three properties. It is hard: there is no obvious answer, and the options have real trade offs. It is important: getting it wrong would break a core requirement or a key non functional requirement. And it is specific to this problem: it is what makes this system different from a generic web application.
For a social feed, fan out for accounts with millions of followers is hard, important and specific. For ticketing, preventing overselling under extreme contention is all three. For chat, message ordering and delivery guarantees across devices. For ride sharing, matching riders to nearby drivers in real time. For payments, exactly once processing and reconciliation with external providers. For a collaborative editor, merging concurrent edits. For a URL shortener, generating short codes without collisions at scale, and serving redirects with very low latency. For a web crawler, politeness, deduplication and prioritisation across billions of pages.
By contrast, generic topics, how a load balancer distributes traffic, how a cache evicts entries, how a relational database indexes a column, are rarely good choices unless the problem is specifically about them. They are important in general, but they do not show anything about this problem.
Finding the topic
There are several reliable ways to find the right topic. Look at the estimate for the number that surprised you: the celebrity with fifty million followers, the flash sale at a hundred times normal traffic, the location updates at a quarter of a million per second. Look at the non functional requirements for the strictest one: no double booking, exactly once payment, sub second delivery. Look at the data model for the trickiest part: the hot partition, the denormalised copy, the counter. Look at the high level design for the component you were least sure about while drawing. Any of these usually points straight at the right topic.
Proposing the topic
At the end of the high level design, propose one or two topics and invite the interviewer to choose. I think the hardest part is fan out for large accounts; I could also go deep on feed ranking. Which would be more useful? This does several things at once. It shows that you know where the difficulty lies. It gives the interviewer an easy way to steer. And it avoids the awkward moment when you start a dive the interviewer did not want.
When the interviewer chooses
Many interviewers have a topic in mind, often one they use with every candidate for this problem, because it lets them compare candidates consistently. If they choose a different topic from the one you proposed, follow them without hesitation. Their topic is what they will score. If their topic is one you know less about, be honest about what you know and reason from first principles; that is still valuable evidence. Do not try to steer back to your preferred topic.
When the interviewer gives no direction
Some interviewers say that is up to you. In that case, choose the topic that best combines difficulty, importance and your own depth of knowledge. If two topics are equally good, prefer the one where you have real experience, because the details you can add will make the dive more convincing. Say why you chose it: I will go into fan out, because it is the part of this design most likely to break at scale.
Topics that combine scale and correctness
The strongest topics often combine a scale problem with a correctness problem. Ticketing combines very high request rates with no overselling. Payments combine retries at scale with exactly once charging. Chat combines millions of connections with ordered delivery. These topics let you show both kinds of thinking in one dive, which is efficient and impressive. If the problem has such a topic, it is usually the best choice.
Topics to avoid
Avoid topics that are mostly about naming technology, such as which message broker to use, without a design question behind them. Avoid topics that are too broad to finish, such as how to make the whole system highly available. Avoid topics where the answer is simply a well known component, such as using a content delivery network for images, unless there is something unusual about the problem. And avoid topics where you would be guessing at most of the details, unless the interviewer chose it.
Preparing topics in advance
For the common interview problems, the likely deep dive topics are well known. Before your interviews, list the likely topics for each common problem and make sure you can run a fifteen minute dive on each: the problem with numbers, two or three options, a choice with reasons and the main failure modes. This preparation pays off more than any other, because the deep dive is where the outcome is usually decided, and having thought through the topic in advance means you can spend the interview on the interviewer's questions rather than on first principles.
A sample proposal
Interview Dialogue
The candidate offered two specific, hard topics, gave a reason for preferring one and adapted the plan to the interviewer's answer in a sentence.
Topics that look hard but are not
Some topics sound impressive but are actually well solved by a standard component and therefore make poor dives. Storing images is solved by object storage. Serving static content worldwide is solved by a content delivery network. Spreading load across stateless servers is solved by a load balancer. Choosing between them is not a deep problem. If you find yourself proposing one of these, ask whether there is something unusual about this problem that makes it hard, such as images that must be transformed on the fly at very high rates, and if not, choose a different topic.
Matching the topic to the level
The expected depth of topic grows with seniority. For a mid level role, a dive on the cache design for the feed, keyed sensibly with a clear freshness story, can be enough. For a senior role, the interviewer expects a topic with real trade offs, such as the hybrid fan out or overselling prevention. For a staff role, they may expect the topic to include organisational or operational dimensions, such as how the fan out threshold is tuned and monitored, how the design migrates from one approach to another without downtime and what happens when traffic patterns change. Choose a topic that gives you room to show the depth your level requires.
A short list of topics for common problems
It helps to have a ready list. Feed: fan out and ranking. Chat: delivery guarantees and presence. Ticketing: contention and the waiting room. Ride sharing: matching and location ingestion. Payments: idempotency and reconciliation. Search: indexing freshness and ranking. Rate limiter: distributed counting accuracy. Collaborative editor: concurrent edit merging and offline sync.
The best deep dive topic is often hiding in the estimate: the number that surprised you, such as a celebrity with fifty million followers or a flash sale at a hundred times normal traffic. That number usually marks where the simple design breaks.
Once the topic is chosen, a deep dive follows a simple, reliable shape: state the problem precisely, lay out the options, choose one with reasons, then examine how it fails and what you would do about it. This section works through each stage with a running example, fan out in a social feed, and a second example, contention in ticketing.
Stage one: state the problem precisely
Start by stating exactly what is hard, ideally with a number. The feed must show a user new posts from the people they follow within a few seconds. With fan out on write, each post is copied into every follower's feed. Average accounts have about three hundred followers, so two hundred posts per second produce sixty thousand feed writes per second, which the feed store can handle. But the follower distribution is extremely skewed. A few accounts have tens of millions of followers. One post from such an account would produce tens of millions of writes, taking minutes and creating a huge burst of load.
That statement does three things. It shows you understand the mechanism. It shows you know the numbers. And it identifies exactly which case breaks the simple design. The rest of the dive is about that case.
Stage two: lay out the options
Next, give two or three realistic options with their trade offs. For fan out, the options are clear. Fan out on write for everyone: reads are a single lookup, but celebrity posts cause huge write bursts. Fan out on read for everyone: posts are written once, but every feed read must merge posts from hundreds of accounts, which is slow and expensive at fifty thousand reads per second. A hybrid: fan out on write for most accounts, and for accounts above a follower threshold, skip fan out and merge their recent posts into feeds at read time.
For each option, say what it is good at and what it costs. Do not present a straw man; each option should be one a reasonable engineer might choose in some situation.
Stage three: choose with reasons
Choose one option and say why it fits this problem's requirements and numbers. I would use the hybrid. It keeps fan out writes bounded, because no single post triggers more than ten thousand writes. And it keeps reads fast, because a typical user follows only a handful of celebrities, so merging their recent posts adds a small, cacheable amount of work. Then add the details that make the choice work: celebrity posts are cached by author; the merge happens in the feed service; the threshold is tuned from metrics.
The reasons should refer back to the requirements and numbers. That is what makes the choice a decision rather than a preference.
Stage four: examine failure and edge cases
Finally, ask how the chosen approach fails and what happens at the edges. What if a fan out worker crashes half way through a batch? The event stays in the queue and is redelivered; feed writes are keyed by user and post, so repeated writes are harmless. What if an account crosses the threshold, gaining followers quickly? Its new posts switch to the pull path; older posts already fanned out stay where they are. What if a user follows thousands of celebrities? The merge becomes expensive for that user, so cap the number merged at read time or precompute for that user.
This stage is where many candidates stop too early. Interviewers often hold their hardest questions for it, because failure and edge cases reveal whether the design has really been thought through.
A second example: ticketing contention
The same shape works for a correctness problem. Problem: a flash sale puts a hundred thousand buyers on a few thousand seats in the first minute, and no seat may be sold twice. Options: lock the seat row in a transaction; use a conditional update that sets the seat to held only if it is currently free; or route all requests for an event through a single queue that assigns seats in order. Choice: a conditional update on each seat row, with a hold expiry, because it is atomic, needs no long lived locks and scales across many events; combined with a waiting room that admits buyers at a rate the database can handle.
Failure and edges: if the buyer abandons checkout, the hold expires and the seat is released; if payment succeeds but confirmation fails, an idempotency key lets the client retry safely; if one event is so hot that its seat rows saturate a partition, split the inventory into sections on separate partitions.
Using the board during the dive
Zoom in on the board. Draw the part of the design you are deepening at a larger scale, beside the high level design, with the specific components and data involved: the fan out worker, the follow graph, the feed table, the celebrity cache. This gives the dive a visual anchor and lets the interviewer follow precisely. Keep the high level design visible, so you can show where the zoomed in part fits.
Pacing the dive
A fifteen minute dive might spend two minutes on the problem, three on options, three on the choice and its details and five or more on failure and edge cases, with the rest absorbed by the interviewer's questions. If the interviewer is asking many questions in one stage, stay there. The plan is a guide, not a script.
Going one level deeper on request
At any stage, the interviewer may ask you to go one level deeper: how exactly does the merge at read time work? Have that next level ready. For the hybrid, the feed service reads the user's precomputed feed page, looks up which celebrities the user follows, fetches each celebrity's most recent posts from a per author cache, merges the lists by time or score, takes the top twenty and caches the merged page briefly. Each of those steps has its own cost, and being able to describe them precisely is what separates real understanding from a memorised outline.
Avoiding the straw man
A common weakness is presenting options that are obviously bad, so that the preferred one looks good by contrast. Interviewers notice. If fan out on read is presented as never workable, they may ask whether any real system uses it, and several do, for some kinds of feed. Present each option at its strongest and explain when it would be the right choice. Doing so makes your eventual choice far more convincing, because it is clearly a judgment rather than the only option you know.
Checking the choice against the requirements
Before leaving stage three, check the choice against the requirements list once more. Does the hybrid still deliver posts within a few seconds? Yes for normal accounts; celebrity posts appear at the next feed read, which is immediate. Does it keep feed latency under two hundred milliseconds? Yes, if the merge reads from cache.
Mid level candidates state a reasonable approach and explain it. Senior candidates compare options with numbers, choose with reasons and cover the main failure modes unprompted. Staff candidates also address operational concerns, such as tuning, migration between approaches and how the design behaves as the follower distribution or traffic shape changes.
The deep dive is the most interactive part of the interview. The interviewer is no longer just listening; they are probing, challenging and sometimes deliberately pushing on weak spots. How you respond to that probing is a large part of what they score. This section covers common types of interviewer intervention and how to handle each.
Clarifying questions
The interviewer may ask you to clarify something: what exactly happens when the fan out worker writes to the feed table? Treat this as an invitation to go one level deeper. Explain the mechanism precisely: the worker reads a batch of follower IDs, writes one row per follower keyed by user ID and post time, in batches of a few hundred, and acknowledges the event only after all batches succeed. Precision is what they want.
Challenges
The interviewer may challenge a choice: why not just use fan out on read for everyone? Do not take this as a sign that your choice is wrong. Interviewers challenge correct choices to see whether you can defend them. Restate your reasoning with the numbers: fan out on read for everyone means every one of fifty thousand feed reads per second merges posts from hundreds of accounts, which is several million lookups per second. The hybrid confines that cost to the few celebrities. If the challenge reveals a genuine flaw, acknowledge it and adjust. Both responses are good; defending blindly or folding instantly are not.
New constraints
The interviewer may add a constraint: now assume feeds must be ranked by relevance, not time. Treat it as a new, smaller problem. Say which parts of the current design still hold and which change. Fan out still decides which posts are candidates; ranking happens at read time over the candidate set, using a model or scoring function, so the feed table stores candidates rather than a final order. This kind of adaptation is excellent evidence, because it shows you understand which decisions depended on which assumptions.
Pushing on failure
The interviewer may push on failure: what if the region hosting the feed table goes down? Answer with what the design does now, then what you would add. Today, feeds would be unavailable in that region; reads could fall back to a degraded feed built from the most recent celebrity and followed posts in cache. For stronger resilience, replicate feeds asynchronously to a second region and fail over, accepting that the most recent entries might be missing. Being specific about the degraded behaviour is more convincing than claiming the system never fails.
When you do not know
Sometimes the interviewer asks about something you do not know well. Say so honestly, then reason from what you do know. I have not implemented that exactly, but here is how I would think about it. Interviewers value honest reasoning far more than confident bluffing, which they usually detect. A candidate who says I am not sure, but my guess is this, for this reason is giving useful evidence. A candidate who invents details is giving negative evidence.
When the interviewer goes quiet
Some interviewers say little during the dive. Silence does not mean disapproval. Keep the structure going: finish the current stage, summarise and check in. That is how I would handle celebrity fan out. Shall I go into how failures are handled, or would you rather move to another area? A check in every few minutes keeps the dive aligned with what the interviewer wants without needing them to interrupt.
When the interviewer steers away
Sometimes the interviewer moves you to a different topic before you finish. Do not resist. Summarise the current topic in one sentence so it is closed, then follow. That is the hybrid fan out; happy to look at search now. The interviewer may have seen enough on the first topic, which is often a good sign, or may need evidence on a second area for their rubric.
Thinking out loud
Throughout the dive, think out loud, especially when you are weighing options. The interviewer scores reasoning, not just conclusions. If you go silent for thirty seconds and then announce an answer, they miss the reasoning. If you say I am weighing whether to lock the row or use a conditional update; locking holds the row for the whole transaction, which is risky under contention, so I lean towards the conditional update, they see exactly how you think.
A sample exchange
Interview Dialogue
The candidate took the challenge seriously, quantified the trade off and recognised when the alternative would be better.
Questions that test the boundary of your design
Some interviewer questions are designed to find the boundary of the design: what happens if traffic is ten times higher, if one user is a thousand times more active than the average, if a dependency becomes slow rather than failing outright. These questions are not traps; they are opportunities to show that you understand where your design stops working. Answer by identifying which component reaches its limit first and what you would change. At ten times the traffic, the feed cache would need more nodes and the fan out workers would fall behind during peaks, so I would add workers and accept a longer delay in feed updates. Precise boundary answers are among the strongest evidence of depth.
Handling a slow dependency
Slow dependencies deserve particular attention, because they are more common than outright failures and often more damaging. If the celebrity cache becomes slow, every feed read that merges celebrity posts becomes slow too. Describe the protection: a short timeout on the cache call, a fallback that returns the feed without the newest celebrity posts and a circuit breaker that stops calling the slow dependency for a while. The user sees a slightly stale feed rather than a slow one. Interviewers often ask about slowness precisely because many candidates only think about crashes.
Keeping your own notes visible
During an interactive dive, it is easy to lose track of what has been decided. Keep a short list on the board beside the zoomed in diagram: threshold ten thousand, idempotent writes, per author cache, timeout two hundred milliseconds. Add to it as decisions are made. When the interviewer asks a question, you can point at the list to show what is already settled, and when you close the dive, the list becomes your summary. It also prevents the common problem of contradicting an earlier decision without noticing.
Remaining calm under pressure
Some interviewers push hard, asking several challenging questions in a row. That is often a sign the dive is going well, because they are looking for the limit of your knowledge. Keep a steady pace, answer one question at a time and do not rush to change the design under pressure. A calm, reasoned answer, even one that ends in I am not sure, is far more valuable than a hurried redesign.
Recovering from a weak answer
Everyone gives a weak answer occasionally. If you realise that an answer was wrong or incomplete, say so at the next natural point: thinking about it more, my earlier answer on the cache was incomplete; it also needs invalidation when a post is deleted. Correcting yourself is strong evidence of careful thinking, and interviewers rarely hold a corrected mistake against a candidate. Leaving a known mistake uncorrected, hoping it goes unnoticed, is far riskier.
When the interviewer challenges a choice, they are often testing whether you can defend a correct decision. Restate your reasoning with numbers. Change your mind only if the challenge reveals a real flaw, and say what it was.
A deep dive should end deliberately, not fade out. A clear close summarises what was decided, notes what was left open and moves to the next topic or to failure handling and wrap up. It takes under a minute and leaves a strong impression. This section covers how to close, how to decide whether to start a second dive and how to keep time.
The one sentence summary
End each deep dive with a one sentence summary of the decision. For accounts above ten thousand followers we skip fan out on write and merge their recent posts at read time from a per author cache; below that, we fan out on write in batches, with idempotent writes so retries are safe. A sentence like this confirms that the dive reached a conclusion and gives the interviewer something clear to write down.
Noting what is open
Mention briefly what you would revisit with more time. The threshold should be tuned from real metrics, and I would want to test what happens when a celebrity posts during a peak. This shows awareness of the limits of what was covered, without opening a new discussion. One or two items is enough.
Deciding on a second dive
After the first dive, check the clock. In a forty five minute round, if the first dive ended around minute thirty five, there is room for a short second dive of five minutes before failure handling and wrap up. If it ended around minute forty, go straight to failure and wrap up. In a sixty minute round, there is usually room for a full second dive.
If you do a second dive, choose a different kind of problem. If the first was about scale, the second might be about correctness, consistency or failure. If the first was about the write path, the second might be about the read path. Offer it to the interviewer: we have about eight minutes; I could look at how ranking works, or at how the system recovers from a regional failure. Which would be more useful?
The shorter second dive
A short second dive follows the same four stages, compressed. State the problem in a sentence with a number. Give two options in a sentence each. Choose with a reason. Name the main failure mode and the response. That can be done in five minutes and still shows depth. It is better than an unfinished long dive.
Moving to failure and wrap up
If there is no time for a second dive, move to the final phase: failure handling and wrap up. The deep dive often leads naturally into it, because failure was already part of the dive. You might say: we covered fan out failures; let me briefly go through the other main failure points, then summarise. The next lesson covers that phase.
Keeping time during the dive
Time slips fastest during the deep dive, because the conversation is engaging and the interviewer's questions keep opening new threads. Keep a rough sense of the clock. If you planned fifteen minutes and you are at twelve with the failure stage still to cover, say so and move to it: let me make sure we cover failure handling for this. If the interviewer is clearly enjoying a thread and wants to continue, follow them, but protect the last three to five minutes for the wrap up, because a strong close matters.
Common closing mistakes
The most common closing mistake is not closing at all. The dive drifts until the interviewer changes the subject or time runs out, and the conclusion is never stated. Another is closing with a long recap of everything discussed, which takes minutes and adds little. A third is starting a second dive with two minutes left, which guarantees it will be unfinished. A fourth is moving on without noting what was left open, which can make the interviewer think you did not see the remaining issues.
What a well run deep dive phase looks like
In summary, a well run deep dive phase in a forty five minute round looks like this. At minute twenty five, the candidate proposes a topic and the interviewer agrees. For the next ten to twelve minutes, the candidate states the problem with a number, lays out options, chooses with reasons and examines failure and edges, following the interviewer's questions. At around minute thirty seven, the candidate summarises in a sentence, notes one open item and either offers a short second dive or moves to failure and wrap up. That structure is simple, and it reliably produces the strongest evidence of the interview.
A sample close
Interview Dialogue
The close took about thirty seconds, and the transition to the next phase was smooth and agreed.
Practising deep dives
Practise deep dives on their own, separately from full mock interviews. Pick a topic, set a timer for twelve minutes and run the four stages out loud, then close with a one sentence summary. Ask a partner to interrupt with challenges and new constraints. After several rounds, the structure becomes natural, and you can spend your attention on the content and on the interviewer's questions rather than on what to do next.
How the deep dive connects to failure handling
The deep dive and the failure handling step overlap. Much of the failure discussion for the deep dive topic happens inside the dive itself, in stage four. The separate failure step afterwards covers the rest of the design more briefly. That division works well: deep, careful failure analysis on the hardest component and a quick sweep across the others. When you move from the dive to the failure step, say so explicitly, so the interviewer knows the topic has changed.
When the dive reveals a problem elsewhere
Sometimes the deep dive reveals a problem in a different part of the design. Analysing fan out, you realise the follow graph store cannot serve follower lists fast enough for large accounts. Note it, and decide whether to address it now or later. The follower list lookup is now on the hot path for fan out; let me add a cache of follower lists, partitioned by author. Brief, well placed corrections like this show that you are thinking about the whole system even while focused on one part.
Reading the interviewer's signals at the close
Watch how the interviewer reacts to the summary. If they nod and move on, the dive has landed. If they ask one more question on the same topic, answer it before closing again. If they look at the clock, shorten whatever comes next. These small signals tell you how much time and attention remain, and adapting to them is part of managing the interview well.
Closing in a sixty minute round
In a sixty minute round, the first dive often ends around minute forty, leaving room for a full second dive of ten minutes before the wrap up. The close is the same, but the offer of a second topic should be more definite: we have time for another deep dive; I suggest ranking, unless you would prefer something else. Keep the second dive as structured as the first.
Deep dives are engaging and easily run over. Keep a rough sense of the clock and protect the last three to five minutes for failure handling and the wrap up. An unfinished design with no summary leaves a weaker impression than a shorter dive with a clean close.