SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Queuing Theory
AMIT SINGH DAHAL
G5638545
Outline:
 Introduction

 Characteristics
 Configuration
 Software

of Queuing System

of Service System

for Simulation

 Limitation

of Queuing Theory
Introduction:


a waiting line of "customers" requiring service from one or more servers



Example:



when the short term demand for service exceeds the capacity of
facilities



QT, mathematical study of waiting lines (or queues)



enables mathematical analysis of several related processes, including
arriving at the (back of the) queue, waiting in the queue, and being
served by the Service Channels at the front of the queue

-Waiting for service in bank and at reservation counter
-Waiting for a train or bus
-Waiting at doctor’s clinic
Characteristics of Queuing System:
1.

The Arrival Pattern

2.

The Service Mechanism

3.

The Queue Discipline

4.

Number of Service Channels
1. The Arrival Pattern:




Arrivals can be measured as the arrival rate or the inter-arrival time(time
between arrivals)
Inter-arrival time =1/ arrival rate



(i) Balking: The customer may decide not to enter the queue upon
arrival, because it is too long.



(ii) Reneging: The customer may decide to leave the queue after
waiting a certain time in it.



(iii) Jockeying: If there are multiple queues in parallel the customers may
switch between them
2. Service Mechanism:


Service pattern can be deterministic or stochastic



Can also be batched or bulked services



service rate may be state-dependent



Note: difference in Arrival pattern and Service
pattern because services cannot be initiated if the
Queue is empty
3. Queue Discipline


Vital, the way of selecting customers for services



Can be:
i)First in First Out (FIFO)
Ii)Last in First Out (LIFO)
iii)Service in Random Order (SIRO)
iv)Priority Schemes. Priority schemes are :

-Preemptive:
customer with higher priority displaces the customer with low
priority and get services
-Non-preemptive:
customer with the higher priority wait for the current service to
be completed before getting the service
4. Number of Service Channels:


Single Queue:
-have only one queue to get different services
-customer get services based on the availability of the server
4. Number of Service Channels(Contd…)


Parallel Queue
-have multiple queues to get different services

-the customer can change the queue, if the number of customer
deceases in the other queue(Jockeying)
Configuration of Service System


Single Server-Single Queue:
-Example: student standing in the library queue


Parallel Server-Single Queue:
-Example: Bank transaction, many token numbers are served one-byone according to available Server


Several Server-Several Queue
-Example: different cash counters in electricity office


Services facilities in a series:
-Example: may be product manufacturing that requires steps like
cutting, drilling, grinding, operations, packaging
Software for Simulation:


Model represented using Kendall- Lee Notation
where,

(a/b/c):( d/e/f)
a = arrival rate distribution
b = service rate distribution
c = no. of parallel service channels (identical service)
d = service discipline
e = maximum no. allowed in the system
f = calling source

Common notation:
M =Poissonl/Exponential rates
G = General Distribution of Service Time
Ek-=Erlangian Distribution


Information Flows:

L
λ
μ

n

Lq

Queuing
Model

W
Wq

ρ
Pn


Notation:
λc = effective mean arrival rate
λ = λc if queue is infinite
λe = λ - [expected number who balk if the queue is finite]
W = expected waiting time of a customer in the system
Wq = expected waiting time of a customer in the queue
L = expected no. of customers in the system
Lq = expected number of customers in the queue
Po = probability of no customers in the system
Pn = probability of n customers in the system
ρ = traffic intensity= λ/nμ
ρc= effective traffic intensity= λe/μ
MULTIPLE CHANNELPOISSON/EXPONENTIAL MODEL
[(M/M/C):(GD/ α /α)]
Characteristics:



1. Input population is infinite.
2. Arrival rate has a Poisson Distribution



3. There is more than one server.



4. Service time is exponentially distributed with mean1/μ. [λ<μ]



5. System capacity is infinite.



6. Balking and reneging are not allowed.
Queuing Theory Limitation


