InterviewStack.io LogoInterviewStack.io

Scalability & Capacity Planning Questions

Analyzing how a system's performance changes as load grows and planning the resources to keep it healthy. Covers horizontal vs vertical scaling, throughput vs latency under load, headroom and saturation, load modeling, and forecasting capacity for expected traffic. Includes identifying the scaling bottleneck that will bind first as demand increases.

EasyTechnical
95 practiced
You are designing instrumentation for a RESTful product search API. Enumerate the essential metrics, logs, and traces you would collect to analyze latency, errors, and throughput. For each metric specify collection frequency, cardinality concerns, suggested dashboards or panels, and example alert thresholds (e.g., p99 > 1s). Indicate which metrics should be aggregated and which should be tagged at high cardinality.
EasyBehavioral
83 practiced
You can only fix one of three issues right now: a bug impacting 5% of revenue, a performance bug that increases p99 latency, or a developer-flakiness slowing deployments. Explain how you would prioritize the fixes and justify your decision to engineering, product, and sales stakeholders. Include metrics and risk considerations in your reasoning.
EasyTechnical
82 practiced
Define backpressure in distributed systems and describe two implementation patterns for HTTP-based services and two patterns for message or streaming systems. For each pattern list advantages, limitations, and scenarios where you would prefer it (for example, HTTP 429, gRPC flow control, token-bucket admission, or queue-depth backpressure).
HardTechnical
137 practiced
A product requires SLOs of p99 latency < 200ms and 99.99% availability. Describe an SLO-driven capacity planning approach: define load profiles, determine headroom and safety margins, propose autoscaling policies and cooldowns, set error budget burn-rate alerts, and design load tests (including edge cases) to validate compliance. Explain how you would present capacity recommendations to stakeholders.
MediumTechnical
67 practiced
Explain how rate limiting and backpressure can be combined in a distributed event ingestion pipeline to prevent downstream overload while preserving acceptable client experience. Include token-bucket parameters, retry policies, upstream pushback mechanisms, and how to treat bursty traffic and priority tenants.

Unlock Full Question Bank

Get access to hundreds of Scalability & Capacity Planning interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.