Before you design anything, how do you run the capacity estimation for a new system — say a link-shortener doing a few hundred million reads a day — and how do those numbers actually change your design?

system-design · Staff-principal level · software-engineering

What the interviewer is really asking

Assesses whether the candidate treats back-of-envelope estimation as a design driver — converting traffic into QPS, storage, and bandwidth and letting those numbers pick the architecture — rather than reciting formulas for show.

What to say

What to avoid

Example answers

Strong: For a few hundred million reads/day I'd round to ~300M reads, so ~3,500 average read QPS, and apply a 4x peak factor for ~14,000 peak read QPS. Writes are maybe 1% of that — ~35 write QPS. That 100:1 ratio is the whole story: writes go to a single primary, reads are served from a cache plus read replicas, and I size the cache to hold the hot working set rather than the full corpus.

Weak: I'd estimate around 1.8 million QPS and use a microservices architecture with Kafka and Cassandra to handle the scale. (Number is implausibly high for the stated load and the architecture is chosen before the math justifies anything.)

Want questions matched to your role? Paste a job title, job description, or CV and get a personalized set, or go Pro to unlock the full bank.