SlideShare une entreprise Scribd logo
1  sur  7
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 1
Queuing theory is the mathematical study of waiting lines, or queues. In queuing theory a
model is constructed so that queue lengths and waiting times can be predicted. Queuing 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 a service.
Queuing theory has its origins in research by Agner Krarup Erlang when he created models to
describe the Copenhagen telephone exchange. The ideas have since seen applications
including telecommunication, traffic engineering, computing and the design of factories, shops,
offices and hospitals.
Single queueing nodes
Single queueing nodes are usually described using Kendall's notation in the
form A/S/C where A describes the time between arrivals to the queue, S the size of jobs and C the
number of servers at the node. Many theorems in queue theory can be proved by reducing queues
to mathematical systems known as Markov chains, first described by Andrey Markov in his 1906
paper.
Agner Krarup Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange,
published the first paper on what would now be called queuing theory in 1909. He modeled the
number of telephone calls arriving at an exchange by a Poisson process and solved the M/D/1
queue in 1917 and M/D/k queueing model in 1920. In Kendall's notation.
M stands for Markov or memoryless and means arrivals occur according to a Poisson process.D
stands for deterministic and means jobs arriving at the queue require a fixed amount of
servicek describes the number of servers at the queueing node (k = 1, 2,...). If there are more jobs
at the node than there are servers then jobs will queue and wait for service.The M/M/1 queue is a
simple model where a single server serves jobs that arrive according to a Poisson process and
have exponentially distributed service requirements. In an M/G/1 queue the G stands for general
and indicates an arbitrary probability distribution. The M/G/1 model was solved by Felix
Pollaczek in 1930, a solution later recast in probabilistic terms by Aleksandr Khinchin and now
known as the Pollaczek–Khinchine formula. After World War II queueing theory became an area
of research interest to mathematicians. Work on queueing theory used in modern packet
switchingnetworks was performed in the early 1960s by Leonard Kleinrock. It was in this period
that John Little gave a proof of the formula which now bears his name: Little's law. In 1961 John
Kingman gave a formula for the mean waiting time in a G/G/1 queue: Kingman's formula.
The matrix geometric method and matrix analytic methods have allowed queues with phase-type
distributed interarrival and service time distributions to be considered. Problems such as
performance metrics for the M/G/k queue remain an open problem.
Service disciplines
Various scheduling policies can be used at queuing nodes:
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 2
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.
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. Also known as a stack.
Processor sharing
Service capacity is shared equally between customers.
Priority
Customers with high priority are served first. Priority queues can be of two types, non-
preemptive (where a job in service cannot be interrupted) and preemptive (where a job in service
can be interrupted by a higher priority job). No work is lost in either model.
Shortest job first
The next job to be served is the one with the smallest size
Preemptive shortest job first
The next job to be served is the one with the original smallest size[18]
Shortest remaining processing time
The next job to serve is the one with the smallest remaining processing requirement.[19]
Service facility
 Single server:customers line up and there is only one server
 Parallel servers:customers line up and there are several servers
 Tandem queue:there are many counters and customers can
decide going where to queue
Customer’s behavior of waiting
 Balking:customers deciding not to join the queue if it is too long
 Jockeying:customers switch between queues if they think they
will get served faster by so doing
 Reneging:customers leave the queue if they have waited too long
for service
Queueing networks
Networks of queues are systems in which a number of queues are connected by customer
routing. When a customer is serviced at one node it can join another node and queue for service,
or leave the network. For a network of m the state of the system can be described by an m–
dimensional vector (x1,x2,...,xm) where xirepresents the number of customers at each node. The
first significant results in this area were Jackson networks, for which an efficient product-form
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 3
stationary distribution exists and the mean value analysiswhich allows average metrics such as
throughput and sojourn times to be computed. If the total number of customers in the network
remains constant the network is called a closed network and has also been shown to have a
product–form stationary distribution in the Gordon–Newell theorem. This result was extended to
the BCMP network[25] where a network with very general service time, regimes and customer
routing is shown to also exhibit a product-form stationary distribution. Networks of customers
have also been investigated, Kelly networks where customers of different classes experience
different priority levels at different service nodes. Another type of network are G-networks first
proposed by Erol Gelenbe in 1993: these networks do not assume exponential time distributions
like the classic Jackson Network.
Example of M/M/1
Birth and Death process
A/B/C
A:distribution of arrival time
B:distribution of service time
C:the number of parallel servers
A system of inter-arrival time and service time showed exponential distribution, we
denoted M.
λ:the average arrival rate
µ:the average service rate of a single serviceP : the probability of n customers in system
n :the number of people in system
 Let E represent the number of times
