Search GimmeJob

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

Which risks and test oracles matter most for latency percentiles with bursty arrivals?

Answer

Prioritize the risks that could invalidate the user or business outcome before turning business demand and reliability expectations into a representative workload and measurable hypothesis. Focus on latency percentiles 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 latency percentiles
  • models realistic workload
  • correlates latency with resources and correctness
  • measurable evidence and residual-risk statement

Practical example

During a traffic burst, p50 latency stayed flat while p99 latency spiked for almost a minute as queued requests waited behind the burst, a pattern a steady-load test never revealed. The key risk was that averages and even p50 can hide burst-driven tail latency, so the oracle was a burst-shaped load test asserting p99 stays within budget during and shortly after the burst.

#performance#resilience#latency-percentiles

Sources

Grafana k6 documentationGrafana Labs · Performance test modelling, execution and metricsGoogle SRE booksGoogle · Reliability, SLOs, monitoring, incidents and resilience