Glossary · Queueing
Queueing Theory
Also called: waiting-line theory · queuing theory · M/M/1
The mathematical study of waiting lines, linking arrival rates, service rates, number of servers and variability to waits and queue lengths.
Definition
Queueing theory models systems in which customers or jobs arrive, wait if servers are busy, are served and leave. Its roots lie in Agner Krarup Erlang's work on telephone exchanges in the early 1900s, and David Kendall's notation, such as M/M/1 or M/M/c, names the arrival process, service distribution and number of servers. Its core lessons are that waiting rises nonlinearly as utilization approaches 100% and that variability in arrivals or service creates queues even when average capacity exceeds average demand. Managers use it to size staffing, set service levels and judge the value of pooling servers.
Formula
TeX source
W_q = \frac{\rho}{\mu - \lambda}, \qquad \rho = \frac{\lambda}{\mu} \quad \text{(M/M/1)}Worked example
Try it in a tool
Related terms
- Kingman's Formula: An approximation for the average wait in a single-server queue showing that waiting grows with variability and explodes as utilization nears 100%.
- Little's Law: In any stable process, average inventory equals average throughput rate times average flow time.
- Utilization: The share of a resource's available capacity that is actually used, equal to throughput divided by capacity.
- Risk Pooling: Combining uncertain demand streams, such as several warehouses into one, so random highs and lows offset and less total safety stock is needed.
- Capacity: The maximum rate of output a resource or process can sustain, such as units per hour.