Queueing model

Queueing model

In queueing theory, a queueing model is used to approximate a real queueing situation or system, so the queueing behaviour can be analysed mathematically. Queueing models allow a number of useful steady state performance measures to be determined, including:

* the average number in the queue, or the system,
* the average time spent in the queue, or the system,
* the statistical distribution of those numbers or times,
* the probability the queue is full, or empty, and
* the probability of finding the system in a particular state.

These performance measures are important as issues or problems caused by queueing situations are often related to customer dissatisfaction with service or may be the root cause of economic losses in a business. Analysis of the relevant queueing models allows the cause of queueing issues to be identified and the impact of proposed changes to be assessed.


Queuing models can be represented using Kendall's notation:


* A is the interarrival time distribution
* B is the service time distribution
* S is the number of servers
* K is the system capacity
* N is the calling population
* Disc is the service discipline assumed

Many times the last members are omitted, so the notation becomes A/B/S and it is assumed that K = {infty}, N = {infty} and Disc = FIFO.

Some standard notation for distributions (A or B) are:
* M for a Markovian (exponential) distribution
* Eκ for an Erlang distribution with κ phases
* D for Degenerate (or Deterministic) distribution (constant)
* G for General distribution (arbitrary)
* PH for a Phase-type distribution


Construction and analysis

Queueing models are generally constructed to represent the steady state of a queueing system, that is, the typical, long run or average state of the system. As a consequence, these are stochastic models that represent the probability that a queueing system will be found in a particular configuration or state.

A general procedure for constructing and analysing such queueing models is:
# Identify the parameters of the system, such as the arrival rate, service time, queue capacity, and perhaps draw a diagram of the system.
# Identify the system states. (A state will generally represent the integer number of customers, people, jobs, calls, messages, etc. in the system and may or may not be limited.)
# Draw a state transition diagram that represents the possible system states and identify the rates to enter and leave each state. This diagram is a representation of a Markov chain.
# Because the state transition diagram represents the steady state situation between state there is a balanced flow between states so the probabilities of being in adjacent states can be related mathematically in terms of the arrival and service rates and state probabilities.
# Express all the state probabilities in terms of the empty state probability, using the inter-state transition relationships.
# Determine the empty state probability by using the fact that all state probabilities always sum to 1.

Whereas specific problems that have small finite state models can often be analysed numerically, analysis of more general models, using calculus, yields useful formulae that can be applied to whole classes of problems.

ingle-server queue

Single-server queues are, perhaps, the most commonly encountered queueing situation in real life. One encounters a queue with a single server in many situations, including business (e.g. sales clerk), industry (e.g. a production line), transport (e.g. a bus, a taxi rank, an intersection), telecommunications (e.g. Telephone line), computing (e.g. processor sharing). Even where there are multiple servers handling the situation it is possible to consider each server individually as part of the larger system, in many cases. (e.g A supermarket checkout has several single server queues that the customer can select from.) Consequently, being able to model and analyse a single server queue's behaviour is a particularly useful thing to do.

Poisson arrivals and service

M/M/1/infty/infty represents a single server that has unlimited queue capacity and infinite calling population, both arrivals and service are Poisson (or random) processes, meaning the statistical distribution of both the inter-arrival times and the service times follow the exponential distribution. Because of the mathematical nature of the exponential distribution, a number of quite simple relationships are able to be derived for several performance measures based on knowing the arrival rate and service rate.

This is fortunate because, an M/M/1 queuing model can be used to approximate many queuing situations.

Poisson arrivals and general service

M/G/1/infty/infty represents a single server that has unlimited queue capacity and infinite calling population, while the arrival is still Poisson process, meaning the statistical distribution of the inter-arrival times still follow the exponential distribution, the distribution of the service time does not. The distribution of the service time may follow any general statistical distribution, not just exponential. Relationships are still able to be derived for a (limited) number of performance measures if one knows the arrival rate and the mean and variance of the service rate. However the derivations are generally more complex.

A number of special cases of M/G/1 provide specific solutions that give broad insights into the best model to choose for specific queueing situations because they permit the comparison of those solutions to the performance of an M/M/1 model.

Multiple-servers queue

Multiple (identical)-servers queue situations are frequently encountered in telecommunications or a customer service environment. When modelling these situations care is needed to ensure that it is a multiple servers queue, not a network of single server queues, because results may differ depending on how the queuing model behaves.

