Server racks with network cables in a data center
System design7 min read

System Design Interviews: The Quick Start

This lesson is for software engineers with a system design round coming up soon, whether it is days or hours away. It covers what kind of interview to expect, how you will be judged at your level, and a delivery framework with a time budget you can follow on any problem. It will not make you an architect overnight. It will help you avoid the mistakes that sink most candidates: no structure, no finished design, and no reasons behind the choices.

When you have more time, the three series on the Learn tab go deeper: the crash course for the basics, core concepts for how data is spread and kept consistent, deep dives for databases, caching, load balancing, queues and search, patterns for the problems that recur across designs, and two full problem breakdowns.

Know which interview you are walking into

Most of your preparation carries across formats, but it helps to know which one you face. Ask your recruiter; they will usually tell you.

Product design

The most common type, sometimes labeled "product architecture" or just "system design". You design the backend of a product: a chat app, a ride-sharing service, a news feed, a URL shortener. You are expected to define features, sketch the architecture, and work through storage, APIs, performance and scale. This lesson is written for this type.

Infrastructure design

Rarer, and more common for infrastructure-heavy and backend platform roles. You design a technical building block rather than a product: a rate limiter, a message queue, a key-value store. The same framework applies, but the deep dives go further into durability, consistency, replication and failure handling, so spend extra time on the core concepts series.

Object-oriented design

Also called low-level design. You model a system in classes and interfaces (a parking lot, a vending machine) rather than servers. Scale barely matters; clean responsibilities and extensibility do. It has its own lesson: Low-Level Design Interviews.

Frontend design

For frontend specialist roles. You design the client architecture of a complex web app: components, state management, data fetching, rendering performance. This lesson's framework helps with structure, but the content of that interview is different.

How you are judged

On SmartIntervu a system design interview runs on a whiteboard with a voice interviewer, who can offer a hint if you stall. Your report scores five dimensions, and they map closely to what interviewers at most companies use:

  • Requirements: you pin down functional and non-functional requirements and scale before designing.

  • High-level design: a coherent set of components, APIs and data flow that meets those requirements.

  • Deep dive and scalability: you go deep on the hard parts, such as the data model, bottlenecks, sharding, caching and failure modes.

  • Trade-offs: you compare alternatives and justify your choices against the requirements.

  • Communication: the interviewer can follow your reasoning and you adapt to their questions.

Level changes the depth, not the question

At entry level you may not get a system design round at all. From mid level it is common, and at senior level and beyond it is close to guaranteed. The same question, say "design a chat system", is asked at every level. What changes is the expected depth:

  • Mid-level candidates are expected to produce a complete, working design that covers the main components, with sensible choices and some discussion of scale.

  • Senior candidates are expected to drive the interview themselves, find the two or three genuinely hard problems in the design, go deep on them, and defend trade-offs without being prompted.

  • Staff and above are expected to bring judgment that comes from operating systems: migration paths, operational cost, what breaks first in production, and what they would deliberately not build yet.

The overall goal is the same at every level: give the interviewer confidence that you would make good design decisions on their team.

The delivery framework

A typical round is 45 minutes of design time. This split keeps you from spending 20 minutes on requirements or running out of time before the interesting part.

  1. Requirements (about 5 minutes). List the core features (three to five, and say which you are leaving out). Then the non-functional requirements: scale, latency, availability, consistency. Ask about anything that changes the design, such as "do edits need to be visible to everyone instantly?"

  2. Estimation (about 3 minutes, only where it matters). Rough read and write rates and storage. Do the numbers only if they will change a decision, and say which decision.

  3. Core entities and API (about 5 minutes). Name the main objects (user, message, conversation) and sketch the key endpoints with their inputs and outputs. This becomes the contract the rest of the design serves.

  4. High-level design (about 10 to 15 minutes). Draw the components and the path a request takes through them, one core feature at a time. Get a complete, simple design on the board before optimizing anything.

  5. Deep dives (about 10 to 15 minutes). Pick the two or three hardest problems for this system, such as a hot key, fan-out to millions of followers, or not losing messages, and solve them properly. Offer options, compare them, choose.

  6. Wrap up (about 2 minutes). Summarize the design, name the biggest remaining risk, and say what you would do next.

Tip

Announce each transition: "I think requirements are clear. Let me sketch the API." It shows structure, and it gives the interviewer a natural moment to redirect you.

Worked example: requirements and estimation for a URL shortener

Here is what the first eight minutes of a strong answer to "design a URL shortener" can sound like.

Functional requirements

"Users submit a long URL and get a short one. Visiting the short URL redirects to the long one. Optionally, users can choose a custom alias and set an expiry. I'll leave out analytics dashboards and user accounts unless you want them."

Non-functional requirements

"Redirects must be fast, ideally well under 100 milliseconds at the server, because they sit in front of every click. Availability matters more than strict consistency for redirects: if a brand-new link takes a second to work everywhere, that is acceptable, but redirects failing is not. Short codes must be unique and should not be guessable in sequence."

Estimation

"Say 100 million new URLs a month. A month is about 2.6 million seconds, so that is roughly 40 writes per second on average, with peaks a few times higher. Links are read far more than they are written; assume 100 reads per write, so about 4,000 redirects per second on average.

Over five years that is 100 million times 60 months, or 6 billion URLs. At around 500 bytes per record, including the long URL and metadata, storage is about 3 terabytes. That is a lot for one machine's working set but modest overall, so I'll plan to partition the data, but storage is not the hard part.

For the code length: with letters and digits there are 62 characters. 62 to the 6th power is about 57 billion, comfortably more than 6 billion, so 6 characters is enough. 7 characters gives about 3.5 trillion if we want much more headroom."

What the numbers decided

This is the part most candidates skip. "So: the system is heavily read-dominated, which means a cache in front of the database will do most of the work. The write rate is low enough that generating codes is not a throughput problem, so I can choose the generation scheme for uniqueness and unguessability rather than speed. And 6 characters is the code length." Every number earned a decision. That is what the requirements dimension rewards.

Why candidates fail

People rarely fail for missing an obscure algorithm or not naming the latest database. They fail because:

  • They never structure the answer. They start drawing boxes immediately and wander. Follow the framework, and announce each step.

  • They never finish a working design. They spend 25 minutes perfecting one component. Get the whole simple design on the board first, then deepen.

  • They name technologies without reasons. "I'd use Kafka" earns nothing. "I'd put a queue between upload and processing so a spike in uploads doesn't overload the transcoders, and Kafka fits because we need to replay events" earns trade-off credit.

  • They avoid the hard part. Every problem has one or two difficult issues; strong candidates find them and go there on their own.

  • They get defensive. When the interviewer pushes back, treat it as a hint about what they want to explore. "Good point, that fails if the cache node dies. Let me add replication" is the right shape.

Communicating like a teammate

The interview is also a preview of working with you. Treat it as a design session with a colleague, not an exam. Think out loud, check in at transitions, define a term the first time you use it, and when you are unsure, say what you would need to know to decide. A design with a known weakness that you named yourself scores better than one with a hidden weakness the interviewer had to find.

Practice it

Before your next session, write out the six steps of the framework with the time budget beside each, from memory. Then take a full interview and follow it:

Practise this in a mock interview

Try what this lesson covers out loud: the AI interviewer asks one of these questions, follows up, and scores your answer.

Read next