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.

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.

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
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.

HardTechnical
76 practiced

Estimate the annual storage and bandwidth cost for a global image service with 100M monthly active users, about 500 photos per user, an average original of 2MB, 3x replication, and thumbnails totalling 10% of the original size. Storage costs $0.02 per GB-month and egress to the CDN is $0.08 per GB. Show your calculations, tell me which assumptions matter most, and where you would look for savings.

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 12 Estimation and Capacity Sizing interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.