An Introduction to Queueing Theory



Similar documents
Rule-based Traffic Management for Inbound Call Centers


UNIT 2 QUEUING THEORY

Performance Analysis of a Telephone System with both Patient and Impatient Customers

Exponential Approximation of Multi-Skill Call Centers Architecture

Stochastic Models for Inventory Management at Service Facilities

Supplement to Call Centers with Delay Information: Models and Insights

Tenth Problem Assignment

4 The M/M/1 queue. 4.1 Time-dependent behaviour

Simple Markovian Queueing Systems

The Joint Distribution of Server State and Queue Length of M/M/1/1 Retrial Queue with Abandonment and Feedback

M/M/1 and M/M/m Queueing Systems

Fluid Approximation of a Priority Call Center With Time-Varying Arrivals

6.263/16.37: Lectures 5 & 6 Introduction to Queueing Theory

INSURANCE RISK THEORY (Problems)

Optimal Hiring of Cloud Servers A. Stephen McGough, Isi Mitrani. EPEW 2014, Florence

1. Repetition probability theory and transforms

LECTURE - 1 INTRODUCTION TO QUEUING SYSTEM

Stirling s formula, n-spheres and the Gamma Function

Statistical Analyses of Call Center Data

Probability Calculator

ISyE 2030 Test 2 Solutions

12.5: CHI-SQUARE GOODNESS OF FIT TESTS

IEOR 6711: Stochastic Models, I Fall 2012, Professor Whitt, Final Exam SOLUTIONS

Maximum Likelihood Estimation

Department of Mathematics, Indian Institute of Technology, Kharagpur Assignment 2-3, Probability and Statistics, March Due:-March 25, 2015.

Simple Queuing Theory Tools You Can Use in Healthcare

Stochastic Processes and Queueing Theory used in Cloud Computer Performance Simulations

Statistics 100A Homework 8 Solutions

A joint chance-constrained programming approach for call center workforce scheduling under uncertain call arrival forecasts

Network Design Performance Evaluation, and Simulation #6

VISUALIZATION OF DENSITY FUNCTIONS WITH GEOGEBRA

MATH 10: Elementary Statistics and Probability Chapter 5: Continuous Random Variables


Chapter 13 Waiting Lines and Queuing Theory Models - Dr. Samir Safi

Optimal shift scheduling with a global service level constraint

For a partition B 1,..., B n, where B i B j = for i. A = (A B 1 ) (A B 2 ),..., (A B n ) and thus. P (A) = P (A B i ) = P (A B i )P (B i )

Resource Pooling in the Presence of Failures: Efficiency versus Risk

QUEUING THEORY. 1. Introduction

Q UEUING ANALYSIS. William Stallings

1 The EOQ and Extensions

Exercises on ns-2. Chadi BARAKAT. INRIA, PLANETE research group 2004, route des Lucioles Sophia Antipolis, France

Section 5.1 Continuous Random Variables: Introduction

Queuing Theory II 2006 Samuel L. Baker

CHAPTER 6: Continuous Uniform Distribution: 6.1. Definition: The density function of the continuous random variable X on the interval [A, B] is.

Estimating the Degree of Activity of jumps in High Frequency Financial Data. joint with Yacine Aït-Sahalia

TRAFFIC ENGINEERING OF DISTRIBUTED CALL CENTERS: NOT AS STRAIGHT FORWARD AS IT MAY SEEM. M. J. Fischer D. A. Garbin A. Gharakhanian D. M.

Traffic Engineering Techniques in Telecommunications

Numerical methods for American options

2WB05 Simulation Lecture 8: Generating random variables

CHAPTER 3 CALL CENTER QUEUING MODEL WITH LOGNORMAL SERVICE TIME DISTRIBUTION

Optimal outpatient appointment scheduling

Random access protocols for channel access. Markov chains and their stability. Laurent Massoulié.

Notes on Continuous Random Variables

Online Scheduling Policies for Multiclass Call Centers. with Impatient Customers

ENGINEERING SOLUTION OF A BASIC CALL-CENTER MODEL


