Interview glossary

What is a system design interview?

A system design interview asks you to architect a large-scale system out loud, from requirements and APIs to storage, scaling, and failure handling. It evaluates judgment and tradeoff reasoning more than a single correct answer.

Interview glossary

What to know

Requirements first

Clarify functional and non-functional requirements, scale estimates, and constraints before drawing anything.

Components and data

Lay out APIs, services, storage, caching, and queues, and explain why each choice fits the requirements.

Tradeoffs

Discuss latency, availability, consistency, cost, and failure modes, and defend your decisions.

Interview glossary

Worked example: a 45-minute URL shortener round

A common prompt, paced the way interviewers expect: requirements and estimates first, then design, then tradeoffs.

Requirements and scale

Shorten and redirect URLs. Assume 100 million new links a month, about 40 writes a second, and ten times as many reads.

API

POST /urls returns a short code; GET /{code} redirects to the original URL.

IDs and storage

Seven base62 characters give 62 to the power of 7, about 3.5 trillion codes. A key-value store maps code to URL.

Read path

Cache popular codes close to the redirect service, since reads far outnumber writes.

Tradeoffs

Discuss hot keys, custom aliases, link expiry, and moving click analytics to an asynchronous queue so redirects stay fast.

Interview glossary

Responsible use

Use any live AI assistant only where interview, workplace, school, and platform rules allow it. Do not use generated answers to misrepresent your skills, experience, or authorship.

FAQ

Common questions.

How do I prepare for system design?

Practice a repeatable framework: requirements, high-level design, deep dives, and tradeoffs, then rehearse common problems.

What level needs system design?

Most mid-level and senior software roles include at least one system design round, with depth increasing by level.

What do interviewers look for in a design answer?

Amazon's SDE II prep page lists practicality, accuracy, efficiency, reliability, optimization, and scalability as key objectives, and encourages questions that clarify and validate the design.