Queuing
Queuing
Queuing
MSU6502
Queuing theory
Queuing theory is the mathematical study of waiting
lines, or queues. A queuing model is constructed so that
queue lengths and waiting time can be predicted
Queuing theory
Kendall’s Notation Before starting the investigations of
elementary queuing systems let us introduce a notation
originated by Kendall to describe a queuing system. Let
us denote a system by
A / B / m / K / n/ D,
Where,
A: distribution function of the inter arrival times,
B: distribution function of the service times,
m: number of servers,
K: capacity of the system, the maximum number of customers in
the system including the one being serviced,
n: population size, number of sources of customers,
D: service discipline.
Queuing theory
service discipline
The service discipline determines the rule
according to the next customer is selected. The
most commonly used laws are
FIFO - First In First Out: who comes earlier leaves
earlier
LIFO - Last Come First Out: who comes later leaves
earlier
Queuing theory
Definitions:
𝒏 - number of customers in the system ( in queue and in service)
𝝀𝒏 - arrival rate when there are “n” customers in the system
𝝁𝒏 - departure rate when there are “n” customers in the system
𝑷𝒏 - steady state probability of having “n” customers in the system
Queuing theory
Steady State:
Leaving a certain state = entering that state
Or
Expected rate of flow into state n = expected rate of flow out of state n
First, consider an M/M/1 queuing system where the arrival and service rates
are independent of the state. (i.e. λ and 𝜇 do not depend on the state):
State Transition Diagram:
Queuing theory
At Steady State;
Queuing theory