Pattern/Operations and Risk/No. 0801
Queueing Theory
Queueing theory is the mathematical study of how jobs arrive, wait and get served. It grew from Agner Krarup Erlang’s work on phone traffic in 1909. In operations research, it explains how load, spare capacity and variation in arrivals and service times shape delays.
Also called Queuing Theory · Waiting Line Theory
- Evidence
- Well established
- Read
- 6 min
- Links
- 9 connections
01You've seen this when…
- in life
The grocery checkout moves steadily until one customer needs a price check. Four more shoppers arrive during the pause, and the line reaches into the aisle.
- at work
At the office printer, a coworker starts a 200-page handout just before the morning meeting. Everyone else’s print jobs pile up behind it, and you’re still waiting for your two-page agenda when the meeting starts.
- out in the world
A licensing office books every counter slot. One complicated renewal takes forty minutes, and the delay follows the clerk through the afternoon.
02The idea
A spare service slot lets a backlog shrink. When a server stays busy most of the time, each busy spell leaves little room to catch up. A few closely spaced arrivals or one unusually slow job can create a queue that lasts long after the disturbance ends.
Queueing theory describes this using arrivals, service times, available servers and the rules for choosing who goes next. A server might be a cashier, a machine, a clinician or a software process.
Utilization is the fraction of available service capacity being used. Under common conditions, waiting times rise steeply as utilization approaches 100%. This is the utilization–variability trade-off: keeping capacity busy leaves less room to absorb uneven demand.
Little’s law connects the visible backlog to delay. For a stable system, the average number of jobs inside it equals throughput multiplied by average time spent inside it. Include both waiting jobs and jobs being served, and keep the units consistent.
03Why it happens
- Arrivals come unevenly. Ten customers over an hour might arrive six minutes apart, or eight might arrive together. Those patterns create different waits even though the hourly average is identical.
- Jobs take different amounts of time. A long appointment occupies the clinician while everyone else keeps arriving. With one server, every waiting person inherits that delay. More variable service times generally increase average waiting under standard queueing assumptions.
- Recovery requires spare capacity. If a desk can finish ten jobs an hour and receives nine, it has room to clear roughly one extra job an hour on average. A burst of five extra jobs can therefore leave hours of backlog.
- The delay curve gets steeper. In a common single-server approximation, average waiting includes the factor utilization divided by one minus utilization. That factor is 4 at 80% utilization and 9 at 90%. The shrinking capacity cushion produces a nonlinear rise in delay.
This also explains why improving a busy bottleneck can have a large effect on overall turnaround. Saving a few minutes there gives every later arrival more room to move through.
04A worked example
Consider an illustrative help desk with one analyst. Handling a ticket takes twenty minutes on average, so capacity is three tickets an hour. Tickets arrive at an average rate of 2.4 an hour, giving 80% utilization.
For this example, assume independent arrivals at a constant average rate, called a Poisson process, and exponentially distributed handling times: many short jobs, with some much longer ones. Tickets wait in arrival order. These are the standard M/M/1 model assumptions.
What it looks like The analyst has 20% spare capacity. Managers expect most tickets to receive prompt attention because average demand fits within capacity.
What’s actually going on Under these assumptions, the average wait before service is eighty minutes. Including handling, average turnaround is one hundred minutes. If arrivals rise to 2.7 an hour, utilization reaches 90% and average waiting rises to three hours. Individual waits vary around these averages.
What would have helped Setting a turnaround goal, measuring arrival and handling-time patterns, and choosing capacity against that goal. Flexible backup during busy periods or fewer unusually long tickets could reduce delay. The exact benefit needs a model fitted to the desk’s workload.
05How to spot it
06What to do about it
- Measure variation alongside averages. Record arrivals by hour and the distribution of service times. Check whether long jobs, clustered arrivals or unavailable staff explain the worst waits.
- Choose capacity against a waiting-time goal. Decide how much delay is acceptable, including for urgent cases. Use observed patterns to estimate the capacity cushion needed. Slack resources give a queue room to recover.
- Smooth demand where possible. Spread appointments, stagger releases and avoid sending a day’s work downstream in one batch. The batch size trade-off includes the delay created while work accumulates and then arrives together.
- Pool compatible capacity. A shared line feeding several servers reduces cases where one server is idle while another has a queue. Pooling works best when servers can handle the same jobs without large switching costs.
- Control how work enters. A work in progress limit can keep a team from starting more than it can finish. Account for the upstream waiting it creates. If demand persistently exceeds capacity, additional capacity, reduced demand or explicit rationing is still needed.
Test changes against both average turnaround and the longest waits that matter. Averages can conceal a small group of customers facing severe delays.
07Where it doesn’t guarantee congestion
Perfectly regular arrivals and service can sustain full utilization without a queue: one job arrives every twenty minutes, and each takes exactly twenty minutes. Randomness makes the capacity cushion important.
Numerical predictions depend on the model. Several servers, priorities, customers abandoning the line, finite waiting space and changing arrival rates all alter the result. The help-desk calculation applies to its stated assumptions; a hospital or software system needs a different fit.
Priority rules also distribute delay. Giving urgent cases faster service can lengthen the waits of everyone behind them. Evaluate those consequences alongside the overall average.
08Roots
In early twentieth-century Copenhagen, Agner Krarup Erlang worked on a telephone company’s capacity problem. Calls used physical circuits between exchanges. Too few circuits meant callers found them occupied; extra circuits cost money and often sat idle.
Erlang began publishing his probability work on telephone traffic in 1909. Call arrivals and call lengths gave him a way to calculate congestion instead of sizing the network by guesswork. Telephone systems made the trade-off unusually visible: the company paid for capacity, while callers experienced the consequences when it ran out. Some early models studied calls that were blocked entirely; later models also described calls waiting for service.
The mathematics spread into factories, repair shops, transport and computing, becoming part of operations research. Each setting supplied different objects for the same basic problem. A broken machine waiting for a mechanic and a message waiting for a processor could be studied through their arrival rates, service times and available capacity.
09How solid is this?
Core results are mathematical theorems under stated assumptions, with extensive applications in telecommunications, service operations and computing. Numerical predictions depend on how well the model captures arrival patterns, service times, staffing and queue rules.
10Connections
- Countered by Slack Resources
- Part of Nonlinearity
- IncludesLittle's Law
- See alsoBatch Size Trade-Off, Work in Progress Limit, Bottleneck, Utilization-Variability Trade-Off, Stocks and Flows, Theory of Constraints
11Origin and sources
Agner Krarup Erlang’s research on telephone traffic, beginning in 1909 at the Copenhagen Telephone Company, laid the foundations of queueing theory.
- [1]Gross, D., Shortle, J. F., Thompson, J. M., & Harris, C. M. (2008). Fundamentals of Queueing Theory (4th ed.). Wiley.
- [2]Kingman, J. F. C. (1961). The single server queue in heavy traffic. Proceedings of the Cambridge Philosophical Society, 57(4), 902–904.
- [3]Little, J. D. C. (1961). A Proof for the Queuing Formula: L = λW. Operations Research, 9(3), 383–387.
Updated 2026-10-05