Definition · Arrival rate, service time, service rateThe arrival rate λ is the mean number of arrivals per unit time. The mean service time S is how long one server takes over one job. The service rate μ = 1/S is how many jobs that server can finish per unit time when it never waits for work.
Both λ and μ are rates and S is a duration. Keeping that straight is the whole of this lesson, because the two quantities a designer is handed are usually a rate (requests per second, from a dashboard) and a duration (a service time in milliseconds, from a trace), and they cannot be divided until one of them has been turned into the other's kind.
Example · A 1 ms service under 800 requests a secondS = 1 ms is 1/1000 of a second, so μ = 1000 per second. Then ρ = 800/1000 = 4/5: the server is busy four fifths of the time. It is not 800 times too slow and it is not running at 800; it has a fifth of itself spare.
Definition · UtilisationThe utilisation ρ = λ/μ is the long-run fraction of time a single server is busy. It is dimensionless: a rate divided by a rate. Equivalently it is the offered load measured in servers — ρ = 4/5 says the work offered would keep four fifths of one server occupied.
λ = 800 / s S = 1 ms = 1/1000 s
μ = 1/S = 1000 / s
ρ = λ/μ = 800/1000 = 4/5 busy 4 s in every 5
1 − ρ = 1/5 the headroom a burst lands in
Doubling the service time halves μ, and ρ doubles with it. This is the cheapest sensitivity on the course and the one most often missed: nothing about the offered traffic has to change for a system to cross ρ = 1. A slower dependency, a larger payload, a colder cache — each of them moves μ and therefore moves ρ.
Example · The same 800 requests a second into a 2 ms serviceS = 2 ms gives μ = 500 per second, so ρ = 800/500 = 8/5. The load did not change. The service time did, and that was enough to put the system above one.
What ρ ≥ 1 actually means
At ρ ≥ 1 work arrives at least as fast as it can be finished, so the amount waiting has no long-run average at all. It grows at λ − μ per second for as long as the condition lasts. That is a straight line, not a queue, and quoting a queue length for it is the first mistake this course can catch.
λ = 1200 / s μ = 1000 / s
λ − μ = 200 / s the line's slope
after one minute 200 × 60 = 12 000 waiting
after one hour 200 × 3600 = 720 000 waiting
Below one the queue does settle, and the rest of this course is about what it settles at. The one thing to carry forward from here is that ρ is the input to all of it: every later formula is a function of ρ alone, and the closer ρ is to one the more violently that function moves.