of entering state n, and L represent
the number of times of leaving state
n. We have .
When the system arrives at steady
state, which means t, we have ,
therefore arrival rate=removed rate.
 Balance equation
situation 0:
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 4
situation 1:
situation n:
By balance
equation,
By mathematical induction,
Because
we get
In queueing theory, a discipline within the mathematical theory of probability, Little's
result, theorem, lemma, law or formulais a theorem by John Little which states:
The long-term average number of customers in a stable system L is equal to the long-term
average effective arrival rate, λ, multiplied by the (Palm-)average time a customer spends
in the system, W; or expressed algebraically: L = λW.
Although it looks intuitively reasonable, it is quite a remarkable result, as the relationship is
"not influenced by the arrival process distribution, the service distribution, the service order,
or practically anything else."
The result applies to any system, and particularly, it applies to systems within systems. So in
a bank, the customer line might be one subsystem, and each of the tellers another subsystem,
and Little's result could be applied to each one, as well as the whole thing. The only
requirements are that the system is stable and non-preemptive; this rules out transition states
such as initial startup or shutdown.
In some cases it is possible to mathematically relate not only the average number in the
system to the average wait but relate the entire probability distribution (and moments) of the
number in the system to the wait.
In a 1954 paper Little's law was assumed true and used without proof. The form L = λW was first
published by Philip M. Morse where he challenged readers to find a situation where the
relationship did not hold. Little published in 1961 his proof of the law, showing that no such
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 5
situation existed. Little's proof was followed by a simpler version by Jewelland another by
Eilon. Shaler Stidham published a different and more intuitive proof in 1972.
Finding Response Time
Imagine an application that had no easy way to measure response time. If you can find the mean
number in the system and the throughput, you can use Little's Law to find the average response
time like so:
MeanResponseTime = MeanNumberInSystem / MeanThroughput
For example: A queue depth meter shows an average of nine jobs waiting to be serviced.
Add one for the job being serviced, so there is an average of ten jobs in the system. Another
meter shows a mean throughput of 50 per second. You can calculate the mean response time
as: 0.2 seconds = 10 / 50 per second. When exploring Little’s law and learning to trust it, be
aware of the common mistakes of using arrivals(work arriving) when throughput(work
completed) is called for and not keeping the units of your measurements the same.
Customers In The Store
Imagine a small store with a single counter and an area for browsing, where only one person
can be at the counter at a time, and no one leaves without buying something. So the system is
roughly:
Entrance → Browsing → Counter → Exit
In a stable system, the rate at which people enter the store is the rate at which they arrive
at the store (called the arrival rate), and the rate at which they exit as well (called the exit
rate). By contrast, an arrival rate exceeding an exit rate would represent an unstable
system, where the number of waiting customers in the store will gradually increase
towards infinity.
Little's Law tells us that the average number of customers in the store L, is the effective
arrival rate λ, times the average time that a customer spends in the store W, or simply:
Assume customers arrive at the rate of 10 per hour and stay an average of 0.5 hour.
This means we should find the average number of customers in the store at any time
to be 5.
Now suppose the store is considering doing more advertising to raise the arrival
rate to 20 per hour. The store must either be prepared to host an average of 10
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 6
occupants or must reduce the time each customer spends in the store to 0.25
hour. The store might achieve the latter by ringing up the bill faster or by adding
more counters.
We can apply Little's Law to systems within the store. For example, the counter
and its queue. Assume we notice that there are on average 2 customers in the
queue and at the counter. We know the arrival rate is 10 per hour, so customers
must be spending 0.2 hours on average checking out.
We can even apply Little's Law to the counter itself. The average number of
people at the counter would be in the range (0, 1) since no more than one
person can be at the counter at a time. In that case, the average number of
people at the counter is also known as the utilisation of the counter.
However, because a store in reality generally has a limited amount of space,
it cannot become unstable. Even if the arrival rate is much greater than the
exit rate, the store will eventually start to overflow, and thus any new
arriving customers will simply be rejected (and forced to go somewhere else
or try again later) until there is once again free space available in the store.
This is also the difference between the arrival rate and the effective arrival
rate, where the arrival rate roughly corresponds to the rate at which
customers arrive at the store, whereas the effective arrival rate corresponds to
the rate at which customers enter the store. However, in a system with an
infinite size and no loss, the two are equal.
Estimating parameters
To use Little's law on data formulas must be used to estimate the parameters as the result does
not necessarily directly apply over finite time intervals, due to problems like how to log
customers already present at the start of the logging interval and those who have not yet departed
when logging stop.
Truba College of Science & Technology, Bhopal Queuing
Model
Compiled By : Ms. Nandini Sharma Page 7

