What is the peak-to-average ratio and how does it influence your workload target?
Last updated
Peak-to-average ratio = peak throughput ÷ average throughput (e.g. 5,000 rps peak vs 1,000 rps average = 5:1).
Systems fail at the peak, not the average, so set the load target from historical peaks plus a growth/safety margin.
Bursty workloads have high ratios and need extra headroom. Spike tests should model the ramp shape of surges, not just the ceiling.
- https://medium.com/codeelevation/ai-became-a-linkedin-influencer-using-only-chatgpt-until-someone-called-me-out-a055b4f7a764
- https://k6.io/docs/test-types/load-test-types/
- https://k6.io/docs/testing-guides/api-load-testing/
- https://grafana.com/load-testing/types-of-load-testing/
- https://www.impactqa.com/blog/a-step-by-step-guide-to-planning-a-performance-testing-strategy-for-high-traffic-applications/
- https://prachub.com/resources/capacity-planning-interview-questions-for-senior-engineers-traffic-bottlenecks-and-headroom