Search GimmeJob

Type at least 2 characters. Enter also searches by meaning.
QA interview question
Performance & resilienceMiddleOccasionalScenario

How would you approach capacity limits with bursty arrivals?

Answer

Start by turning business demand and reliability expectations into a representative workload and measurable hypothesis. Focus on capacity limits with bursty arrivals. Use service-level objectives, resource telemetry and correctness under load as the oracle. Cover steady, spike, stress, soak, degradation and recovery behavior. Keep data and dependencies controlled enough to reproduce failures. Release only when thresholds are met without hidden errors, data loss or unsafe retry amplification.

Strong answer includes

  • explicit risk and test oracle for capacity limits
  • models realistic workload
  • correlates latency with resources and correctness
  • measurable evidence and residual-risk statement

Practical example

A service's documented capacity limit assumed a smooth arrival rate, but a marketing notification once sent a burst well below the documented limit in total volume that still caused overload, because the burst arrived faster than the autoscaler could react. The approach was defining capacity limits as a function of both sustained rate and burst rate, then testing against both.

#performance#resilience#capacity-limits

Sources

Grafana k6 documentationGrafana Labs · Performance test modelling, execution and metricsGoogle SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resiliencePrometheus alerting practicesPrometheus · Symptom-based actionable alerts, metamonitoring and noise reduction