Queuing Theory

Layers of Management ThoughtLayer 9: Tools and TechniquesTheoryAlso known as Queueing theory, Waiting-line theory

From Agner Krarup Erlang's 1909 paper on probability and telephone conversations, taken further by David Kendall's 1953 analysis of queues and John Little's 1961 proof of the formula L = λW.

The mathematics of waiting lines: how arrivals, service times, and the number of servers determine how long people wait and how long the line grows, and why waiting rises steeply as a server nears full use.

Mechanics waiting at a parts counter with one clerk who serves 12 an hour

Mechanics arrive at random and the clerk handles twelve requests an hour. Set how many arrive each hour and read how busy the clerk is against how long each mechanic waits. The wait climbs steeply as the clerk nears full use. Illustrative.

10.0
Share of time the clerk is busy
83%
Mechanics waiting on average
4.2
Average wait for a part
25 min
What a mechanic experiences
A short waitA wait that costs repair timeA wait that stalls the whole shop

Average wait, minutes

025507510066.577.588.599.51010.51111.5025507510066.577.588.599.51010.51111.5

An example

A service depot had one clerk at its parts counter. Mechanics arrived about ten times an hour at random moments, and the clerk handled about twelve requests an hour. The clerk was busy five-sixths of the time, and the depot manager took that as a sign of a well-run counter.

The mechanics saw something else. Each waited, on average, about twenty-five minutes for a part, and each of those minutes was paid time at a stalled repair. When the depot took on more work and arrivals rose to eleven an hour, the wait more than doubled to about fifty-five minutes, though the clerk was busy only eight points more of the time.

The manager applied the standard result for a single-server queue and saw that waiting climbs sharply as the clerk's load approaches full use. A second clerk for the busy hours brought the wait down to under two minutes. The cost of the clerk was a fraction of the mechanics' idle time, and repairs were finished sooner.

The core idea

A queue has three parts: an arrival process that says how customers come, a service process that says how long each takes, and a number of servers. Queuing theory shows how these produce a waiting line. With random arrivals and random service times, a line forms even when the server is free much of the time, because arrivals bunch up.

The central insight is that waiting is not proportional to load. For a single server with random arrivals and service times, the average wait before service equals the utilization divided by one minus the utilization, times the service time. At fifty percent utilization that is one service time, at eighty percent four, at ninety percent nine, and at ninety-five percent nineteen. A system that looks efficient by its utilization can be failing the people in the line. Little's law ties the line's length to the arrival rate and the wait, which allows one to be inferred from the others.

The thinking behind it

Agner Krarup Erlang Agner Krarup Erlang joined the Copenhagen Telephone Company in 1908 to head its new laboratory. His 1909 paper, on probability and telephone conversations, showed that telephone calls placed at random arrive in the pattern of the Poisson distribution, and it made a start on the problem of delay. Later formulas gave the loss and waiting time for a given number of lines, and telephone companies in several countries used them to size exchanges. The problem was a practical one: finding how many lines and operators a given amount of random traffic needs. He is described as having founded traffic engineering and queueing theory, and in 1946 the unit of telephone traffic was named the erlang.

David G. Kendall David Kendall's 1953 paper, Stochastic Processes Occurring in the Theory of Queues and their Analysis by the Method of the Imbedded Markov Chain, starts from a difficulty: most real queues lack the memoryless property that makes the simplest cases easy to solve. His device was to watch the system only at chosen moments, such as the instant before each arrival, where it does behave like a Markov chain. With it he worked out waiting times for queues with several servers and with gaps between arrivals drawn from any distribution.

John D. C. Little John Little's 1961 paper, A Proof for the Queuing Formula: L = λW, showed that for a stable system the average number of units in it equals their average arrival rate times the average time each spends there. The result holds under very general conditions, and it does not depend on the details of the arrival or service pattern. It lets a manager who can count the units in a system and the rate at which they arrive find the average time they spend, and the reverse.

Where it sits in the layers

Queuing Theory sits in Layer 9, Tools and Techniques, because it is a portable calculation that inventory planning, staffing, and capacity planning all use. From above it takes the view in System Dynamics that a queue is a stock that fills when arrivals exceed service and drains when they fall behind. Its sibling is Little's Law, and the Theory of Constraints in Layer 6 reaches a related conclusion about the slowest step. Below it, the daily work is a staffing schedule and a dashboard of waiting times. The common mistake is to ask it to set service quality. It computes how long people will wait under a given staffing, and whether that wait is acceptable depends on what customers will tolerate.

How organizations put it to work

Operations or service planning usually owns queuing analysis, with finance supplying the cost of waiting and of idle capacity. It changes three things. Decisions: staffing is set from arrival data by hour and a chosen waiting standard, in place of average load. Routines: the team collects arrival counts and service times, reviews them each season, and tests staffing changes against the model before they are made. Measures: the company tracks waiting time by hour, abandonment, and the share of time servers are busy, with a ceiling on utilization for functions where demand varies.

Sustaining it takes data that records waiting as well as the work completed, and managers who accept some idle capacity as the price of short waits. In the first year a leader should expect the data to reveal peaks that averages hid, a first argument over how much idle time is acceptable, and surprise at how fast waiting grows near full load. The return is steadier service, fewer lost customers or stalled workers, and less dependence on the one supervisor who knows when to add staff.

Where it goes wrong

The first failure is chasing utilization. A manager is praised for a ninety-five percent busy rate and queues grow without limit. The sign is a function that looks efficient and has the longest complaints.

The second is assuming the arrival and service patterns. The simplest formulas assume random arrivals and exponential service times. Real arrivals come in bursts after a campaign or a failure, and service times vary more than the formula allows. The sign is a model that predicts waits well below the observed ones.

The third is leaving out behavior. People abandon long lines, jump to shorter ones, and arrive differently when they learn the wait. The sign is a queue that fills with repeat contacts.

Related and rival frameworks

  • Little's Law. Links the number in a system, the arrival rate, and the time spent. The quick check when the data for a full model is missing.
  • Markov Chains. A way of modeling systems that move between states. The pick when the question is which state something will be in next, where queuing theory answers how long it waits.
  • Theory of Constraints. Treats the slowest step as the limit of the whole flow. Use it when the question is where in a process to add capacity.

Go to the source

Back to the catalog