A load test shows p99 latency jumps from 120 ms to 2 s at 800 RPS, while CPU is only 45%.
IntermediateScenarioCapacity & Load Testing
Answer
Situation read → Not CPU-bound. Something else saturates: a connection pool, thread pool, locks, a downstream service, or network limits.
What I'd do →
- Check pool metrics: DB connections in use vs max, HTTP client pool, worker threads.
- Check downstream latency in traces at the same load.
- Check CPU throttling (
container_cpu_cfs_throttled_periods_total), not just usage. - Look at DB locks and slow queries during the test.
- Fix the bottleneck (pool size, query, concurrency) and re-test.
Why → Utilization of one resource does not tell you capacity; the first saturated resource does.
Interview tip → Apply USE: check saturation of every resource on the request path.
More on Capacity & Load Testing
Marketing announces a campaign that will bring 5x normal traffic in three weeks. Prepare.IntermediateYou're asked how many pods are needed for Black Friday. Walk through the calculation.IntermediateYour HPA scales out during spikes, but users still see errors for the first 2 minutes.AdvancedA soak test shows memory climbing steadily over 8 hours. What's next?BeginnerThe load test passed in staging, but production fell over at half that load.AdvancedYou need to add load testing to CI for every release without making the pipeline slow.Intermediate