Interview Prep/SRE & Reliability/Capacity & Load Testing

You're asked how many pods are needed for Black Friday. Walk through the calculation.

IntermediateScenarioCapacity & Load Testing
Answer

Situation read → Use measured per-pod capacity, forecast peak, headroom and failure tolerance.

What I'd do →

  1. Forecast peak: last year's peak x growth (for example 3,000 RPS x 1.4 = 4,200 RPS).
  2. Measure per-pod capacity at SLO latency with k6 (say 200 RPS at p99 < 300 ms).
  3. Apply target utilization of 70%: 4200 / (200 x 0.7) = 30 pods.
  4. Survive losing one of three AZs: 30 x 1.5 = 45 pods.
  5. Check nodes, IPs, DB connections (45 pods x pool size), and dependency capacity.
  6. Pre-scale before the event.

Why → Capacity numbers must come from measurement plus explicit headroom for failure.

Interview tip → Always include the AZ-loss multiplier and the DB connection check.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity & Load Testing