Interview Prep/SRE & Reliability/Capacity, Load Testing & Chaos Engineering

What is Little's Law and how is it useful for SREs?

AdvancedConceptCapacity, Load Testing & Chaos Engineering
Answer

L = λ x W: the average number of requests in the system equals the arrival rate times the average time each spends in the system.

500 RPS x 0.2 s latency = 100 concurrent requests in flight
if latency rises to 2 s: 500 x 2 = 1,000 in flight

It tells you how many concurrent connections, threads, or DB pool slots you need, and why latency increases cause sudden resource exhaustion: a slow dependency multiplies in-flight requests, filling pools and queues.

All SRE & Reliability questions Roadmap: SRE & incident response

More on Capacity, Load Testing & Chaos Engineering