Contenu connexe

Tendances

Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsBiswajit Bhattacharjee
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysisPriyanka Negi
 
Queueing theory basics
Queueing theory basicsQueueing theory basics
Queueing theory basicsTala Alnaber
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in bankingMani Deep
 
Queuing in Project Management
Queuing in Project ManagementQueuing in Project Management
Queuing in Project ManagementMahmud M
 
QUEUEING NETWORKS
QUEUEING NETWORKSQUEUEING NETWORKS
QUEUEING NETWORKSRohitK71
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing modelsraksharao
 
Queuing theory
Queuing theoryQueuing theory
Queuing theoryAmit Sinha
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORYavtarsingh
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory networkAmit Dahal
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)snket
 
basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theoryjyoti daddarwal
 

Tendances (20)

Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
Lecture set 6
Lecture set 6Lecture set 6
Lecture set 6
 
14 queuing
14 queuing14 queuing
14 queuing
 
Queing theory and delay analysis
Queing theory and delay analysisQueing theory and delay analysis
Queing theory and delay analysis
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queueing theory basics
Queueing theory basicsQueueing theory basics
Queueing theory basics
 
queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
Queuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. MohiteQueuing Theory by Dr. B. J. Mohite
Queuing Theory by Dr. B. J. Mohite
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing in Project Management
Queuing in Project ManagementQueuing in Project Management
Queuing in Project Management
 
QUEUEING NETWORKS
QUEUEING NETWORKSQUEUEING NETWORKS
QUEUEING NETWORKS
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Unit 4 queuing models
Unit 4 queuing modelsUnit 4 queuing models
Unit 4 queuing models
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
QUEUEING THEORY
QUEUEING THEORYQUEUEING THEORY
QUEUEING THEORY
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Queuing theory network
Queuing theory networkQueuing theory network
Queuing theory network
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
 
basics of stochastic and queueing theory
basics of stochastic and queueing theorybasics of stochastic and queueing theory
basics of stochastic and queueing theory
 

En vedette

Data Structure Part II
Data Structure Part IIData Structure Part II
Data Structure Part IINANDINI SHARMA
 
Data Structure Part III
Data Structure Part IIIData Structure Part III
Data Structure Part IIINANDINI SHARMA
 
Database Management System
Database Management SystemDatabase Management System
Database Management SystemNANDINI SHARMA
 
Data Structure Notes Part-1
Data Structure Notes Part-1 Data Structure Notes Part-1
Data Structure Notes Part-1 NANDINI SHARMA
 
Computer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusComputer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusNANDINI SHARMA
 
Web engineering UNIT V as per RGPV syllabus
Web engineering UNIT V as per RGPV syllabusWeb engineering UNIT V as per RGPV syllabus
Web engineering UNIT V as per RGPV syllabusNANDINI SHARMA
 
Web Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusWeb Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusNANDINI SHARMA
 
Number System (Computer)
Number System (Computer)Number System (Computer)
Number System (Computer)NANDINI SHARMA
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusNANDINI SHARMA
 
Computer Network Unit I RGPV
Computer Network Unit I RGPV Computer Network Unit I RGPV
Computer Network Unit I RGPV NANDINI SHARMA
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusNANDINI SHARMA
 
Computer Network Notes UNIT II
Computer Network Notes UNIT IIComputer Network Notes UNIT II
Computer Network Notes UNIT IINANDINI SHARMA
 
Bce notes unit 1 be 205
Bce notes unit 1 be 205Bce notes unit 1 be 205
Bce notes unit 1 be 205NANDINI SHARMA
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & OrganizationNANDINI SHARMA
 
Notes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNotes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNANDINI SHARMA
 
Computer Network notes (handwritten) UNIT 1
Computer Network notes (handwritten) UNIT 1Computer Network notes (handwritten) UNIT 1
Computer Network notes (handwritten) UNIT 1NANDINI SHARMA
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! EdholeEdhole.com
 

En vedette (20)

Data Structure Part II
Data Structure Part IIData Structure Part II
Data Structure Part II
 
Data Structure Part III
Data Structure Part IIIData Structure Part III
Data Structure Part III
 
