Interview Prep/SRE & Reliability/Capacity & Load Testing

Your capacity plan assumes linear scaling, but adding pods beyond 40 doesn't increase throughput.

AdvancedScenarioCapacity & Load Testing
Answer

Situation read → A shared bottleneck limits throughput: database, lock contention, a singleton component, or a third-party limit.

What I'd do →

  1. Identify the shared resource that saturates as pods increase: DB connections, CPU on the primary, Redis single-thread CPU, a global lock.
  2. Check for coordination costs: cache invalidation fan-out, leader election.
  3. Fix: connection pooling proxy, read replicas, sharding, removing global locks, async processing.
  4. Update the capacity model with the real limit.

Why → Horizontal scaling only works until a shared resource saturates (Amdahl's law in practice).

Interview tip → Mention Amdahl's law or the Universal Scalability Law.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity & Load Testing