Skip to content
p.mba

Type to search tools, guides, glossary terms, frameworks, formula sheets and pages.

Menu

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

Wq=ρμ−λ,ρ=λμ(M/M/1)W_q = \frac{\rho}{\mu - \lambda}, \qquad \rho = \frac{\lambda}{\mu} \quad \text{(M/M/1)}
TeX source
W_q = \frac{\rho}{\mu - \lambda}, \qquad \rho = \frac{\lambda}{\mu} \quad \text{(M/M/1)}

Worked example

Hypothetical: a single ticket window serves 30 customers an hour and customers arrive randomly at 24 an hour. Utilization is 0.8, and the M/M/1 average wait in line is 0.8 / (30 − 24) hours = 8 minutes.

Try it in a tool

  • 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.

Courses

More in Queueing

All glossary terms