Search GimmeJob

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

How would you approach latency percentiles during a downstream slowdown?

Answer

Start by turning business demand and reliability expectations into a representative workload and measurable hypothesis. Focus on latency percentiles during a downstream slowdown. 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

When a downstream inventory service slowed down, the service's average latency barely moved because most requests didn't touch inventory, but its p99 spiked badly for the requests that did. The approach was tracking latency percentiles broken down per dependency path rather than one blended number, so the localized impact was visible instead of hidden in the average.

#performance#resilience#latency-percentiles

Sources

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