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.
More on Capacity, Load Testing & Chaos Engineering
What is capacity planning in SRE?BeginnerWhat is N+1 and N+2 redundancy for capacity?BeginnerHow do you calculate how many instances you need?IntermediateWhat is the difference between load, stress, spike, soak and breakpoint testing?BeginnerWhat is k6 and why do SRE teams use it?BeginnerWrite a minimal k6 test with SLO thresholds.Intermediate