Queuing Theory
Queuing Theory
Theory
What is queuing theory?
• Queuing Theory is a collection of
mathematical models of various queuing
systems. It is used extensively to analyze
production and service processes
exhibiting random variability in market
demand (arrival times) and service times.
Why queues form?
• Queues or waiting lines arise when the
demand for a service facility exceeds the
capacity of that facility, that is, the
customers do not get service immediately
upon request but must wait, or the service
facilities stand idle and wait for customers.
• Most waiting line problems are centered
about the question of finding the ideal level
of services that a firm should provide.
For example
• Supermarkets must decide how many cash
register check out positions should be opened.
• Manufacturing plants must determine the optimal
number of mechanics to have on duty in each
shift to repair machines that break down.
• Banks must decide how many teller windows to
keep open to serve customers during various
hours of the day.
BASIC COMPONENTS OF A
QUEUING SYSTEM
• INPUT SOURCE OF QUEUE
An input source is characterized by
• Size of the calling population
• Pattern of arrivals at the system
• Behaviour of the arrivals
Size of the calling population
The size represents the total number of potential customers who will require service.
According to source
• The source of customers can be finite or infinite.
For example, all people of a city or state (and others) could be the potential customers at
a supermarket. The number of people being very large, it can be taken to be infinite.
Whereas there are many situations in business and industrial conditions where we
cannot consider the population to be infinite—it is finite.
According to numbers
• These two are further classified based on the nature of arrival rate
and the control that can be exercised on the arrival process.
– In static arrival process, the control depends on the nature of arrival
rate (random or constant). Random arrivals are either at a constant rate
or varying with time. Thus to analyze the queuing system, it is
necessary to attempt to describe the probability distribution of arrivals.
From such distributions we obtain average time between successive
arrivals, also called inter-arrival time (time between two consecutive
arrivals), and the average arrival rate (i.e. number of customers arriving
per unit of time at the service system).
– The dynamic arrival process is controlled by both service
facility and customers. The service facility adjusts its capacity to
match changes in the demand intensity, by either varying the
staffing levels at different timings of service, varying service
charges (such as telephone call charges at different hours of the
day or week) at different timings, or allowing entry with
appointments.
• Frequently in queuing problems, the number of arrivals
per unit of time can be estimated by a probability
distribution known as the Poisson distribution, as it
adequately supports many real world situations.
Behavior of arrivals
• On the basis of the behavior or attitude of
the customers entering the queuing
system, the customers may be classified
as being
(a) patient, or
(b) impatient.
Some interesting observations of
human behavior in queues :
• Balking – Some customers even before joining the queue get
discouraged by seeing the number of customers already in service
system or estimating the excessive waiting time for desired service,
decide to return for service at a later time. In queuing theory this is
known as balking.
• Reneging - customers after joining the queue, wait for sometime and
leave the service system due to intolerable delay, so they renege.
– For example, a customer who has just arrived at a grocery store and
finds that the salesmen are busy in serving the customers already in the
system, will either wait for service till his patience is exhausted or
estimates that his waiting time may be excessive and so leaves
immediately to seek service elsewhere.
• Jockeying - Customers who switch from one queue to another
hoping to receive service more quickly are said to be jockeying.
SERVICE SYSTEM
• The service is provided by a service facility (or
facilities). This may be a person (a bank teller,
a barber, a machine (elevator, gasoline pump),
or a space (airport runway, parking lot, hospital
bed), to mention just a few. A service facility
may include one person or several people
operating as a team.
• There are two aspects of a service system—
(a) the configuration of the service system and
(b) the speed of the service.
(a) The configuration of the service
system
• The customers’ entry into the service system
depends upon the queue conditions. If at the
time of customers’ arrival, the server is idle, then
the customer is served immediately. Otherwise
the customer is asked to join the queue, which
can have several configurations.
• By configuration of the service system we mean
how the service facilities exist. Service systems
are usually classified in terms of their number of
channels, or numbers of servers
Single Server – Single Queue
(a) Static queue disciplines are based on the individual customer's status in
the queue. Few of such disciplines are:
– i If the customers are served in the order of their arrival, then this is known as the
first-come, first-served (FCFS) service discipline. Prepaid taxi queue at airports
where a taxi is engaged on a first-come, first-served basis is an example of this
discipline.
– ii Last-come-first-served (LCFS)-- Sometimes, the customers are serviced in
the reverse order of their entry so that the ones who join the last are served first.
For example, assume that letters to be typed, or order forms to be processed
accumulate in a pile, each new addition being put on the top of them. The typist
or the clerk might process these letters or orders by taking each new task from
the top of the pile. Thus, a just arriving task would be the next to be serviced
provided that no fresh task arrives before it is picked up. Similarly, the people
who join an elevator last are the first ones to leave it.
• .
• (b) Dynamic queue disciplines are based on the individual customer
attributes in the queue. Few of such disciplines are:
ii Priority Service-- Under this rule customers are grouped in priority classes
on the basis of some attributes such as service time or urgency or according
to some identifiable characteristic, and FCFS rule is used within each class
to provide service. Treatment of VIPs in preference to other patients in a
hospital is an example of priority service.
• For the queuing models that we shall consider, the assumption would be
that the customers are serviced on the first-come-first-served basis