How much service capacity do you need so that customers or jobs wait an acceptable time, given random arrivals?
When to use it
Use it for first-pass sizing of a service desk, checkout, repair bench, ticket queue or server, to see how much capacity buys in waiting time, and to explain why a resource with enough average capacity still has queues.
Where it comes from
Queueing theory has its origins in the research of Agner Krarup Erlang, who modelled the incoming calls at the Copenhagen Telephone Exchange Company. David Kendall's 1953 paper introduced the method of the embedded Markov chain and the A/S/c notation. The year of Erlang's original work is not given here.
Agner Krarup Erlang and David G. Kendall · 1909
Sheet 2/4
How it works
In an M/M/1 queue, arrivals come at average rate lambda and one server completes jobs at rate mu. Utilisation is rho = lambda / mu, and the queue is stable only if rho < 1. In the steady state the chance of n jobs in the system is (1 - rho) x rho^n, giving an average of L = rho / (1 - rho) jobs in the system and an average time in the system of W = 1 / (mu - lambda). Because the formulas have (1 - rho) in the denominator, waiting time rises steeply near full load. Randomness, not average shortage of capacity, creates queues. Little's Law ties L and W together, and Kendall's notation A/S/c names the model type.
You need
Average arrival rate, average service rate, number of servers, and a check that arrivals are roughly random and the system is stable.
You get
Utilisation, average number in queue and system, average wait and time in the system, and the probability of waiting.
Sheet 3/4
Case
Illustrative case
The Larkfield help desk receives 9 tickets an hour (lambda) and one agent resolves 10 an hour (mu). Utilisation is 0.9, so L = 0.9 / 0.1 = 9 tickets in the system, and W = 1 / (10 - 9) = 1 hour. Tickets wait on average 0.9 hours, or 54 minutes, before work starts. Management proposes a second agent but first tests a tooling fix that raises the service rate to 12 an hour. Then rho = 0.75, L = 3, and W = 1 / (12 - 9) = 20 minutes. A 20% faster service cuts average time in the system by two thirds, a result a simple capacity comparison would miss.
A fictional company used to explain the model.
Sheet 4/4
Caution
When to avoid it
Do not use M/M/1 when arrivals come in bursts or on schedule, service times are not roughly exponential, there are several servers, or priorities and abandonment matter.
Use a better-matched model or simulation.
It also gives only long-run averages.
Common mistakes
Aiming for 100% utilisation.
Assuming Poisson arrivals without checking the data.
Using M/M/1 for queues with several servers.
Reading averages as guarantees for each customer.
Ignoring that service times with high variability make waits longer than the model predicts.
Known weaknesses
M/M/1 assumptions of random arrivals and exponential service rarely hold exactly.
Only describes steady-state averages, not a day with a surge.
A single server and an infinite queue are simplifications.
Results can mislead if data is not checked against the assumptions.
How to apply it in 6 steps
How to apply it
Queueing theory (M/M/1 queue)
6 steps
01of 6
Step 1 of 6: Define the system
Identify the customers, the server, and where the queue starts and ends.
01
02of 6
Step 2 of 6: Estimate lambda and mu
Measure the average arrival and service rates over a typical period.
02
03of 6
Step 3 of 6: Check the assumptions
Look at whether arrivals are roughly random and service times resemble an exponential spread.
03
04of 6
Step 4 of 6: Compute the measures
Use rho, L, W and queue wait from the M/M/1 formulas.
04
05of 6
Step 5 of 6: Test scenarios
Change the service rate or arrival rate and see the effect on wait.
05
06of 6
Step 6 of 6: Move to a richer model if needed
For several servers, priorities or non-random flow, use a different model or simulate.
06
Click to unfold
Use the arrow keys to move between steps, Home and End for the first and last, and Enter to fold or unfold the booklet.
View all 6 steps
01
Define the system
Identify the customers, the server, and where the queue starts and ends.
02
Estimate lambda and mu
Measure the average arrival and service rates over a typical period.
03
Check the assumptions
Look at whether arrivals are roughly random and service times resemble an exponential spread.
04
Compute the measures
Use rho, L, W and queue wait from the M/M/1 formulas.
05
Test scenarios
Change the service rate or arrival rate and see the effect on wait.
06
Move to a richer model if needed
For several servers, priorities or non-random flow, use a different model or simulate.
Which decisions it helps with
Decision profile
A tool to choose between options on processes and operations.
Keyboard: Tab to the sheet, use the arrows to explore the assessments and their questions, and press Escape to close the note.
IIdentity
Type of tool
Other formatDoes not fit neatly into the available categories
The questionWhat kind of tool is it?Assessment · Other format · 50 %
Decision stage
Choose between existing optionspossiblealso: prepare for what might happen (35 %)
The questionWhat stage of the decision are you at?Assessment · Choose between existing options · 50 % · also Prepare for what might happen · 35 %
What it applies to
Processes and operationsvery likely
The questionWhat is the decision about?Assessment · Processes and operations · 99 %
Discipline
Lean, operations and qualityvery likely
The questionWhich discipline does it come from?Assessment · Lean, operations and quality · 85 %
IIIResources required
TimeOne hour or lessThe questionHow much time can you spend on this?Assessment · One hour or less · confidence 93 %
PeopleOne person working aloneThe questionHow many people will take part?Assessment · One person working alone · confidence 88 %
DataQuantitative analysisThe questionWhat data do you have available?Assessment · Quantitative analysis · confidence 61 %
ExpertiseAnyone who has read a page of instructionsThe questionDoes anyone have experience with methods like these?Assessment · Anyone who has read a page of instructions · confidence 72 %
Time horizonBetween “days or weeks” and “a few months”The questionHow far ahead do you need to plan?Assessment · Between “days or weeks” and “a few months” · confidence 8 %
ScopeA unit or departmentThe questionWho will this decision affect?Assessment · A unit or department · confidence 76 %
FrequencyOccasionallyThe questionIs this a one-off decision or something you expect to repeat?Assessment · Occasionally · confidence 68 %
The team’s own knowledge is enoughThe questionCan you speak to customers, users or people outside your organisation?Assessment · The team’s own knowledge is enough
IITen axes
The dot shows which end the model favours. A hollow dot means no clear preference.
DirectionExecutionThe questionAre you setting direction or improving day-to-day operations?Assessment · Execution · confidence 62 %
Top-downBottom-upThe questionShould leadership set the direction, or should the answer come from the people doing the work?Assessment · Top-down · confidence 61 %
PeopleProcessesThe questionIs this mainly a people problem or a process problem?Assessment · Processes · confidence 96 %
Generate optionsNarrow down optionsThe questionDo you need to generate more options or narrow them down?Assessment · Mostly narrow down options · confidence 74 %
Step-by-step analysisIntuition and experienceThe questionWould you rather work through the evidence step by step or draw on the group’s experience?Assessment · Step-by-step analysis · confidence 57 %
A strict sequence of stepsA flexible frameworkThe questionWould you prefer a precise set of steps or a framework you can adapt?Assessment · Mostly prescribed steps · confidence 65 %
Protect what we haveTake a riskThe questionDo you need to protect what you have or take a chance on something new?Assessment · Mostly protect · confidence 61 %
Improve what we haveFundamental changeThe questionDo you want to improve what you have or change it fundamentally?Assessment · Improve what we have · confidence 79 %
Inside the organisationOutside the organisationThe questionWhere do you expect to find the answer, inside your organisation or in the market?Assessment · Mostly inside · confidence 62 %
Understand firstAct nowThe questionDo you need to understand the situation first or act now and learn as you go?Assessment · Mostly understand first · confidence 72 %
IVUseful when
Our projects keep running late or going over budgetThe questionWhich of these situations sounds familiar?Assessment · a situation I face → useful · 94 %
Applicable traits
CriteriaUses one criterion or an overall impressionThe questionDo you need to weigh several criteria at once?Assessment · Uses one criterion or an overall impression · 87 %
How was this profile calculated?
An automated system reads each model card and answers the same questions for every model. This profile has answers for 77 of 77. No answers are entered by hand.
A very high probability counts as “yes” and a very low one as “no”. Intermediate answers are hidden.
On the axes, mixed means the model favours neither end.
Byrd, J. (1978). The Value of Queueing Theory. Interfaces 8(3): 22-26.Objects that documented real implementations of queueing models with proven savings are "few if not nonexistent", and uses student case studies to show why textbook models rarely fit real systems.View source: The Value of Queueing Theory (opens in a new tab) ↗
Practical guide
Thomas, M. U. (1976). Queueing Systems. Volume 1: Theory (Leonard Kleinrock) - review. SIAM Review, vol. 18, pp. 512-514.Crossref record confirms a SIAM Review review of Kleinrock's Queueing Systems, Volume 1: Theory, a standard text; used here as evidence that the book exists, not for its content.View source: Queueing Systems. Volume 1: Theory (Leonard Kleinrock) - review (opens in a new tab) ↗
Gross, D., Shortle, J. F. and Thompson, J. M. (2008). Fundamentals of Queueing Theory. Wiley (Series in Probability and Statistics).Crossref record confirms the title, Gross, Shortle and Thompson as authors, Wiley, 2008, with chapters on simple Markovian queueing models.View source: Fundamentals of Queueing Theory (opens in a new tab) ↗