MASSACHUSETTS INSTITUTE OF TECHNOLOGY 6.436J/15.085J Fall 2008 Lecture 14 10/27/2008 MOMENT GENERATING FUNCTIONS

U = x x x 1 4. What are the equilibrium relative prices of the three goods? traders has members who are best off?

Errata and updates for ASM Exam C/Exam 4 Manual (Sixteenth Edition) sorted by page

Chapter 5 Discrete Probability Distribution. Learning objectives

1 Sufficient statistics

The Exponential Distribution

Hedging Options In The Incomplete Market With Stochastic Volatility. Rituparna Sen Sunday, Nov 15

A Markovian Sensibility Analysis for Parallel Processing Scheduling on GNU/Linux

MAINTAINED SYSTEMS. Harry G. Kwatny. Department of Mechanical Engineering & Mechanics Drexel University ENGINEERING RELIABILITY INTRODUCTION

MATH4427 Notebook 2 Spring MATH4427 Notebook Definitions and Examples Performance Measures for Estimators...

Traffic Control by Influencing User Behavior

University of Maryland Fraternity & Sorority Life Spring 2015 Academic Report

Final Mathematics 5010, Section 1, Fall 2004 Instructor: D.A. Levin

MODELING OF SYN FLOODING ATTACKS Simona Ramanauskaitė Šiauliai University Tel ,

Pull versus Push Mechanism in Large Distributed Networks: Closed Form Results

Exponential Distribution

Telephone Traffic Queues in a Customer Call Center. A Thesis. Presented for the. Master of Science Degree. The University of Tennessee at Chattanooga

An Application of Queuing Theory to Modeling of Melange Yarns Part I: A Queuing Model of Melange Yarn Structure

Brownian Motion and Stochastic Flow Systems. J.M Harrison

Simulating Stochastic Differential Equations

Hypothesis testing - Steps

RANDOM INTERVAL HOMEOMORPHISMS. MICHA L MISIUREWICZ Indiana University Purdue University Indianapolis

Option Pricing. 1 Introduction. Mrinal K. Ghosh

The Analysis of Dynamical Queueing Systems (Background)

Transcription:

An Introduction to Queueing Theory Rein Nobel Department of Econometrics, Vrije Universiteit, Amsterdam Open Middag november 20

Overview. Basic results for queueing models in continuous time: (a) delay models [Erlang-C] (b) loss models [Erlang-B] (c) retrial models (d) abandonment models [Erlang-A] 2. Models in discrete time.

A short introduction to queueing theory Queueing Theory (QT) is the science of congestion. A personal experience at New Delhi Airport while waiting in line for the immigration: (To an airport official) I: Sir, we are staying in line already for more than two hours without any visible progress! Can you please tell us what is going on? Official: No problem, Sir! There is only congestion in the queue! 2

The basic elements of a (simple) queueing model Customers (jobs) arrive (singly or in groups) at a service facility, One or more servers occupy the facility to serve customers, A waiting space (infinite or finite [physical] buffer or [virtual] orbit) for customers who cannot be served immediately upon arrival. 3

We distinguish four main characteristics of queueing models: delay models: customers wait in line until they can be served loss models: customers leave the system when they find all servers busy upon arrival retrial models: customers who do not find an idle server upon arrival leave the system only temporarily, and try to reenter some random time later abandonment models: customers waiting in line will leave the system before being served after their patience time has expired. 4

Example: M/G/ delay model: Customers arrive according to a Poisson process with rate λ [process A], There is one server and an infinite waiting space, Each customer requires a generally distributed service time S [process B], Customers who upon arrival find the server busy wait in line, The customers are served in order of arrival (FIFO), 5

