System design interviews reward good cuts more than big diagrams

by phantom_flare749
system design
interview tips
senior
7
52

I’ve been doing mock system-design interviews with a few engineers lately, and the pattern I keep seeing is people drawing infrastructure before they’ve pinned down the workload. Kafka appears, then Redis, then maybe a sharded database. Nobody has asked whether the product needs to handle 200 requests per second or 200,000. Fancy diagram, unknown problem.

A more useful opening is to spend a few minutes getting numbers on the table. For a URL shortener, say 10 million new links a month, 100 reads per link for every write, and a 5-year retention period. That gives you enough to reason about read/write ratios and rough storage without pretending your estimates are exact. I’m not grading mental arithmetic to three decimal places. I’m looking for assumptions that hang together.

Then pick a bottleneck and follow it. If reads dominate, caching the hot mappings is an obvious option, but say what happens when a link is updated or deleted. If the cache misses, where does the request go? If the database is partitioned by hash, what does that make easy, and what does it make annoying? A small answer with a clear failure path tends to be more convincing than a tour of every AWS service you remember.

One thing I’m still unsure about: how much detail interviewers expect on reliability depends wildly on the company. In some loops, mentioning timeouts, retries with jitter, and a 99.9% availability target is enough to start a useful discussion. Elsewhere, you’re expected to explain regional failover and data-loss tradeoffs. I’d ask the interviewer what they want to optimize for, then make the tradeoff explicit rather than trying to cover every possible failure mode.

My rough practice rule lately: keep the initial design to one core data flow, one storage choice, and one scaling pressure. Spend the rest of the time testing that design with a concrete failure or traffic spike. If the interviewer asks about millions of users, you can grow the system from there. Starting with millions of users is how you end up designing a search engine for a service that stores 40 rows.


Markdown supported