Share on Facebook Share on Twitter Email
Answers.com

Queueing theory

 
Sci-Tech Dictionary: queueing theory
 
(′kyü·iŋ ′thē·ə·rē)

(mathematics) The area of stochastic processes emphasizing those processes modeled on the situation of individuals lining up for service.


Search unanswered questions...
Enter a word or phrase...
All Community Q&A Reference topics
Sci-Tech Encyclopedia: Queueing theory
 

The mathematical theory of the formation and behavior of queues or waiting lines. The name is also applied loosely to the mathematical study of a wide variety of problems connected with traffic congestion and storage systems. Uneven flow through a service point, with fluctuating arrivals and service times, constitutes a major topic of operations research. For the mathematician, queueing theory is particularly interesting because it is concerned with relatively simple stochastic processes, which are in general non-Markovian and possibly stationary. See also Operations research; Stochastic process.

The principal pioneer of queueing theory, A. K. Erlang, began in 1908 to study problems of telephone congestion. It is of interest to study the waiting times of subscribers in a manually operated system—for example, the average waiting time and the chance that a subscriber will obtain service immediately without waiting—and to examine how much the waiting times will be affected if the number of operators is altered, or conditions are changed in any other way. If there are more operators or if service can be speeded up, subscribers will be pleased because waiting will be reduced, but the improved facility will be more expensive to maintain; therefore, a reasonable balance must be struck.

Related problems in the use of automatic telephone exchanges and of long-distance lines able to carry only a limited number of messages simultaneously have resulted in much mathematical study of telephone traffic problems. Similar problems arise in other contexts. In a factory a number of machines, such as looms, may be under the care of one or more repairer. If a machine breaks down, it must stand idle until a repairer is free from repairing other machines. Machines here correspond to telephone subscribers, breakdown corresponds to attempts to make a call, and repair corresponds to connection. Other examples of congestion situations are aircraft flying around in circles waiting to use an airport landing strip, automobiles lining up at a turnpike toll booth, and customers lining up at the counter of a retail shop, waiting for service.

What is most interesting to investigate varies with the circumstances. Sometimes it is the mean waiting time of customers, sometimes the frequency with which the queue length exceeds a given limit, sometimes the proportion of the servers' time that is idle, and sometimes the average duration of a period during which a server is continuously occupied. In the study of stocking a warehouse or retail shop, known generally as the theory of inventories, the frequency with which the stock will be exhausted is considered under various reordering policies. Similar considerations apply in the theory of dams and water storage. See also Linear programming; Systems engineering.


 
Computer Desktop Encyclopedia: queuing theory
Top

The study of how systems with limited resources distribute those resources to elements waiting in line, and how those elements waiting in line respond. Examples include the distribution of cars on highways (including traffic jams), data through computer networks and phone calls through voice networks. Queuing theory is a complex area of engineering that is closely related to traffic engineering. See queuing and traffic engineering methods.

Download Computer Desktop Encyclopedia to your iPhone/iTouch

 

Study of the behaviour of queues (waiting lines) and their elements. Queuing theory is a tool for studying several performance parameters of computer systems and is particularly useful in locating the reasons for "bottlenecks," compromised computer performance caused by too much data waiting to be acted on at a particular phase. Queue size and waiting time can be looked at, or items within queues can be studied and manipulated according to factors such as priority, size, or time of arrival.

For more information on queuing theory, visit Britannica.com.

 
Wikipedia: Queueing theory
Top

Queueing theory is the mathematical study of waiting lines (or queues). 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 the server(s) at the front of the queue. The theory permits the derivation and calculation of several performance measures including the average waiting time in the queue or the system, the expected number waiting or receiving service and the probability of encountering the system in certain states, such as empty, full, having an available server or having to wait a certain time to be served.

Contents

Overview

The word queue comes, via French, from the Latin cauda, meaning tail. Most researchers in the field prefer the spelling "queueing" over "queuing",[citation needed] although the latter is somewhat more common in other contexts.

Queueing theory is generally considered a branch of operations research because the results are often used when making business decisions about the resources needed to provide service. It is applicable in a wide variety of situations that may be encountered in business, commerce, industry, healthcare,[1] public service and engineering. Applications are frequently encountered in customer service situations as well as transport and telecommunication. Queueing theory is directly applicable to intelligent transportation systems, call centers, PABXs, networks, telecommunications, server queueing, mainframe computer queueing of telecommunications terminals, advanced telecommunications systems, and traffic flow.