One observational insight provided by comparing queuing models is that a single queue with multiple servers performs better than each server having their own queue and that a single large pool of servers performs better than two or more smaller pools, even though there are the same total number of servers in the system.

One simple example to prove the above fact is as follows: Consider a system having 8 input lines, single queue and 8 servers.The output line has a capacity of 64 kbit/s. Considering the arrival rate at each input as 2 packets/s. So, the total arrival rate is 16 packets/s. With an average of 2000 bits per packet, the service rate is 64 kbit/s/2000b = 32 packets/s. Hence, the average response time of the system is 1/(μ − λ) = 1/(32 − 16) = 0.0625 sec.Now, consider a second system with 8 queues, one for each server. Each of the 8 output lines has a capacity of 8 kbit/s. The calculation yields the response time as 1/(μ − λ) = 1/(4 − 2) = 0.5 sec.And the average waiting time in the queue in the first case is ρ/(1 − ρ)μ = 0.03125, while in the second case is 0.25.

Infinitely many servers

While never exactly encountered in reality, an "infinite-servers" (e.g. M/M/infty) model is a convenient theoretical model for situations that involve storage or delay, such as parking lots, warehouses and even atomic transitions. In these models there is no queue, as such, instead each arriving "customer" receives service. When viewed from the outside, the model appears to delay or store each "customer" for some time.

See also

* Queueing theory
* Jackson network
* Birth-death process
* Evacuation process simulation
* Simulation language

External links

* [http://simpy.sourceforge.net/SimPyDocs/TheBank.html Example: Simulating Queues in a Bank]
* [http://jmt.sourceforge.net Java Modeling Tools - A GPL suite of queueing network tools for capacity planning studies]
* [http://www.ee.unimelb.edu.au/staff/mzu/classnotes.pdf An Introduction to Queueing Theory and Stochastic Teletraffic Models by M. Zukermam]

Wikimedia Foundation. 2010.

Look at other dictionaries:

  • Queueing theory — is the mathematical study of waiting lines (or s ). The theory enables mathematical analysis of several related processes, including arriving at the (back of the) queue, waiting in the queue (essentially a storage process), and being served by… …   Wikipedia

  • Queueing delay — In computer engineering, a queueing delay is the time a job waits in a queue until it can be executed. This term is most often used in reference to routers. When packets arrive at a router, they have to be processed and transmitted. A router can… …   Wikipedia

  • Traffic generation model — A traffic generation model is a stochastic model of the traffic flows or data sources in a communication network, for example a cellular network or a computer network. A packet generation model is a traffic generation model of the packet flows or …   Wikipedia

  • Newell-Daganzo Merge Model — Variables included in Newell Daganzo merge model represented on diagram of merging traffic branches. In traffic flow theory, the Newell Daganzo merge model describes a simple procedure on how to determine the flows exiting two branch roadways and …   Wikipedia

  • Human information processor model — Human processor model or MHP (Model Human Processor) is a cognitive modeling method used to calculate how long it takes to perform a certain task. Other cognitive modeling methods include parallel design, GOMS, and KLM (human computer… …   Wikipedia

  • Neil J. Gunther — Neil James Gunther Neil Gunther at Bletchley Park 2002 A quantum leap is neither Born …   Wikipedia

  • Birth-death process — The birth death process is a special case of Continuous time Markov process where the states represent the current size of a population and where the transitions are limited to births and deaths. Birth death processes have many application in… …   Wikipedia

  • Call centre — A very large collections call centre in Lakeland, Florida. A call centre or call center is a centralised office used for the purpose of receiving and transmitting a large volume of requests by telephone. A call centre is operated by a company to… …   Wikipedia

  • List of mathematics articles (Q) — NOTOC Q Q analog Q analysis Q derivative Q difference polynomial Q exponential Q factor Q Pochhammer symbol Q Q plot Q statistic Q systems Q test Q theta function Q Vandermonde identity Q.E.D. QED project QR algorithm QR decomposition Quadratic… …   Wikipedia

  • Kendall's notation — In queueing theory, Kendall s notation (or sometimes Kendall notation) is the standard system used to describe and classify the queueing model that a queueing system corresponds to. First suggested by D. G. Kendall in 1953 as a 3 factor A/B/C… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”

We are using cookies for the best presentation of our site. Continuing to use this site, you agree with this.