Database Management System
Database Management SystemDatabase Management System
Database Management System
 
Data Structure Notes Part-1
Data Structure Notes Part-1 Data Structure Notes Part-1
Data Structure Notes Part-1
 
Computer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabusComputer Network MAC Layer Notes as per RGPV syllabus
Computer Network MAC Layer Notes as per RGPV syllabus
 
Web engineering UNIT V as per RGPV syllabus
Web engineering UNIT V as per RGPV syllabusWeb engineering UNIT V as per RGPV syllabus
Web engineering UNIT V as per RGPV syllabus
 
Web Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV SyllabusWeb Engineering UNIT III as per RGPV Syllabus
Web Engineering UNIT III as per RGPV Syllabus
 
Number System (Computer)
Number System (Computer)Number System (Computer)
Number System (Computer)
 
Basic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV SyllabusBasic Computer Engineering Unit II as per RGPV Syllabus
Basic Computer Engineering Unit II as per RGPV Syllabus
 
Computer Network Unit I RGPV
Computer Network Unit I RGPV Computer Network Unit I RGPV
Computer Network Unit I RGPV
 
Web engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabusWeb engineering UNIT IV as per RGPV syllabus
Web engineering UNIT IV as per RGPV syllabus
 
Computer Network Notes UNIT II
Computer Network Notes UNIT IIComputer Network Notes UNIT II
Computer Network Notes UNIT II
 
Bce notes unit 1 be 205
Bce notes unit 1 be 205Bce notes unit 1 be 205
Bce notes unit 1 be 205
 
Computer Architecture & Organization
Computer Architecture & OrganizationComputer Architecture & Organization
Computer Architecture & Organization
 
Notes of Software engineering and Project Management
Notes of Software engineering and Project ManagementNotes of Software engineering and Project Management
Notes of Software engineering and Project Management
 
Computer Network notes (handwritten) UNIT 1
Computer Network notes (handwritten) UNIT 1Computer Network notes (handwritten) UNIT 1
Computer Network notes (handwritten) UNIT 1
 
Mba Ebooks ! Edhole
Mba Ebooks ! EdholeMba Ebooks ! Edhole
Mba Ebooks ! Edhole
 
linkedin profile
linkedin profilelinkedin profile
linkedin profile
 
Vivek kumar resume
Vivek kumar resumeVivek kumar resume
Vivek kumar resume
 
Multimedia
Multimedia Multimedia
Multimedia
 

Similaire à Queueing theory

Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applicationsDebasisMohanty37
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Alexander Decker
 
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...IJCNCJournal
 
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...IJCNCJournal
 
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENTA MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENTIAEME Publication
 
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...IOSR Journals
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) inventionjournals
 
4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdfubaidullah75790
 
Operations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfOperations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfRoopaDNDandally
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorySubham kumar
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptLuckySaigon1
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...Alexander Decker
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...Alexander Decker
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...Alexander Decker
 

Similaire à Queueing theory (20)

Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...Analysis of single server fixed batch service queueing system under multiple ...
Analysis of single server fixed batch service queueing system under multiple ...
 
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...
An Efficient Method to Compute the Rate Matrix for Multi-Server Retrial Queue...
 
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...
AN EFFICIENT M COMPUTE THE RATE MATRIX FOR MULTI-SERVER RETRIAL QUEUES WITH C...
 
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENTA MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
A MULTIPLE – CHANNEL QUEUING MODELS ON FUZZY ENVIRONMENT
 
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...
Solving Of Waiting Lines Models in the Bank Using Queuing Theory Model the Pr...
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI) International Journal of Mathematics and Statistics Invention (IJMSI)
International Journal of Mathematics and Statistics Invention (IJMSI)
 
Tps04
Tps04Tps04
Tps04
 
4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf
 
A Batch-Arrival Queue with Multiple Servers and Fuzzy Parameters: Parametric ...
A Batch-Arrival Queue with Multiple Servers and Fuzzy Parameters: Parametric ...A Batch-Arrival Queue with Multiple Servers and Fuzzy Parameters: Parametric ...
A Batch-Arrival Queue with Multiple Servers and Fuzzy Parameters: Parametric ...
 
Operations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdfOperations Research_18ME735_module 4 - queuing systems.pdf
Operations Research_18ME735_module 4 - queuing systems.pdf
 
solving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theorysolving restaurent model problem by using queueing theory
solving restaurent model problem by using queueing theory
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...
 
