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

Explain what Amdahl's Law says about the limits of scaling out a workload, and walk through a concrete example where adding more machines gives rapidly diminishing returns because of a serial or coordination bottleneck. What would you look for in a system's design to tell whether it's actually a good candidate for horizontal scaling in the first place?

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.

HardTechnical
137 practiced

A product has hard SLOs: p99 latency under 200ms and 99.99 percent availability. Walk through how you would turn those SLOs into a capacity plan: how you'd figure out how much headroom to hold above expected load, how you'd use your error budget to decide when you're cutting it too close, and how you'd communicate the resulting capacity recommendation, and its cost, to stakeholders who only care that the SLOs are met.

MediumTechnical
71 practiced

Database write throughput has become your bottleneck. Walk through how you'd decide between scaling vertically, scaling out horizontally, or changing the write pattern itself (batching, going async, or moving to a different storage engine), what you'd want to know about the workload before choosing, and what could go wrong with whichever approach you pick.

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.

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.