Queuing models are quite complex and cannot be easily understood



Form of theoretical distribution applicable to given queuing situation is
not easily known



If the queuing discipline is not FIFO based, then the study of queuing
problem become more difficult
References:


DEMO: https://www.stat.auckland.ac.nz/~stats255/qsim/qsim.html



http://homepages.inf.ed.ac.uk/jeh/Simjava/queueing/mm1_q/mm1_q
.html



http://en.wikipedia.org/wiki/Queueing_theory



Zukerman, Moshe: Introduction to Queueing Theory and Stochastic
Teletraffic Models.



http://homes.cs.washington.edu/~lazowska/qsp/



http://people.brunel.ac.uk/~mastjjb/jeb/or/queue.html



http://www.eventhelix.com/realtimemantra/congestioncontrol/queue
ing_theory.htm
THE END
Any Questions???

Weitere ähnliche Inhalte

Was ist angesagt?

QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
avtarsingh
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Abu Bashar
 
Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)Queuing theory and simulation (MSOR)
Queuing theory and simulation (MSOR)
snket
 

Was ist angesagt? (20)

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
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
QUEUEING THEORY
QUEUEING THEORYQUEUEING THEORY
QUEUEING THEORY
 
Queuing Theory
Queuing TheoryQueuing Theory
Queuing Theory
 
queuing theory/ waiting line theory
queuing theory/ waiting line theoryqueuing theory/ waiting line theory
queuing theory/ waiting line theory
 
Operational research queuing theory
Operational research queuing theoryOperational research queuing theory
Operational research queuing theory
 
Queueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS ApplicationsQueueing Theory and its BusinessS Applications
Queueing Theory and its BusinessS Applications
 
Queue
QueueQueue
Queue
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing unit v ppt
Queuing unit v pptQueuing unit v ppt
Queuing unit v ppt
 
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
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Queuing model
Queuing model Queuing model
Queuing model
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
OR Unit 5 queuing theory
OR Unit 5 queuing theoryOR Unit 5 queuing theory
OR Unit 5 queuing theory
 
QUEUING THEORY
QUEUING THEORY QUEUING THEORY
QUEUING THEORY
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 

Andere mochten auch

More Stochastic Simulation Examples
More Stochastic Simulation ExamplesMore Stochastic Simulation Examples
More Stochastic Simulation Examples
Stephen Gilmore
 
Elements Of Stochastic Processes
Elements Of Stochastic ProcessesElements Of Stochastic Processes
Elements Of Stochastic Processes
MALAKI12003
 
Stochastic Process
Stochastic ProcessStochastic Process
Stochastic Process
knksmart
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
Presi
 
Deterministic vs stochastic
Deterministic vs stochasticDeterministic vs stochastic
Deterministic vs stochastic
sohail40
 
Operating Systems - Queuing Systems
Operating Systems - Queuing SystemsOperating Systems - Queuing Systems
Operating Systems - Queuing Systems
Emery Berger
 

Andere mochten auch (19)

More Stochastic Simulation Examples
More Stochastic Simulation ExamplesMore Stochastic Simulation Examples
More Stochastic Simulation Examples
 
Elements Of Stochastic Processes
Elements Of Stochastic ProcessesElements Of Stochastic Processes
Elements Of Stochastic Processes
 
Stochastic modelling and its applications
Stochastic modelling and its applicationsStochastic modelling and its applications
Stochastic modelling and its applications
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Simulation Techniques
Simulation TechniquesSimulation Techniques
Simulation Techniques
 
Stochastic Process
Stochastic ProcessStochastic Process
Stochastic Process
 
4 stochastic processes
4 stochastic processes4 stochastic processes
4 stochastic processes
 
Introduction to queueing theory
Introduction to queueing theoryIntroduction to queueing theory
Introduction to queueing theory
 
Deterministic vs stochastic
Deterministic vs stochasticDeterministic vs stochastic
Deterministic vs stochastic
 
