Namespaces
Variants
Actions

Queue

From Encyclopedia of Mathematics
Revision as of 16:59, 7 February 2011 by 127.0.0.1 (talk) (Importing text file)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

A system which includes a random "input" stream of requests (customers, calls, clients) which need "service" , and a mechanism (algorithm) which provides that "service" .

Typical examples of queues are automatic telephone exchanges in which requests, calls of subscribers (the input stream of calls), occur randomly, and the service mechanism consists of a fixed number of channels (lines, servers, trunks) of communication, each of which may be busy with the service of a call for a random time, equal to the duration of the conversation. If all channels are busy, then a new call is "lost" . The service mechanism (algorithm) can also include instructions concerns the free line the next call must use, or the suggestion to wait if the required line is busy, etc.

There are systems of other types, where each request must necessarily be served, such as, for example, the flow of aircrafts arriving at an airport for landing, or a flow of problems (a program) which must be processed on a computer.

The "random" part of a queue is conveniently described by random sequences or processes. The simplest queues can be described by two-dimensional random control sequences

of non-negative random variables. The sequence defines the stream of calls : it gives the random times

at which requests enter the system. Equivalently, the input stream may be characterized by a random process : the value denotes the number of calls entering the system up to time . The second sequence describes the service process : the random variable denotes the time which is spent in service of the call with index . Calls which have been served are removed from the system.

The description of control sequences can be greatly extended using labelled point processes, in which represents the interval between the points and are the labels of the points.

The specification of a control sequence does not uniquely determine the behaviour of the system. It is necessary to give also the service algorithm — the rule which determines the start of service and the way in which the behaviour of the calls depends on the state of the system.

The various service algorithms produce quite diverse forms of queues. The simplest ones are presented below.

I. Systems with waiting (systems with a queue, queueing systems).

Calls which enter the system and are not served immediately form a "queue" waiting for service. In what follows, calls are served in order of arrival. The system is busy at time if at that time there is a queue or there is a call in service. Otherwise the system is called free at time . Two types of queueing systems are distinguished.

. Ordinary systems. If the system is free, then it begins to act (serve the queue of calls) immediately upon the arrival of a call. If the system is busy, then the service of the next call begins on termination of the service of the previous call. Such a system is also called completely accessible.

. Systems with autonomous service. Here service begins only at times .

II. Systems with finite waiting room (systems with bounded queues).

Suppose that the length of the queue at time is equal to if at this time there is one call in service and there are calls awaiting service. Let be the length of the queue at the time of arrival of the -th call (not counting this call). In systems with finite waiting room the -th call is "lost" and removed from the system if at the time of its arrival the queue length is equal to some maximum admissible value . The number is an essential characteristic of the system. If , ordinary systems with unbounded queues arise.

Systems with randomly-bounded queues and systems with randomly-bounded waiting time are also considered.

III. Systems with refusals (loss systems).

These are systems with finite waiting room in the case . For a loss system autonomous service is obviously not considered.

In each of these simplest systems the assignment of a control sequence completely determines the evolution of the system. In other words, for each elementary event and any the state of the system at time is uniquely determined.

In addition to the above forms of service more complicated systems are possible. These are associated with more complicated control sequences and service algorithms.

IV. Batch input stream and batch service.

The control of these systems is by a four-dimensional control sequence

where and are non-negative and integer-valued. The meaning of the new variables is as follows: calls enter in batches of sizes (at corresponding times ); service also occurs in batches, in the first batch calls are served, in the second , etc. (the size of these batches may be smaller if there are not enough calls in the queue). Here a time is spent in the service of the -th batch.

For systems with batch input and batch service the same service algorithms as described above are possible.

V. Multi-channel systems (multi-server systems).

In these systems service can occur simultaneously over channels, so that the service of the next call (or batch of calls in batch service) can begin before completion of the service of the previous one. Service algorithms for multi-channel systems are similar for all the types of service considered (each channel acts as an independent service mechanism). It is only necessary to supplement these algorithms by indicating to which channel a call must be directed if several channels are free simultaneously. Here, as before, a time is spent in the service of the -th batch (of size ).

A multi-channel system is called a loss system if a call which finds all channels busy at the time of its arrival is "lost" , and is thus removed from the system.

Sometimes, in order to simplify the nature of the control sequences for multi-channel systems, it is convenient to assign not two but two-dimensional control sequences

