Skip to content
About
Main content
Recurring principle

Queues explode near full load

Response time explodes as utilization nears 100%.

What it is

For one server with random arrivals and random service times, the average response time is

where S is the average service time. Do not memorize the formula; look at the shape:

Utilization ρResponse time R
0.5 (50%)2 × S
0.8 (80%)5 × S
0.9 (90%)10 × S
0.9520 × S
0.99 (99%)100 × S

It is a hyperbola with a wall at 100%, so **the last few percent of utilization cost more than the first eighty.

From Physical Substrate & Performance Laws › Little's Law and queues

The headroom argument is the practical point. At ρ = 0.8, a 25% traffic increase gives ρ = 1.0: the queue grows without limit. At ρ = 0.5, the same 25% gives 0.625 and response time rises only from 2 × S to 1/(1 − 0.625) = 2.67 × S. You do not buy average speed with headroom. You buy the ability to absorb variance without falling off a cliff.

From Physical Substrate & Performance Laws › Little's Law and queues

Queueing law. Contention-allocated resources cost 1/(1 − ρ). Anything whose capacity is shared and claimed opportunistically has a cost curve that is flat, then nearly vertical. Design the operating point, not the capacity.

From Core Data Structures › Hash tables

Where it appears

In 8 mechanisms. Each says what the mechanism is about, then how this principle shows up there, in its own words.

Made on the same pages most often.