Interactive Queueing Theory: Real-Time Analysis of M/M/c Systems
This paper demonstrates the interactive capabilities of the Research platform by exploring M/M/c queueing systems with a live calculator. Readers can adjust parameters in real-time to understand how arrival rates, service rates, and server counts affect queue performance.
Introduction
Queueing theory provides mathematical models to analyze waiting lines and service systems. The M/M/c queue is a fundamental model where:
- M (Markov): Arrivals follow a Poisson process with rate
- M (Markov): Service times are exponentially distributed with rate
- c: Number of parallel servers
This model is widely used in call center staffing, hospital emergency room capacity planning, computer server resource allocation, and retail checkout lane optimization.
Mathematical Foundation
For an M/M/c queue to be stable, the traffic intensity per server must be less than 1:
where is the arrival rate (customers per unit time), is the service rate per server, and is the number of servers.
Key Performance Metrics
The probability that all servers are busy (Erlang C formula) is given by:
where is the offered load.
The mean waiting time in the queue is:
The mean queue length follows from Little’s Law:
Interactive Calculator
Use the calculator below to explore how different parameters affect queue performance. Adjust the arrival rate , service rate , and number of servers to see real-time changes in the metrics.
Adjust Parameters
Queue Performance Metrics
Parameters: λ = 20, μ = 1.5, c = 15
Understanding the Metrics
The calculator displays four key performance indicators:
-
Utilisation (): The proportion of time servers are busy. Higher utilisation means more efficient use of resources, but values approaching 100% lead to long queues.
-
Probability of Waiting : The likelihood that an arriving customer must wait. This equals , the Erlang C formula.
-
Mean Wait Time (): The expected time a customer spends waiting in the queue before service begins.
-
Queue Length (): The average number of customers waiting in the queue (not including those being served).
Practical Applications
Call Center Example
Consider a call center with:
- 30 calls per hour ()
- Each agent handles 4 calls per hour on average ()
- 10 agents available ()
The utilisation would be:
Use the calculator above to experiment with these values and see how adding or removing agents affects wait times.
Conclusion
Interactive calculators like the one in this paper enable readers to develop intuition for mathematical models by experimenting with parameters in real-time. This approach bridges the gap between theoretical equations and practical understanding.
References
-
Erlang, A. K. (1909). “The Theory of Probabilities and Telephone Conversations”. Nyt Tidsskrift for Matematik.
-
Kleinrock, L. (1975). Queueing Systems, Volume 1: Theory. Wiley-Interscience.
-
Gross, D., Shortle, J. F., Thompson, J. M., & Harris, C. M. (2008). Fundamentals of Queueing Theory. Wiley.