A framework for the system design interview

A four-step method for any system design interview: scope the problem, sketch a design and get buy-in, go deep on two or three parts, and wrap up. With a minute-by-minute budget, the questions to ask, how you are graded, red flags, and a worked example.

Overview

A system design interview gives you an open problem, such as "design a URL shortener" or "design a notification service", and about 45 minutes. There is no single right answer. The interviewer is watching how you get from a vague prompt to a reasonable design: what you ask, what you decide, how you explain it, and how you react when they push back.

Without a plan, the hour goes wrong in predictable ways. Some candidates start drawing boxes before they know what the system must do. Others spend thirty minutes on one component and never finish. Others list technologies without saying why. A framework prevents all three by giving every part of the interview a purpose and a time limit.

This chapter gives you a four-step framework, a minute-by-minute budget, the questions worth asking, what interviewers grade and how expectations change with seniority, the most common red flags, and one worked example from start to finish. The example is TrackIt, a service that sends a push notification to a phone each time a carrier scans a package the user follows.

What you will be able to do

  • Run a 45-minute design interview through four steps, each with a time budget.
  • Ask the questions that pin down scope, and turn the answers into functional and non-functional requirements.
  • Draw a first design that works end to end, walk a request through it, and check direction with the interviewer.
  • Pick the two or three parts worth a deep dive and explain each choice as a trade-off.
  • Close with a wrap-up that covers bottlenecks, failures, monitoring and growth.
  • Recognize the signals interviewers grade and the habits that cost candidates the offer.

Key concepts

  • The four steps
  • Time budget
  • Clarifying questions
  • Functional and non-functional requirements
  • High-level design
  • Buy-in
  • Choosing the deep dive
  • Stating trade-offs
  • Wrap-up
  • Grading signals
  • Expectations by level
  • Red flags

Interview questions

  • What are the steps of a system design interview, and how much time does each get?
  • What questions do you ask at the start?
  • What is the difference between functional and non-functional requirements?
  • Why start with a simple design rather than the final one?
  • How do you decide what to go deep on?
  • How should you state a design decision?
  • What should a wrap-up cover?
  • What do interviewers grade in a system design round?
  • How do expectations differ between a mid-level and a senior candidate?
  • What are the most common red flags?

Sign up free to read the full topic

More System Design topics

Start free on Cariara · Coding problems · System design studio