ASN.1 Basics
ASN.1 BasicsASN.1 Basics
ASN.1 Basics
 
Queuing analysis
Queuing analysisQueuing analysis
Queuing analysis
 
Guide to Queuing System
Guide to Queuing SystemGuide to Queuing System
Guide to Queuing System
 
14 queuing
14 queuing14 queuing
14 queuing
 
Chapter1
Chapter1Chapter1
Chapter1
 
Operating Systems - Queuing Systems
Operating Systems - Queuing SystemsOperating Systems - Queuing Systems
Operating Systems - Queuing Systems
 
Unit 6 input modeling problems
Unit 6 input modeling problemsUnit 6 input modeling problems
Unit 6 input modeling problems
 
Spatial Clustering to Uncluttering Map Visualization in SOLAP
Spatial Clustering to Uncluttering Map Visualization in SOLAPSpatial Clustering to Uncluttering Map Visualization in SOLAP
Spatial Clustering to Uncluttering Map Visualization in SOLAP
 
The Stochastic Simulation Algorithm
The Stochastic Simulation AlgorithmThe Stochastic Simulation Algorithm
The Stochastic Simulation Algorithm
 
Unit 1 introduction contd
Unit 1 introduction contdUnit 1 introduction contd
Unit 1 introduction contd
 

Ähnlich wie Queuing theory network

ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
LuckySaigon1
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
Abu Bashar
 
Modeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptxModeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptx
MaiGaafar
 

Ähnlich wie Queuing theory network (20)

queueing problems in banking
queueing problems in bankingqueueing problems in banking
queueing problems in banking
 
4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf4-Queuing-System-ioenotes.pdf
4-Queuing-System-ioenotes.pdf
 
Queuing theory and its applications
Queuing theory and its applicationsQueuing theory and its applications
Queuing theory and its applications
 
Simulation chapter 4
Simulation chapter 4Simulation chapter 4
Simulation chapter 4
 
ch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.pptch06-Queuing & Simulation.ppt
ch06-Queuing & Simulation.ppt
 
Tps04
Tps04Tps04
Tps04
 
Operation Research
Operation ResearchOperation Research
Operation Research
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdfSolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
SolvingOfWaitingLinesModelsintheBankUsingQueuingTheoryModel.pdf
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Operating characteristics ofqueuing system
Operating characteristics ofqueuing systemOperating characteristics ofqueuing system
Operating characteristics ofqueuing system
 
Queuing Theory
Queuing TheoryQueuing 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)
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
Waiting line theroy
Waiting line theroyWaiting line theroy
Waiting line theroy
 
chapter11 liner model programing.pptx
chapter11 liner model programing.pptxchapter11 liner model programing.pptx
chapter11 liner model programing.pptx
 
Decision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdfDecision Sciences_SBS_9.pdf
Decision Sciences_SBS_9.pdf
 
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
 
Queueing theory
Queueing theoryQueueing theory
Queueing theory
 
Modeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptxModeling_Simulation_ch3_lecture_1.pptx
Modeling_Simulation_ch3_lecture_1.pptx
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 