Retrial queueing model with non persistent customers, random break down, del...
 Retrial queueing model with non persistent customers, random break down, del... Retrial queueing model with non persistent customers, random break down, del...
Retrial queueing model with non persistent customers, random break down, del...
 

Plus de NANDINI SHARMA

Function and Recursively defined function
Function and Recursively defined functionFunction and Recursively defined function
Function and Recursively defined functionNANDINI SHARMA
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics NANDINI SHARMA
 
Mathematical Induction in Discrete Structure
Mathematical Induction in Discrete StructureMathematical Induction in Discrete Structure
Mathematical Induction in Discrete StructureNANDINI SHARMA
 
SETS in Discrete Structure
SETS in Discrete StructureSETS in Discrete Structure
SETS in Discrete StructureNANDINI SHARMA
 
Rules of Inference in Discrete Structure
Rules of Inference in Discrete StructureRules of Inference in Discrete Structure
Rules of Inference in Discrete StructureNANDINI SHARMA
 
Proposition Logic in Discrete Structure
Proposition Logic in Discrete StructureProposition Logic in Discrete Structure
Proposition Logic in Discrete StructureNANDINI SHARMA
 
Algebraic Structure Part 2 DSTL
Algebraic Structure Part 2 DSTLAlgebraic Structure Part 2 DSTL
Algebraic Structure Part 2 DSTLNANDINI SHARMA
 
FIELD in Discrete Structure
FIELD in Discrete StructureFIELD in Discrete Structure
FIELD in Discrete StructureNANDINI SHARMA
 
LATTICE in Discrete Structure
LATTICE in Discrete StructureLATTICE in Discrete Structure
LATTICE in Discrete StructureNANDINI SHARMA
 
5 variable kmap questions
5 variable kmap questions5 variable kmap questions
5 variable kmap questionsNANDINI SHARMA
 
Computer Network Notes (Handwritten) UNIT 2
Computer Network Notes (Handwritten) UNIT 2Computer Network Notes (Handwritten) UNIT 2
Computer Network Notes (Handwritten) UNIT 2NANDINI SHARMA
 
Cloud computing notes unit II
Cloud computing notes unit II Cloud computing notes unit II
Cloud computing notes unit II NANDINI SHARMA
 
Distributed system unit II according to syllabus of RGPV, Bhopal
Distributed system unit II according to syllabus of  RGPV, BhopalDistributed system unit II according to syllabus of  RGPV, Bhopal
Distributed system unit II according to syllabus of RGPV, BhopalNANDINI SHARMA
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit INANDINI SHARMA
 
Cloud computing notes unit I as per RGPV syllabus
Cloud computing notes unit I as per RGPV syllabusCloud computing notes unit I as per RGPV syllabus
Cloud computing notes unit I as per RGPV syllabusNANDINI SHARMA
 

Plus de NANDINI SHARMA (19)

Function and Recursively defined function
Function and Recursively defined functionFunction and Recursively defined function
Function and Recursively defined function
 
Relation in Discrete Mathematics
Relation in Discrete Mathematics Relation in Discrete Mathematics
Relation in Discrete Mathematics
 
Mathematical Induction in Discrete Structure
Mathematical Induction in Discrete StructureMathematical Induction in Discrete Structure
Mathematical Induction in Discrete Structure
 
SETS in Discrete Structure
SETS in Discrete StructureSETS in Discrete Structure
SETS in Discrete Structure
 
Predicate logic
Predicate logicPredicate logic
Predicate logic
 
Rules of Inference in Discrete Structure
Rules of Inference in Discrete StructureRules of Inference in Discrete Structure
Rules of Inference in Discrete Structure
 
Proposition Logic in Discrete Structure
Proposition Logic in Discrete StructureProposition Logic in Discrete Structure
Proposition Logic in Discrete Structure
 
Algebraic Structure Part 2 DSTL
Algebraic Structure Part 2 DSTLAlgebraic Structure Part 2 DSTL
Algebraic Structure Part 2 DSTL
 
FIELD in Discrete Structure
FIELD in Discrete StructureFIELD in Discrete Structure
FIELD in Discrete Structure
 
Algebraic Structure
Algebraic StructureAlgebraic Structure
Algebraic Structure
 
LATTICE in Discrete Structure
LATTICE in Discrete StructureLATTICE in Discrete Structure
LATTICE in Discrete Structure
 
DSTL: TREES AND GRAPH
DSTL: TREES AND GRAPHDSTL: TREES AND GRAPH
DSTL: TREES AND GRAPH
 
