DSA Tracker

System design

System design interview practice

Beta

A system design interview asks you to design a large service, such as a URL shortener or a chat app, in about 45 minutes with no single right answer. Interviewers score how you structure the problem, not whether you match a diagram. Each prompt below is practice: write your own answer first, then check it against what a strong answer covers.

The five steps every answer follows

  1. 1. Clarify. Ask what the system must do and what is out of scope before you draw anything.
  2. 2. Estimate. Turn users into requests per second and bytes, so your design has a size.
  3. 3. Draw. Name the components and how a request flows through them.
  4. 4. Go deep. Pick the two or three hardest parts and explain how they work.
  5. 5. Trade off. Say what you gave up and what would change your mind.