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 load models during a downstream slowdown?

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 load models 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 load models
  • models realistic workload
  • correlates latency with resources and correctness
  • measurable evidence and residual-risk statement

Practical example

When a downstream recommendation service slowed down, the upstream service's thread pool filled up waiting on it and stopped serving unrelated requests entirely. The main risk was resource exhaustion cascading from one slow dependency, and the oracle was a load test that artificially delays the downstream mock and asserts the upstream keeps serving other endpoints within its SLO.

#performance#resilience#load-models

Sources

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