5 variable kmap questions
5 variable kmap questions5 variable kmap questions
5 variable kmap questions
 
Computer Graphics
Computer GraphicsComputer Graphics
Computer Graphics
 
Computer Network Notes (Handwritten) UNIT 2
Computer Network Notes (Handwritten) UNIT 2Computer Network Notes (Handwritten) UNIT 2
Computer Network Notes (Handwritten) UNIT 2
 
Cloud computing notes unit II
Cloud computing notes unit II Cloud computing notes unit II
Cloud computing notes unit II
 
Distributed system unit II according to syllabus of RGPV, Bhopal
Distributed system unit II according to syllabus of  RGPV, BhopalDistributed system unit II according to syllabus of  RGPV, Bhopal
Distributed system unit II according to syllabus of RGPV, Bhopal
 
Distributed system notes unit I
Distributed system notes unit IDistributed system notes unit I
Distributed system notes unit I
 
Cloud computing notes unit I as per RGPV syllabus
Cloud computing notes unit I as per RGPV syllabusCloud computing notes unit I as per RGPV syllabus
Cloud computing notes unit I as per RGPV syllabus
 

Dernier

Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionSneha Padhiar
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptxmohitesoham12
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxStephen Sitton
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsResearcher Researcher
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfNainaShrivastava14
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionMebane Rash
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfBalamuruganV28
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdfAkritiPradhan2
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfalene1
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHSneha Padhiar
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdfCaalaaAbdulkerim
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Coursebim.edu.pl
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communicationpanditadesh123
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.elesangwon
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfManish Kumar
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating SystemRashmi Bhat
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESkarthi keyan
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substationstephanwindworld
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfDrew Moseley
 

Dernier (20)

Cost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based questionCost estimation approach: FP to COCOMO scenario based question
Cost estimation approach: FP to COCOMO scenario based question
 
Python Programming for basic beginners.pptx
Python Programming for basic beginners.pptxPython Programming for basic beginners.pptx
Python Programming for basic beginners.pptx
 
Turn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptxTurn leadership mistakes into a better future.pptx
Turn leadership mistakes into a better future.pptx
 
Novel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending ActuatorsNovel 3D-Printed Soft Linear and Bending Actuators
Novel 3D-Printed Soft Linear and Bending Actuators
 
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdfPaper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
Paper Tube : Shigeru Ban projects and Case Study of Cardboard Cathedral .pdf
 
US Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of ActionUS Department of Education FAFSA Week of Action
US Department of Education FAFSA Week of Action
 
CS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdfCS 3251 Programming in c all unit notes pdf
CS 3251 Programming in c all unit notes pdf
 
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdfDEVICE DRIVERS AND INTERRUPTS  SERVICE MECHANISM.pdf
DEVICE DRIVERS AND INTERRUPTS SERVICE MECHANISM.pdf
 
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdfComprehensive energy systems.pdf Comprehensive energy systems.pdf
Comprehensive energy systems.pdf Comprehensive energy systems.pdf
 
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACHTEST CASE GENERATION GENERATION BLOCK BOX APPROACH
TEST CASE GENERATION GENERATION BLOCK BOX APPROACH
 
Research Methodology for Engineering pdf
Research Methodology for Engineering pdfResearch Methodology for Engineering pdf
Research Methodology for Engineering pdf
 
Katarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School CourseKatarzyna Lipka-Sidor - BIM School Course
Katarzyna Lipka-Sidor - BIM School Course
 
multiple access in wireless communication
multiple access in wireless communicationmultiple access in wireless communication
multiple access in wireless communication
 
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
2022 AWS DNA Hackathon 장애 대응 솔루션 jarvis.
 
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdfModule-1-(Building Acoustics) Noise Control (Unit-3). pdf
Module-1-(Building Acoustics) Noise Control (Unit-3). pdf
 
Main Memory Management in Operating System
Main Memory Management in Operating SystemMain Memory Management in Operating System
Main Memory Management in Operating System
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTESCME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
CME 397 - SURFACE ENGINEERING - UNIT 1 FULL NOTES
 
Earthing details of Electrical Substation
Earthing details of Electrical SubstationEarthing details of Electrical Substation
Earthing details of Electrical Substation
 
Immutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdfImmutable Image-Based Operating Systems - EW2024.pdf
Immutable Image-Based Operating Systems - EW2024.pdf
 

