What is it?
Models of requests waiting for servers. With exponential (memoryless) arrivals and services, the M/M/1 queue gives closed formulas: as utilization , waiting time explodes like — why systems are run well below full capacity.
Formulas
The mathematics behind it
Poisson arrivals have exponential inter-arrival times — the basis of M/M/1 models of servers.
Little's law relates expected queue length and expected waiting time.
In an M/M/1 queue the number of customers is geometric: .
Latency percentiles (p99) are quantiles of the response-time distribution.
Exercises
A service handles req/s. Compare the mean response time at , and req/s (M/M/1).
Solution
: 20 ms, 100 ms and 1 s. Going from 90% to 99% utilization multiplies latency by 10.
This page has the essentials. A fuller treatment (intuition, formal definition, worked example) is on the way.