I keep spending too long on the requirements part of system design
by galaxy_alchemy208
1
18
I’ve been practicing design interviews with prompts like “design a URL shortener” and “design a news feed,” and I keep running into the same problem: I spend 15 minutes clarifying requirements, then have to rush through the actual design. But when I skip questions, I end up designing features nobody asked for.
A time limit that’s been working better for me is about 5 minutes for scope and traffic estimates. I’ll pin down the main user flows, rough read/write volume, and one or two constraints that change the architecture. For a feed, for example, whether it needs to feel fresh within seconds matters more than getting an exact DAU estimate right. I’ll state assumptions out loud rather than trying to interrogate the interviewer into giving me perfect numbers.
Then I draw the simplest version that could plausibly work: API, storage, and the path through the system for a key request. For a URL shortener, that might just be a write path to create the mapping and a cache-backed read path for redirects. Once that’s clear, I can talk about partitioning, replication, or what happens when a popular link gets hammered. Starting with Kafka and six microservices usually makes the discussion harder, not more impressive.
One thing I’m still unsure about is how much detail to give on databases. I used to compare PostgreSQL, Cassandra, and DynamoDB every time. Now I try to name the access pattern first, then explain why a particular choice fits it. “We need fast lookups by short code, and we don’t need joins on the redirect path” is more useful than listing database features. Still, I worry I’m underselling trade-offs if I keep it that brief.
The best practice sessions I’ve had were with someone who interrupted me with changes, like “traffic is 10x higher than that” or “users need deletes to take effect immediately.” That forced me to explain what I’d change instead of reciting a prepared architecture. I’m trying to leave enough time for that part now, because adapting the design seems to reveal more than drawing a very polished first diagram.