Search GimmeJob

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

How would you approach load models at normal and peak traffic?

Answer

Start by turning business demand and reliability expectations into a representative workload and measurable hypothesis. Focus on load models at normal and peak traffic. 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

A load test built entirely from average daily traffic missed that peak-hour traffic had a very different mix of request types, with far more search queries and fewer checkouts. The approach was building two separate load models from real production traffic samples, one for a normal hour and one for the historical peak hour, and running both before each major release.

#performance#resilience#load-models

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