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

Quantify cost versus performance when choosing between larger instance types (vertical scaling) with high single-instance throughput and horizontal scaling across many smaller instances. Outline a benchmark plan: what workloads you'd run, what metrics you'd collect (cost per request, latency percentiles, ops per second), how you'd compute amortized cost, and what business or technical thresholds would tip your recommendation toward one approach.

HardTechnical
84 practiced

Application servers and the primary database sit on the same network, and during peak traffic the link between them saturates, driving up query latency. Walk through how you'd confirm the network really is the binding constraint (and not something else), what you'd try first to buy headroom quickly, and what longer-term architectural change you'd make so this doesn't keep recurring as traffic grows.

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

A retail client expects 10x their baseline traffic for a 72-hour holiday sale. Walk through the capacity plan you'd put together: how much headroom you'd provision for, how you'd decide between holding that capacity ready in advance versus scaling into it as traffic ramps, and how you'd balance the cost of over-provisioning against the risk of falling over mid-sale. Propose three measurable commitments (SLAs or business metrics) you'd be comfortable promising the client.

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.

Unlock Full Question Bank

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

Sign in to Continue

Join thousands of developers preparing for their dream job.