Interview Prep/SRE & Reliability/Capacity & Load Testing

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 →

  1. Check pool metrics: DB connections in use vs max, HTTP client pool, worker threads.
  2. Check downstream latency in traces at the same load.
  3. Check CPU throttling (container_cpu_cfs_throttled_periods_total), not just usage.
  4. Look at DB locks and slow queries during the test.
  5. 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.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity & Load Testing