Notation for describing the characteristics of a queueing model was first suggested by David G. Kendall in 1953. Kendall's notation introduced an A/B/C queueing notation that can be found in all standard modern works on queueing theory, for example, Tijms.[2]

The A/B/C notation designates a queueing system having A as interarrival time distribution, B as service time distribution, and C as number of servers. For example, "G/D/1" would indicate a General (may be anything) arrival process, a Deterministic (constant time) service process and a single server. More details on this notation are given in the article about queueing models.

History

Agner Krarup Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange, published the first paper on queueing theory in 1909.[3]

David G. Kendall introduced an A/B/C queueing notation in 1953. Important work on queueing theory used in modern packet switching networks was performed in the early 1960s by Leonard Kleinrock.

Application to telephony

The public switched telephone network (PSTN) is designed to accommodate the offered traffic intensity with only a small loss. The performance of loss systems is quantified by their grade of service, driven by the assumption that if sufficient capacity is not available, the call is refused and lost.[4] Alternatively, overflow systems make use of alternative routes to divert calls via different paths — even these systems have a finite traffic carrying capacity.[4]

However, the use of queueing in PSTNs allows the systems to queue their customers' requests until free resources become available. This means that if traffic intensity levels exceed available capacity, customers' calls are here no longer lost; they instead wait until they can be served.[5] This method is used in queueing customers for the next available operator.

A queueing discipline determines the manner in which the exchange handles calls from customers.[5] It defines the way they will be served, the order in which they are served, and the way in which resources are divided between the customers.[5][6] Here are details of four queueing disciplines:

First in first out 
This principle states that customers are served one at a time and that the customer that has been waiting the longest is served first.[6]
Last in first out  
This principle also serves customers one at a time, however the customer with the shortest waiting time will be served first.[6]
Processor sharing  
Customers are served equally. Network capacity is shared between customers and they all effectively experience the same delay.[6]
Priority  
Customers with high priority are served first.[6]

Queueing is handled by control processes within exchanges, which can be modelled using state equations.[5][6] Queueing systems use a particular form of state equations known as Markov chains which model the system in each state.[5] Incoming traffic to these systems is modelled via a Poisson distribution and is subject to Erlang’s queueing theory assumptions viz.[4]

  • Pure-chance traffic – Call arrivals and departures are random and independent events.[4]
  • Statistical equilibrium – Probabilities within the system do not change.[4]
  • Full availability – All incoming traffic can be routed to any other customer within the network.[4]
  • Congestion is cleared as soon as servers are free.[4]

Classic queueing theory involves complex calculations to determine call waiting time, service time, server utilisation and many other metrics which are used to measure queueing performance.[5][6]

Queueing networks

Networks of queues are systems which contain an arbitrary, but finite, number m of queues. Customers, sometimes of different classes,[7] travel through the network and are served at the nodes. The state of a network can be described by a vector \scriptstyle{(k_1,k_2,\ldots,k_m)}, where ki is the number of customers at queue i. In open networks, customers can join and leave the system, whereas in closed networks the total number of customers within the system remains fixed.

The first significant result in the area was Jackson networks, for which an efficient product form equilibrium distribution exists.

Applications

Queueing networks have been applied to reduce waiting times in hospitals[8], and to analyze the performance of computational systems[9].

See also

Role of Poisson process, exponential distributions

A useful queueing model both (a) represents a real-life system with sufficient accuracy and (b) is analytically tractable. A queueing model based on the Poisson process and its companion exponential probability distribution often meets these two requirements. A Poisson process models random events (such as a customer arrival, a request for action from a web server, or the completion of the actions requested of a web server) as emanating from a memoryless process. That is, the length of the time interval from the current time to the occurrence of the next event does not depend upon the time of occurrence of the last event. In the Poisson probability distribution, the observer records the number of events that occur in a time interval of fixed length. In the (negative) exponential probability distribution, the observer records the length of the time interval between consecutive events. In both, the underlying physical process is memoryless.