so that the -th service channel is controlled by the sequence , . For example, is the service time of the -th batch for calls in the -th channel.

The above classification is far from being exhaustive. For example, systems in which calls are subdivided into two or more types and in which one type has priority of service over the others are widely used (such a situation arises when the cost of waiting for one type of call is higher than for the others). The characterization of such systems requires the introduction of several input streams, corresponding to different types of requests. Also related to systems with priority of service are those in which the service mechanism requires interceptions in operation. The law governing the appearance and length of the interceptions can be characterized by a special input stream.

In the literature on queueing theory other special forms of service systems are discussed. However, one must keep in mind here that:

1) the fundamental and most common types of queues are within the above classification;

2) the methods for investigating queues for various systems, as a rule, are much the same and are fairly well illustrated by the methods of study for the "fundamental" systems; underlying these methods is the apparatus of probability theory, both in its general aspects and in specially developed aspects.

The main aim is to investigate the distributions of various parameters which characterize the behaviour of the system (for example, the queue length, the waiting time until the next service, the probability of loss of a given call, etc.). Of major interest in this connection are ergodic theorems, which describe the behaviour of these characteristics over long time intervals. For example, one characteristic of the efficiency of an automatic telephone exchange is the proportion of calls which are lost, that is, the limit as (if it exists) of the ratio of the number of calls which are lost up to time and the number of calls which arrive in the same time period. This limit can, with good reason, be called the loss probability. The parameters characterizing a queueing system are the limits as of the distributions and of the waiting time of the -th call and the queue length at the time of arrival of the -th call.

The method of investigation often consists of the search for Markov processes or sequences which characterize the state of the system. If, for example, the random variables and are exponentially distributed and are independent for different indices, then the "queue length process" will be Markovian and will have a description in terms of simple differential equations for the stationary distribution. In other cases one usually tries to construct random times such that , or the values of other characteristics (for example, the waiting time), taken at times will form a Markov chain. This is the so-called method of the imbedded Markov chain. This method is often used in a modified form when a semi-Markov process is constructed which describes the state of the system of interest.

In more complicated cases it is appropriate to use asymptotic methods (see Queueing theory) or to resort to simulation by a Monte-Carlo method of the random processes which describe the queue.

In the articles Queue with waiting and one service channel; Queue, multi-channel with waiting; Queue with refusals; Queue input stream of calls there are more detailed discussions of the basic service systems and input streams. In these articles the following notations are adopted.

is the class of sequences of independent random variables with exponential distribution. The notation means that

The notation means that the random variables are independent and identically distributed (the distribution itself may be arbitrary). Relations of the form or also usually suppose that the control sequence does not depend on the remaining control sequences.

The class of sequences which are stationary in the narrow sense is denoted by .

This notation may also be applied to multi-dimensional sequences. For example means that the two-dimensional sequence is stationary and composed of independent vectors.

For simplicity, as a rule, the discussion is restricted to "single" input and output processes, (calls appear and are served one by one). The possibility of generalizations to the "multiple" case (calls appear or are served in batches: or ) are mentioned separately.

In addition, the nature of the control sequences will be simple and uniform if one excludes initial conditions. Namely, if a control sequence for is considered, it is supposed that and that the first call arrives in the system at the moment . If the control is given by an input process , then is not fixed.

For references see Queueing theory.


Comments

There is a shorthand notation introduced by D.G. Kendall [a2] to describe various queueing situations in terms of an inter-arrival time distribution (which describes the process ) and a service time distribution (describing the process ) and the number of servers. In this notation the symbol stands for the negative exponential distribution, for the hyperexponential distribution ( for ; for , , , ), for the Erlang distribution, for the distribution degenerated at a positive value, for a distribution whose Laplace–Stieltjes transform is a rational function, and for a general distribution of a non-negative random variable that is not further specified. Thus, stands for a single-server queue with negative exponential inter-arrival distribution and a general service distribution. This notation is now in fairly general use.

References

[a1] J.W. Cohen, "The single server queue" , North-Holland (1982) pp. Chapt. II.1
[a2] D.G. Kendall, "Some problems in the theory of queues" J. Royal Stat. Soc. , B13 (1951) pp. 151–185
How to Cite This Entry:
Queue. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Queue&oldid=12349
This article was adapted from an original article by A.A. Borovkov (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article