Queueing theory

  • 1. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 1 Queuing theory is the mathematical study of waiting lines, or queues. In queuing theory a model is constructed so that queue lengths and waiting times can be predicted. Queuing 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 a service. Queuing theory has its origins in research by Agner Krarup Erlang when he created models to describe the Copenhagen telephone exchange. The ideas have since seen applications including telecommunication, traffic engineering, computing and the design of factories, shops, offices and hospitals. Single queueing nodes Single queueing nodes are usually described using Kendall's notation in the form A/S/C where A describes the time between arrivals to the queue, S the size of jobs and C the number of servers at the node. Many theorems in queue theory can be proved by reducing queues to mathematical systems known as Markov chains, first described by Andrey Markov in his 1906 paper. Agner Krarup Erlang, a Danish engineer who worked for the Copenhagen Telephone Exchange, published the first paper on what would now be called queuing theory in 1909. He modeled the number of telephone calls arriving at an exchange by a Poisson process and solved the M/D/1 queue in 1917 and M/D/k queueing model in 1920. In Kendall's notation. M stands for Markov or memoryless and means arrivals occur according to a Poisson process.D stands for deterministic and means jobs arriving at the queue require a fixed amount of servicek describes the number of servers at the queueing node (k = 1, 2,...). If there are more jobs at the node than there are servers then jobs will queue and wait for service.The M/M/1 queue is a simple model where a single server serves jobs that arrive according to a Poisson process and have exponentially distributed service requirements. In an M/G/1 queue the G stands for general and indicates an arbitrary probability distribution. The M/G/1 model was solved by Felix Pollaczek in 1930, a solution later recast in probabilistic terms by Aleksandr Khinchin and now known as the Pollaczek–Khinchine formula. After World War II queueing theory became an area of research interest to mathematicians. Work on queueing theory used in modern packet switchingnetworks was performed in the early 1960s by Leonard Kleinrock. It was in this period that John Little gave a proof of the formula which now bears his name: Little's law. In 1961 John Kingman gave a formula for the mean waiting time in a G/G/1 queue: Kingman's formula. The matrix geometric method and matrix analytic methods have allowed queues with phase-type distributed interarrival and service time distributions to be considered. Problems such as performance metrics for the M/G/k queue remain an open problem. Service disciplines Various scheduling policies can be used at queuing nodes:
  • 2. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 2 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. 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. Also known as a stack. Processor sharing Service capacity is shared equally between customers. Priority Customers with high priority are served first. Priority queues can be of two types, non- preemptive (where a job in service cannot be interrupted) and preemptive (where a job in service can be interrupted by a higher priority job). No work is lost in either model. Shortest job first The next job to be served is the one with the smallest size Preemptive shortest job first The next job to be served is the one with the original smallest size[18] Shortest remaining processing time The next job to serve is the one with the smallest remaining processing requirement.[19] Service facility  Single server:customers line up and there is only one server  Parallel servers:customers line up and there are several servers  Tandem queue:there are many counters and customers can decide going where to queue Customer’s behavior of waiting  Balking:customers deciding not to join the queue if it is too long  Jockeying:customers switch between queues if they think they will get served faster by so doing  Reneging:customers leave the queue if they have waited too long for service Queueing networks Networks of queues are systems in which a number of queues are connected by customer routing. When a customer is serviced at one node it can join another node and queue for service, or leave the network. For a network of m the state of the system can be described by an m– dimensional vector (x1,x2,...,xm) where xirepresents the number of customers at each node. The first significant results in this area were Jackson networks, for which an efficient product-form
  • 3. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 3 stationary distribution exists and the mean value analysiswhich allows average metrics such as throughput and sojourn times to be computed. If the total number of customers in the network remains constant the network is called a closed network and has also been shown to have a product–form stationary distribution in the Gordon–Newell theorem. This result was extended to the BCMP network[25] where a network with very general service time, regimes and customer routing is shown to also exhibit a product-form stationary distribution. Networks of customers have also been investigated, Kelly networks where customers of different classes experience different priority levels at different service nodes. Another type of network are G-networks first proposed by Erol Gelenbe in 1993: these networks do not assume exponential time distributions like the classic Jackson Network. Example of M/M/1 Birth and Death process A/B/C A:distribution of arrival time B:distribution of service time C:the number of parallel servers A system of inter-arrival time and service time showed exponential distribution, we denoted M. λ:the average arrival rate µ:the average service rate of a single serviceP : the probability of n customers in system n :the number of people in system  Let E represent the number of times of entering state n, and L represent the number of times of leaving state n. We have . When the system arrives at steady state, which means t, we have , therefore arrival rate=removed rate.  Balance equation situation 0:
  • 4. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 4 situation 1: situation n: By balance equation, By mathematical induction, Because we get In queueing theory, a discipline within the mathematical theory of probability, Little's result, theorem, lemma, law or formulais a theorem by John Little which states: The long-term average number of customers in a stable system L is equal to the long-term average effective arrival rate, λ, multiplied by the (Palm-)average time a customer spends in the system, W; or expressed algebraically: L = λW. Although it looks intuitively reasonable, it is quite a remarkable result, as the relationship is "not influenced by the arrival process distribution, the service distribution, the service order, or practically anything else." The result applies to any system, and particularly, it applies to systems within systems. So in a bank, the customer line might be one subsystem, and each of the tellers another subsystem, and Little's result could be applied to each one, as well as the whole thing. The only requirements are that the system is stable and non-preemptive; this rules out transition states such as initial startup or shutdown. In some cases it is possible to mathematically relate not only the average number in the system to the average wait but relate the entire probability distribution (and moments) of the number in the system to the wait. In a 1954 paper Little's law was assumed true and used without proof. The form L = λW was first published by Philip M. Morse where he challenged readers to find a situation where the relationship did not hold. Little published in 1961 his proof of the law, showing that no such
  • 5. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 5 situation existed. Little's proof was followed by a simpler version by Jewelland another by Eilon. Shaler Stidham published a different and more intuitive proof in 1972. Finding Response Time Imagine an application that had no easy way to measure response time. If you can find the mean number in the system and the throughput, you can use Little's Law to find the average response time like so: MeanResponseTime = MeanNumberInSystem / MeanThroughput For example: A queue depth meter shows an average of nine jobs waiting to be serviced. Add one for the job being serviced, so there is an average of ten jobs in the system. Another meter shows a mean throughput of 50 per second. You can calculate the mean response time as: 0.2 seconds = 10 / 50 per second. When exploring Little’s law and learning to trust it, be aware of the common mistakes of using arrivals(work arriving) when throughput(work completed) is called for and not keeping the units of your measurements the same. Customers In The Store Imagine a small store with a single counter and an area for browsing, where only one person can be at the counter at a time, and no one leaves without buying something. So the system is roughly: Entrance → Browsing → Counter → Exit In a stable system, the rate at which people enter the store is the rate at which they arrive at the store (called the arrival rate), and the rate at which they exit as well (called the exit rate). By contrast, an arrival rate exceeding an exit rate would represent an unstable system, where the number of waiting customers in the store will gradually increase towards infinity. Little's Law tells us that the average number of customers in the store L, is the effective arrival rate λ, times the average time that a customer spends in the store W, or simply: Assume customers arrive at the rate of 10 per hour and stay an average of 0.5 hour. This means we should find the average number of customers in the store at any time to be 5. Now suppose the store is considering doing more advertising to raise the arrival rate to 20 per hour. The store must either be prepared to host an average of 10
  • 6. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 6 occupants or must reduce the time each customer spends in the store to 0.25 hour. The store might achieve the latter by ringing up the bill faster or by adding more counters. We can apply Little's Law to systems within the store. For example, the counter and its queue. Assume we notice that there are on average 2 customers in the queue and at the counter. We know the arrival rate is 10 per hour, so customers must be spending 0.2 hours on average checking out. We can even apply Little's Law to the counter itself. The average number of people at the counter would be in the range (0, 1) since no more than one person can be at the counter at a time. In that case, the average number of people at the counter is also known as the utilisation of the counter. However, because a store in reality generally has a limited amount of space, it cannot become unstable. Even if the arrival rate is much greater than the exit rate, the store will eventually start to overflow, and thus any new arriving customers will simply be rejected (and forced to go somewhere else or try again later) until there is once again free space available in the store. This is also the difference between the arrival rate and the effective arrival rate, where the arrival rate roughly corresponds to the rate at which customers arrive at the store, whereas the effective arrival rate corresponds to the rate at which customers enter the store. However, in a system with an infinite size and no loss, the two are equal. Estimating parameters To use Little's law on data formulas must be used to estimate the parameters as the result does not necessarily directly apply over finite time intervals, due to problems like how to log customers already present at the start of the logging interval and those who have not yet departed when logging stop.
  • 7. Truba College of Science & Technology, Bhopal Queuing Model Compiled By : Ms. Nandini Sharma Page 7