Scalability & Capacity Planning Questions

Analyzing how a system's resource needs change as demand grows, and deciding what scaling strategy and headroom to plan for ahead of that growth. Covers translating a stated growth trajectory, for example doubling in six months, a 10x seasonal spike, or a step-change in active users, into a headroom and saturation forecast: how much spare capacity exists today, when it runs out, and what safety margin to hold under forecast uncertainty. Covers the horizontal-versus-vertical scaling decision, including why horizontal scaling itself has diminishing returns as coordination overhead grows with node count, and identifying which resource becomes the binding constraint first as demand increases. Also covers weighing that plan against cost and communicating the trade-off to non-technical stakeholders such as finance or product. This is forward-looking planning, not execution: it does not cover provisioning or autoscaling mechanics, live incident triage, profiling an already-slow code path for hotspots, tail-latency measurement and tracing, or caching and concurrency design patterns, each its own discipline.

HardTechnical
69 practiced

You need to build a capacity plan for a data-serving fleet that sees seasonal spikes up to 10x its baseline load. Walk through which metrics you'd track to forecast the spikes (traffic, CPU, latency, queue lengths), how you'd decide between pre-warming capacity ahead of time versus reserving it on standby, and how you'd weigh the cost of holding that headroom against the availability risk of not having it.

HardTechnical
75 practiced

Describe how you would perform capacity planning for a service projected to double its traffic in the next 6 months. Include how you'd calculate headroom, what scaling strategy you'd pick, what workloads you'd benchmark to validate your numbers, and how you'd weigh cost against performance.

MediumTechnical
74 practiced

Describe your approach to capacity planning for a stateful service with predictable growth and seasonal spikes. Include the data sources you'd pull from, the forecasting methods you'd use, how you'd set a headroom policy, the cost trade-offs involved, and how you'd test that your capacity assumptions actually hold before the next peak period.

MediumSystem Design
92 practiced

Your product is moving from 100K to 1M monthly active users over the next three months. Walk through the capacity ramp plan you'd put together: how you'd model the resource growth at each stage, what you'd test before each stage to validate your assumptions, and how you'd manage cost so expenses stay predictable rather than spiking ahead of the growth.

HardTechnical
94 practiced

A service's request rate spikes to roughly 10x its normal load for one hour every day. Walk through how you'd plan for this: would you keep dedicated headroom on standby for that hour, scale into it dynamically, or reshape the workload itself so it doesn't need the peak capacity at all, and what would drive that choice? How would you keep cost under control for the other 23 hours a day?

Unlock Full Question Bank

Get access to all 11 Scalability & Capacity Planning interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.