How a system design interview is graded
The five things on the scorecard, how the bar moves from mid-level to staff, what interviewers write down, and a study plan for the time you have.
Related chapters
- Start here in System Design
- The delivery framework: five phases and a clock
- Numbers to know: what one machine can really do
- System Design Concepts: CAP, SQL vs NoSQL, Message Queues
- SQL vs NoSQL: How to Choose a Database (System Design)
- Traffic Jumps 10×: What Breaks First? (System Design)
- Proxy vs Load Balancer vs API Gateway (System Design)
- CAP Theorem Explained Simply, with Examples
- Why Use a Message Queue? System Design Explained
- Message Queue vs Pub/Sub vs Kafka: Differences
- Polling vs Long Polling vs SSE vs Webhooks (System Design)
- API design in System Design
- REST vs GraphQL vs gRPC: Choosing an API (System Design)
- API Goals Canvas: Design APIs from the Consumer
- REST API Design: Resources, Methods, Status Codes
- HTTP Semantics, Richardson Maturity Model and HATEOAS
- GraphQL Explained: Over-fetching, Schema, N+1 Problem
- RPC and gRPC Explained: Protobuf, HTTP/2, When to Use
- API Design Best Practices: 9 Principles with Examples
- API Payload Design: Names, Types, Links and Errors
- Mapping Database Tables to API Resources, Step by Step
- API Design for Complex Schemas: Trees, Polymorphism, Bookings
- API Pagination, Idempotency Keys, Errors and Versioning
- Network-Efficient APIs: HTTP Caching, ETags, Field Selection
- Async APIs: 202 Accepted, Webhooks and Bulk Operations
- API Versioning and Evolution Without Breaking Clients
- API Contracts: OpenAPI, Contract Testing and Docs
- API Security: Authentication, Authorization, Rate Limiting
- OAuth 2, OpenID Connect and Scopes for APIs
- OWASP API Top 10 Explained: BOLA, SSRF and More
- Running APIs: Gateways, Mesh, Rate Limits, Canaries
- API Troubleshooting Interview: Slow APIs and Unexpected Errors
- API Design Review: A Staff-Level Capstone
- Spotify Web API: Resources, IDs, Payloads and Paging
- Spotify Web API: OAuth PKCE, Scopes, Quotas, Rate Limits
- Spotify Web API Changes: Real API Evolution Lessons
- Database-heavy designs in System Design
- Design a Distributed Key-Value Store (System Design Interview)
- Design a Hotel Reservation System (System Design Interview)
- Design a Digital Wallet (System Design Interview)
- Design S3-like Object Storage (System Design Interview)
- Games in System Design
- Shard City: Learn Database Sharding by Playing a Game
- System Design Case Studies: Flash Sale, Chat, ChatGPT
- Flash Sale System Design: Who Gets the Last Item
- Food Delivery App System Design: Which Database?
- Cache Stampede: Why the Database Fell Over and the Fix
- Live Streaming System Design: Scaling for a Final
- ChatGPT System Design: Streaming LLM Responses
- RAG System Design: Product Q&A on Sale Day
- IRCTC Tatkal System Design: Booking Under Extreme Load
- Group Chat System Design: WebSockets and Fan-Out
- Authentication in System Design: Sessions, JWT, OAuth
- Authentication Methods Compared: Sessions, JWT, OAuth
- JWT in System Design: Sessions, Revocation, Refresh Tokens
- JWT Interview Questions and Answers
- Life of a session, step by step
- JWT Structure Explained: Header, Payload, Signature
- Forge lab: why verification must be strict
- JWT vs Session Authentication: Which to Use
- The validation pipeline: where a bad request dies
- How to Revoke a JWT: Blocklists and Short Expiry
- Refresh Tokens and Rotation Explained
- Logout in depth: one device, all devices, SSO
- JWT Security Best Practices
- OAuth 2.0 and OpenID Connect Explained
- Where to Store JWT: localStorage vs HttpOnly Cookie
- JWT in Microservices: API Gateway vs Service Validation
- Microservices, keys, and trust boundaries
- Sender-constrained tokens: making a stolen token useless
- Authentication vs Authorization Middleware
- Failure explorer: what breaks when X fails
- Capacity planner: sessions vs JWT vs hybrid
- Edge cases catalog
- Test it, measure it, migrate to it
- Anti-patterns to reject in a design review
- Design checklist and cheat sheet
Keep learning
Overview
Turns a vague prompt into a short list of features and numbers. Ends with a design that works end to end, every requirement traced to a box. Goes deep where the system is hard and knows how parts fail. Names the alternative, what it costs, and the number that would flip the choice. Keeps the interviewer oriented, takes hints, and asks before diving. SDE 2 · L4 · E4 You drive the first half. The interviewer may steer the deep dive, and that is fine. One deep dive, often chosen by the interviewer. Lists the core features and asks about scale. Numbers can be rough. A complete, working high-level design. This is the main thing being graded. Explains how the components work: what an index does, why a cache helps. Knows SQL vs NoSQL, sync vs async, and can say one reason for each choice. Clear, organised, and responds well when nudged. Runs out of time with no end-to-end design, or cannot explain a box they drew. SDE 3 · L5 · E5 You drive the whole interview. The interviewer mostly listens and probes. Two or three deep dives that you pick, aimed at the hardest requirement. Sets numbers per feature (latency, consistency, read/write ratio) and uses them later. Finishes the basic design quickly to leave time for depth. Spots the bottleneck before being asked and fixes it with specific technology. Compares two real options with numbers, and says when they would switch. Staff · L6 · E6 and above You drive and also decide what is worth discussing. The interviewer should learn something. Few deep dives, but each at production depth: failure, operations, cost, migration. Challenges the prompt: what the business needs, what can be cut, what will change in a year. Draws on real systems: how it fails at 3 a.m., how it is monitored, how it is rolled out. Weighs cost, team ownership, operability and time to build, not only latency. Over-engineering for problems the numbers do not show, or reciting patterns with no judgement. What does my level need? Same question, different bar. Pick a level and read what each axis expects. Breadth (basic design) Depth (deep dives) Before I draw anything: I am assuming about 100 reads per write and that a feed a few seconds stale is fine. Does that match what you have in mind? Two numbers that decide the design, said out loud and checked. Everything later can point back to them. We will put Kafka in the middle because it is scalable. “Scalable” is not a reason. Say what Kafka gives here (replay, many consumers, ordering per key) and what it costs (another system to run, eventual consistency). Peak is about 1,200 writes a second. One Postgres primary handles several thousand simple writes, so I will not shard. Past about 10k I would shard by user_id. A number, a real limit, a decision, and the point where the decision changes. This is what senior signal sounds like. Let me also cover the admin dashboard, the analytics pipeline, notifications and the ML ranking model. Boiling the ocean. You cannot go deep on anything in 45 minutes. Name these as out of scope and move on. Interviewer: what if the cache node dies? Candidate: it will not, we will use a managed one. Everything dies. Say what happens next: misses go to the database, so either it can take the load or you need replicas and request coalescing. For the feed I have two options. Fan-out on write makes reads cheap but a celebrity post means 10 million writes. I will do fan-out on write for normal users and pull for celebrities. Both options, the cost of each with a number, and a hybrid that matches the data. Textbook. (Draws silently for six minutes, then turns around.) So, this is the design. The interviewer cannot grade what they did not hear. Think aloud while you draw, even if it feels slow. Raise or lower the signal? Seven things candidates say. Decide how each one lands with the interviewer. Pick an answer for each line. ▲ raises signal ▼ lowers signal How the interview is graded This page. Know the bar before you study for it. The delivery framework The five phases and the clock. Use it for every practice run. Numbers to know What one box can do. Stops you from sharding things that fit in RAM. SQL vs NoSQL Every design picks a store. Pick by the query. CAP theorem Consistency per feature. Comes up in nearly every deep dive. Flash sale (case study) Contention: many users, one item. The most-asked pattern. Group chat (case study) Real-time updates and fan-out over open connections. Practice: two timed mock designs out loud Reading is not practice. Say it, time it, record it. What to cache, how it expires, and how a miss sinks the database. Proxy vs load balancer vs gateway The boxes between client and server, and which one each problem needs. Queues, pub/sub and logs SQS, SNS, RabbitMQ and Kafka by how they behave inside. Polling vs long polling vs SSE vs webhooks Every live feature asks how updates reach the client. Pick by direction and delay. Cache stampede (case study) The follow-up after “add a cache”. Food delivery (case study) One app, several stores, each chosen by its query. Tatkal (case study) Booking under extreme contention, with holds and locks. Practice: three more mocks, one per day Swap roles with a friend. Grading someone else teaches the rubric. Database design framework Seven steps for data-heavy questions: keys, access patterns, partitions. Consistent hashing Add a server and move a slice, not everything. Why message queues exist The problems queues fixed, and what they cost. Authentication methods and JWT Sessions, tokens, OAuth: the auth follow-up every design gets. Live final, ChatGPT, product Q&A (case studies) Spikes you can predict, streaming tokens, and retrieval. Quora, TikTok, Airbnb, Snapchat Four data-heavy designs worked step by step. Practice: a mock every other day Aim for ten in total. Track where the clock went each time. How much time do you have? Each plan keeps the items that move the score most. Later items are struck out, not deleted, so you can see what you are skipping. Time until the interview 2 days 1 week 3+ weeks Framework, numbers, two concepts, two designs, two mocks. Adds caching, sharding, queues and four more designs. The whole course, with a mock every other day. system design · start here How a system design interview is graded Forty-five minutes, one vague prompt, no single right answer. What the interviewer writes down, how the bar moves from mid-level to staff, and a study plan for the time you have. You are not taking an exam. You are in a design review with a future colleague, and they are asking: would I trust this person to design the next system on my team? They judge how you think: what you ask, what you choose, what you leave out, and how you explain it. The final diagram matters less than how you got to it.
1. What the interview is, and what it is not
The prompt is short on purpose: “Design WhatsApp”, “Design a rate limiter”, “Design Tatkal booking”. Most of the signal comes from how you turn it into a problem small enough to solve in 45 minutes, and then from how deep you go on the part that is really hard. How candidates treat it An exam with a hidden answer key. Recite the reference architecture for “Design Twitter”, draw every box they know, and hope the right ones are in there. How interviewers run it A conversation with a colleague. Clarify, propose something simple, find where it breaks, fix that part properly, and say what each choice costs. Vague prompt “Design a URL shortener” Scoped problem 3 features, 4 numbers Working design every feature has a path Hard part solved the bottleneck, fixed properly Trade-offs named what it costs, when to switch The arc of a passing interview. Each arrow is a place you can lose the interviewer.
2. The kinds of design interview
Product design Build a user-facing product: chat, feed, booking, ride-hailing. The most common round. This course. covered here Infrastructure design Build a component other teams use: rate limiter, job scheduler, distributed cache, message queue. This course. Data and database design Schema, keys, access patterns, partitioning. Common at data-heavy companies. Frontend system design A UI as a system: state, caching, rendering, the network lying to you. Low-level design Classes and interfaces for a parking lot or an elevator. Object modelling, not distributed systems. ML / AI system design Training data, features, serving, evaluation. The LLM-serving side is in the ChatGPT and product Q&A case studies.
3. The five things on the scorecard
Rubrics differ in wording, but they grade the same five things. Most guides fold trade-offs into the other four. We list it separately because it is where a senior answer most often differs from a mid-level one.
4. Lab: the same question at three levels
The question does not change between levels. The bar does. The biggest shift is time: mid-level candidates spend most of the hour getting a design to work, while staff candidates finish that in minutes and spend the rest on the hard parts. Levelling differs by company. Treat the labels as a guide, and if you are on the line between two levels, prepare for the higher one: a senior answer at a mid-level loop is never a problem.
5. Lab: what the interviewer writes down
Interviewers take notes on what you say, then map them to the scorecard. Here are seven lines from real-sounding interviews. Sort them before you read the reasons.
6. Four ways good engineers fail this round
The clock Twenty minutes on requirements, no time for depth. Use a timer when you practise. Box soup Twelve boxes, none explained. Draw fewer, and trace a request through each one. “Kafka for scale, Cassandra for availability.” Every name needs a reason tied to a number. Happy path only
7. How to use this course
Every page follows the same shape: the problem first, the idea in plain words, a lab you can break, the mistakes interviewers listen for, and a short cheat code to say in the room. Case studies add a 30-second answer, the answer that loses the round, and the follow-up to expect. You are interviewing for senior. At minute 30 you have a working design and no deep dives yet. What is the risk? None, the design works You look mid-level: senior needs depth you chose yourself You should restart with a better design For senior, a working design is the entry ticket. The grade comes from deep dives you drive, so aim to finish the basic design by about minute 20. Which of these is a trade-off, not just a choice? “We use Redis.” “Redis is fast.” “Redis keeps reads under 1 ms, but a failover can lose the last second of writes, so it holds only data we can rebuild.” A trade-off names what you gain, what you give up, and why that is acceptable here. The interviewer asks a question that seems off-topic. Best move? Answer briefly and steer back Treat it as a hint: they are pointing at a weakness Say it is out of scope Interviewers rarely ask idle questions. A question about something you skipped usually means the rubric wants it. It is a design review, not an exam: think aloud and check in. Scope hard, then finish a simple working design before going deep. Every technology you name gets a reason and a number. Senior and above: you pick the deep dives, aimed at the hardest requirement.
Next
→ The delivery framework: five phases and the clock · Numbers to know
More courses
- Jobs, linked to lessons — Browse jobs where every requirement links to the chapter that teaches it. See how ready you are, how long the gap takes to close, and which listings look stale.
- Match a job post to courses — Paste a job post. Each skill is matched to a track here and put in learning order, foundations first.
- React patterns from open source — Patterns extracted from Material UI, Radix, React Aria, React Hook Form, Redux Toolkit, TanStack, and Next.js — not slides about hooks.
- Databases in depth — How a query becomes work. Indexes, isolation, locks, and the plans that explain why a page is slow — not an ORM tour.
- NestJS: build a real API — One ticket-booking API, built in order: a plain Node server first, then NestJS modules, validation, a real database, and the features real clients lean on.
- Microservices — Microservice patterns one diagram at a time: how to split a monolith, how services talk, and how data stays consistent without distributed transactions.
- Kafka — A beginner-to-senior path through event logs, reliable delivery, production operations, and disaster recovery.
- AI engineering for software engineers — Eight free reads, in order, for software engineers moving into AI: when to build an agent, how to build one, how to test it, and how the model works underneath.
- Frontend system design — How a UI is sliced when it is a product, not a page: ownership of state, cache, routes, and what happens when the network lies.
- TypeScript in depth — The type system as a design tool. Inference, narrowing, generics, and the errors that mean the model is wrong — not a catalog of utility types.
- CSS in depth — See the box, then the page. Visual chapters from the box model through Flexbox surprises, Grid, selectors, and units, then backgrounds, shapes, and visual effects, each with a playground.
- Accessibility — Foundations first (WCAG in plain words, semantic HTML, lists, alt text), then hands-on HTML labs, a full pass of WAI-ARIA 1.3, and a final fix-the-page challenge.
- Docker — What an image is, why layers cache, and how containers find each other on a network.
- Redis — Fifteen Redis patterns, one picture each: cache, session, lock, counter, rate limiter, queue, and when Redis is the wrong tool.
- Kubernetes — Kubernetes from zero to operators: why it exists, Pods, Deployments and Services, then configuration, networking, storage, scheduling, scaling and security.
- AWS — AWS networking in plain English. A VPC is a gated housing society: streets are subnets, the Internet Gateway is the main gate, and a route table is the signboard.
- Networking: the NetRoute game — NetRoute is a packet logistics game. You wire up computers, switches, routers, firewalls and gateways, set each device, and watch glowing packets travel. If a packet gets dropped, the game shows you which header field was wrong.