Models based on the Poisson process often respond to inputs from the environment in a manner that mimics the response of the system being modeled to those same inputs. The analytically tractable models that result yield both information about the system being modeled and the form of their solution. Even a queueing model based on the Poisson process that does a relatively poor job of mimicking detailed system performance can be useful. The fact that such models often give "worst-case" scenario evaluations appeals to system designers who prefer to include a safety factor in their designs. Also, the form of the solution of models based on the Poisson process often provides insight into the form of the solution to a queueing problem whose detailed behavior is poorly mimicked. As a result, queueing models are frequently modeled as Poisson processes through the use of the exponential distribution.

Limitations of mathematical approach

Classic queueing theory is often too mathematically restrictive to be able to model all real-world situations exactly. This restriction arises because the underlying assumptions of the theory do not always hold in the real world.

For example; the mathematical models often assume infinite numbers of customers, infinite queue capacity, or no bounds on inter-arrival or service times, when it is quite apparent that these bounds must exist in reality. Often, although the bounds do exist, they can be safely ignored because the differences between the real-world and theory is not statistically significant, as the probability that such boundary situations might occur is remote compared to the expected normal situation. In other cases the theoretical solution may either prove intractable or insufficiently informative to be useful.

Alternative means of analysis have thus been devised in order to provide some insight into problems which do not fall under the mathematical scope of queueing theory, though they are often scenario-specific since they generally consist of computer simulations and/or of analysis of experimental data. See network traffic simulation.

See also

References

  1. ^ Mayhew, Les; Smith, David (December 2006). "Using queuing theory to analyse completion times in accident and emergency departments in the light of the Government 4-hour target". Cass Business School. http://www.cass.city.ac.uk/media/stories/story_96_105659_69284.html. Retrieved on 2008-05-20. 
  2. ^ Tijms, H.C, Algorithmic Analysis of Queues", Chapter 9 in A First Course in Stochastic Models, Wiley, Chichester, 2003
  3. ^ http://pass.maths.org.uk/issue2/erlang/index.html
  4. ^ a b c d e f g Flood, J.E. Telecommunications Switching, Traffic and Networks, Chapter 4: Telecommunications Traffic, New York: Prentice-Hall, 1998.
  5. ^ a b c d e f Bose S.J., Chapter 1 - An Introduction to Queueing Systems, Kluwer/Plenum Publishers, 2002.
  6. ^ a b c d e f g Penttinen A., Chapter 8 – Queueing Systems, Lecture Notes: S-38.145 - Introduction to Teletraffic Theory.
  7. ^ F. P. Kelly Networks of Queues with Customers of Different Types Journal of Applied Probability, Vol. 12, No. 3 (Sep., 1975), pp. 542-554
  8. ^ Kira L., Schlechter (Monday March 02, 2009), "Hershey Medical Center to open redesigned emergency room", The Patriot-News, http://www.pennlive.com/midstate/index.ssf/2009/03/hershey_med_to_open_redesigned.html 
  9. ^ Lawrence W. Dowdy, Virgilio A.F. Almeida, Daniel A. Menasce (Thursday Janery 15, 2004), Performance by Design: Computer Capacity Planning By Example, pp. 480, http://www.cs.gmu.edu/~menasce/perfbyd/ 

Further reading

External links


 
Best of the Web: Queueing theory
Top

Some good "Queueing theory" pages on the web:


Math
mathworld.wolfram.com
 
 
 

 

Copyrights:

Sci-Tech Dictionary. McGraw-Hill Dictionary of Scientific and Technical Terms. Copyright © 2003, 1994, 1989, 1984, 1978, 1976, 1974 by McGraw-Hill Companies, Inc. All rights reserved.  Read more
Sci-Tech Encyclopedia. McGraw-Hill Encyclopedia of Science and Technology. Copyright © 2005 by The McGraw-Hill Companies, Inc. All rights reserved.  Read more
Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY.
All other reproduction is strictly prohibited without permission from the publisher.
© 1981-2009 Computer Language Company Inc.  All rights reserved.  Read more
Britannica Concise Encyclopedia. Britannica Concise Encyclopedia. © 2006 Encyclopædia Britannica, Inc. All rights reserved.  Read more
Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Queueing theory" Read more