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
121 practiced

Your service averages 2,000 requests per second over a day. Walk through how you would estimate the peak you must provision for, using the daily traffic curve, weekly and seasonal patterns and a launch-day spike, and turn that peak into a server count when one server handles 400 requests per second at the target latency.

EasyTechnical
88 practiced

You are asked to size a URL shortener before designing it: 100 million new short links a month and a read-to-write ratio of 100 to 1. Estimate the write and read requests per second at average and at peak, and the storage needed for five years of links. State every assumption and sanity-check the result.

MediumTechnical
66 practiced

A relational database holds 30 TB today, grows by 50 GB a day and must absorb 40,000 writes per second at peak. If one node comfortably handles 5,000 writes per second and 4 TB of data, estimate how many shards you need today and in two years, and which constraint drives the number.

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
80 practiced

Estimate the peak outbound bandwidth and the monthly data egress for a video streaming service with 5 million daily viewers who each watch about an hour a day across a mix of resolutions. Show how the bitrate mix and the evening peak change the answer, and what the egress figure implies for serving it from a CDN.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.