Queuing theory network

  • 1. Queuing Theory AMIT SINGH DAHAL G5638545
  • 2. Outline:  Introduction  Characteristics  Configuration  Software of Queuing System of Service System for Simulation  Limitation of Queuing Theory
  • 3. Introduction:  a waiting line of "customers" requiring service from one or more servers  Example:  when the short term demand for service exceeds the capacity of facilities  QT, mathematical study of waiting lines (or queues)  enables mathematical analysis of several related processes, including arriving at the (back of the) queue, waiting in the queue, and being served by the Service Channels at the front of the queue -Waiting for service in bank and at reservation counter -Waiting for a train or bus -Waiting at doctor’s clinic
  • 4. Characteristics of Queuing System: 1. The Arrival Pattern 2. The Service Mechanism 3. The Queue Discipline 4. Number of Service Channels
  • 5. 1. The Arrival Pattern:   Arrivals can be measured as the arrival rate or the inter-arrival time(time between arrivals) Inter-arrival time =1/ arrival rate  (i) Balking: The customer may decide not to enter the queue upon arrival, because it is too long.  (ii) Reneging: The customer may decide to leave the queue after waiting a certain time in it.  (iii) Jockeying: If there are multiple queues in parallel the customers may switch between them
  • 6. 2. Service Mechanism:  Service pattern can be deterministic or stochastic  Can also be batched or bulked services  service rate may be state-dependent  Note: difference in Arrival pattern and Service pattern because services cannot be initiated if the Queue is empty
  • 7. 3. Queue Discipline  Vital, the way of selecting customers for services  Can be: i)First in First Out (FIFO) Ii)Last in First Out (LIFO) iii)Service in Random Order (SIRO) iv)Priority Schemes. Priority schemes are : -Preemptive: customer with higher priority displaces the customer with low priority and get services -Non-preemptive: customer with the higher priority wait for the current service to be completed before getting the service
  • 8. 4. Number of Service Channels:  Single Queue: -have only one queue to get different services -customer get services based on the availability of the server
  • 9. 4. Number of Service Channels(Contd…)  Parallel Queue -have multiple queues to get different services -the customer can change the queue, if the number of customer deceases in the other queue(Jockeying)
  • 10. Configuration of Service System  Single Server-Single Queue: -Example: student standing in the library queue
  • 11.  Parallel Server-Single Queue: -Example: Bank transaction, many token numbers are served one-byone according to available Server
  • 12.  Several Server-Several Queue -Example: different cash counters in electricity office
  • 13.  Services facilities in a series: -Example: may be product manufacturing that requires steps like cutting, drilling, grinding, operations, packaging
  • 14. Software for Simulation:  Model represented using Kendall- Lee Notation where, (a/b/c):( d/e/f) a = arrival rate distribution b = service rate distribution c = no. of parallel service channels (identical service) d = service discipline e = maximum no. allowed in the system f = calling source Common notation: M =Poissonl/Exponential rates G = General Distribution of Service Time Ek-=Erlangian Distribution
  • 16.  Notation: λc = effective mean arrival rate λ = λc if queue is infinite λe = λ - [expected number who balk if the queue is finite] W = expected waiting time of a customer in the system Wq = expected waiting time of a customer in the queue L = expected no. of customers in the system Lq = expected number of customers in the queue Po = probability of no customers in the system Pn = probability of n customers in the system ρ = traffic intensity= λ/nμ ρc= effective traffic intensity= λe/μ
  • 17. MULTIPLE CHANNELPOISSON/EXPONENTIAL MODEL [(M/M/C):(GD/ α /α)] Characteristics:   1. Input population is infinite. 2. Arrival rate has a Poisson Distribution  3. There is more than one server.  4. Service time is exponentially distributed with mean1/μ. [λ<μ]  5. System capacity is infinite.  6. Balking and reneging are not allowed.
  • 18. Queuing Theory Limitation  Queuing models are quite complex and cannot be easily understood  Form of theoretical distribution applicable to given queuing situation is not easily known  If the queuing discipline is not FIFO based, then the study of queuing problem become more difficult
  • 19. References:  DEMO: https://www.stat.auckland.ac.nz/~stats255/qsim/qsim.html  http://homepages.inf.ed.ac.uk/jeh/Simjava/queueing/mm1_q/mm1_q .html  http://en.wikipedia.org/wiki/Queueing_theory  Zukerman, Moshe: Introduction to Queueing Theory and Stochastic Teletraffic Models.  http://homes.cs.washington.edu/~lazowska/qsp/  http://people.brunel.ac.uk/~mastjjb/jeb/or/queue.html  http://www.eventhelix.com/realtimemantra/congestioncontrol/queue ing_theory.htm