Estimation and Capacity Sizing Questions

Structured back-of-the-envelope estimation for engineering systems: decomposing a system's load into requests per second, storage, bandwidth, memory, connections and machine counts from stated assumptions, turning average load into a provisioned peak with headroom, sizing shards, partitions and nodes, estimating the infrastructure cost those resources imply (storage, egress, requests, compute), using latency and throughput reference numbers, arriving at a defensible order-of-magnitude answer, and sanity-checking it. The fast approximate reasoning probed in system-design and engineering screens. Market sizing, business-impact and general Fermi estimates, project effort and schedule estimation, business-case arithmetic, statistical inference, and the choice of scaling strategy are covered elsewhere.

MediumTechnical
69 practiced

A teammate's back-of-the-envelope estimate says a photo service needs 4 petabytes of new storage per day for 10 million daily uploads. Find what is wrong with the estimate, explain the checks that catch this kind of error (units, bits versus bytes, per-second versus per-day, order of magnitude against a known system), and give a corrected figure.

MediumTechnical
89 practiced

A new microtransaction feature is expected to process $50M of gross volume a year at an average of $2 per transaction. Assuming 20% of daily volume lands in a single peak hour, estimate average and peak transactions per second, and explain what that implies for how you would provision the payment path and what headroom you would want.

MediumTechnical
83 practiced

A chat service keeps a persistent connection open for every online user. With 20 million daily active users and a peak of 4 million concurrent connections, estimate the memory and the number of connection servers needed, and explain which per-connection costs dominate the estimate.

MediumTechnical
69 practiced

An application emits 2 billion events a day, averaging 1 KB each, into a log-based message broker such as Kafka. Estimate the peak ingest throughput, the number of partitions needed if one consumer handles about 5 MB/s, and the disk needed for 7 days of retention with a replication factor of 3.

EasyTechnical
82 practiced

Roughly how long does it take to read 1 GB sequentially from memory, from an SSD, from a spinning disk and over a 1 Gbps network, and to make a round trip within a data centre versus across a continent? Show how you would use those orders of magnitude to decide whether a design that reads a 1 GB file on every request can meet a 100 ms latency target.

Unlock Full Question Bank

Get access to all 9 Estimation and Capacity Sizing interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.