A = {A n ; n =, 2,...}, B = {S n ; n =, 2,...}. A n exp(λ), S n G( ). traffic intensity: ρ = λe[s] <. { customer n has to wait in line C n = 0 otherwise D n = waiting time in the queue of customer n, Q(t) = number of customers waiting at time t. D n+ = max(d n + S n A n+, 0), D = 0. 6

Endogenous processes: C = {C n ; n =, 2,...}, D = {D n ; n =, 2,...}, Q = {Q(t), t 0}. Some well-known results for the M/G/ queue: lim n n n k= Pollaczek-Khintchine formula D := lim n n Q := lim t t n k= C k = ρ, w.p.. D k = λe[s2 ] 2( ρ) w.p. 0 Q(u)du = λ2 E[S 2 ] 2( ρ) w.p.. 7

Little s Law Q = λ D. The busy period L = length of a time interval that the server is busy uninterruptedly. E[L] = E[S] ρ

The M/M/c model [Erlang-C] Customers arrive according to a Poisson process with rate λ, There are c servers and there is an infinite waiting space, Each customer requires an exponential service time with mean /µ, Customers who upon arrival find all servers busy wait in line, Customers are served in FIFO order. 8

The Erlang-C formulae The traffic-intensity is now ρ := λ/(cµ), Π delay = IP(D > 0) = (cρ)c c!( ρ) Q = (cρ)c ρ c!( ρ) 2 c k=0 IP(D > x) = Π delay e cµ( ρ)x (cρ) k k! c k=0 (cρ) k k! + (cρ)c c!( ρ) + (cρ)c c!( ρ) D = Q λ = (cρ) c c!cµ( ρ) 2 c k=0 (cρ) k k! + (cρ)c c!( ρ) 9

Example: Erlang s Loss Model M/G/c/c [Erlang-B] Customers arrive according to a Poisson process with rate λ, There are c servers and there is no waiting space, Each customer requires a generally distributed service time S, Customers who upon arrival find all servers busy are rejected forever, R n = { customer n finds all servers busy 0 otherwise. 0

Erlang s Loss Formula [Erlang-B] E,c := Π lost = lim n n n k= R k = (λe[s])c /c! ci=0 (λe[s]) i /i!

Example: M/G/ retrial queue: Customers arrive according to a Poisson process with rate λ, There is one server and an infinite virtual waiting space (orbit), Each customer requires a generally distributed service time S G( ), Customers who upon arrival find the server busy try to reenter after an exponential time R exp(ν), { server busy at time t C(t) = 0 otherwise D n = waiting time in the orbit of customer n, Q(t) = number of customers in orbit at time t.

Some results for the retrial queue lim t t t 0 C(u)du = ρ, w.p., D := lim n n Q := lim t t n k= D k = λe[s2 ] 2( ρ) + ρ ν( ρ) w.p. 0 Q(u)du = λ2 E[S 2 ] 2( ρ) + λρ ν( ρ) w.p.. 2

The busy period in the M/G/ retrial queue L = time lapse from the start of a service while the orbit is empty until the first service completion epoch while the orbit is empty. where E[L] = E[S] ρ + ρ exp { λ ν β(s) = u β(λ( u)) 0 ν(β(λ( u)) u) } β(λ( v)) β(λ( v)) v dv du, 0 e st dg(t). 3

The Palm/Erlang-A Queue Customers arrive according to a Poisson process with rate λ, There are c servers and there is an infinite waiting space, Each customer requires an exponential service time with mean /µ, Customers who upon arrival find all servers busy wait in line to be served, Customers wait in line only an exponentially distributed time with mean /θ [patience time]. 4

Some performance measures for the Palm/Erlang-A model Introduce the incomplete Gamma function γ(x, y) := y 0 tx e t dt, x > 0, y 0, A(x, y) := xey y x γ(x, y) = + j= y i j x > 0, y 0 and k= (x + k), E,c := (λ/µ)c /c! ci=0 (λ/µ) i /i!. Then Π delay = A ( cµ θ IP(D > 0) = ) θ E,c + ( A ( cµ θ, λ ) ) θ E,c IP(Ab D > 0) = ρa ( cµ θ, λ ) + ρ. θ 5

Some relations between the performance measures From Little s Law [ Q = λ D] we get IP(Ab) = θ D, due to θ Q = λip(ab), or, equivalently, IP(Ab D > 0) = θ IE[D D > 0]. So we get IE[D D > 0] = θ D = θ ρa ( cµ θ, λ θ ρa ( cµ θ, λ θ ) + and by multiplying with IP(D > 0) ρ ) + ρ A ( cµ θ, λ ) θ E,c + ( A ( cµ θ, λ ) ). θ E,c 6