On The Waiting Time for A M/M/1 Queue with Impatience
Feng Wang, Xian-Yuan Wu

TL;DR
This paper analyzes the waiting time distribution in an M/M/1 queue with impatience, showing convergence to a limiting distribution with power-law or exponential tails depending on the arrival and service rates.
Contribution
It introduces a model for queue impatience with last-in-first-out answering and proves the convergence of waiting times to a specific distribution with tail behavior.
Findings
Waiting time converges to a limiting distribution W_T.
W_T has a power-law tail when λ=μ.
W_T has an exponential tail when λ≠μ.
Abstract
This paper focuses on the problem of modeling the correspondence pattern for ordinary people. Suppose that letters arrive at a rate and are answered at a rate . Furthermore, we assume that, for a constant , a letter is disregarded when its waiting time exceeds , and the remains are answered in {\it last in first out} order. Let be the waiting time of the -th {\it answered} letter. It is proved that converges weekly to , a non-negative random variable which possesses a density with {\it power-law} tail when and with exponential tail otherwise. Note that this may provide a reasonable explanation to the phenomenons reported by Oliveira and Barab\'asi in \cite{OB}.
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Queuing Theory Analysis · Petri Nets in System Modeling · Simulation Techniques and Applications
On The Waiting Time for A M/M/1 Queue
with Impatience
00footnotetext: *Correspondence author 00footnotetext: AMS classification (2000): Primary 60K 25, 60F 05; secondary 93A 30 00footnotetext: Key words and phrases: M/M/1 queue, last in first out, waiting time, tail probability, Laplace transforms
00footnotetext: Research supported in part by the Natural Science Foundation of China (under grants 11271356, 11471222, 11671275) and the Foundation of Beijing Education Bureau (under grant KM201510028002)
Feng Wang, Xian-Yuan Wu∗
School of Mathematical Sciences, Capital Normal University, Beijing, 100048, China. Email: [email protected], [email protected]
Abstract: This paper focuses on the problem of modeling the correspondence pattern for ordinary people. Suppose that letters arrive at a rate and are answered at a rate . Furthermore, we assume that, for a constant , a letter is disregarded when its waiting time exceeds , and the remains are answered in last in first out order. Let be the waiting time of the -th answered letter. It is proved that converges weekly to , a non-negative random variable which possesses a density with power-law tail when and with exponential tail otherwise. Note that this may provide a reasonable explanation to the phenomenons reported by Oliveira and Barabási in [16].
1 Introduction and statement of the results
In 2005, Oliveira and Barabási [16] reported their research results on the correspondence patterns of Darwin and Einstein: during their lifetimes, Darwin and Einstein answered a fraction of letters they received (the over-all response rate being 0.32 and 0.24, respectively), and the distributions of response times to letters are both well approximated with a power-law tail that has an exponent . The classical M/M/1 process [10, Section 2.2], which assumes that letters arrive at a rate and are answered at a rate , can be used to model their correspondence patterns. Under some service discipline, the waiting-time density of the M/M/1 process may follow for (see [1]), which predicts a power-law waiting time for the critical regime , when . However, by the response rates 0.32 and 0.24, we have and this places the model in the supercritical regime, where a finite fraction of letters are never answered. Oliveira and Barabási pointed out in [16] that numerical simulations indicate that in this supercritical regime the waiting-time distribution of the responded letters also follows a power law with exponent .
Clearly, [16] proposed such questions on modeling the correspondence patterns of human being: how does the ordinary people prioritize the correspondence in need of a response? and does a usual priority principle really lead to a power-law waiting time in the supercritical regime? To partially answer the above questions, or at least, to provide some useful evidence for understanding the above questions, in the present paper, we introduce a special queueing system with a service discipline, which corresponds an usual priority principle of ordinary people, and then study the waiting time for served customers, especially in the supercritical regime.
Now, let’s consider the usual M/M/1 queue, the simplest queueing model used in practice. Suppose that the arrivals occur in a Poisson process with rate and the service times of the unique server have an exponential distribution with parameter . We put the service discipline as follows: for some fixed , a customer leaves the queue when his waiting time exceeds ; the remains are served on the last in first out principle, namely, the principle serves customers one at a time, and the customer with the shortest waiting time will be served first. Note that our model is a queueing system with impatient customers, which was first proposed by Barrer [3, 4], then followed by [8, 12, 13, 14] etc.. For details on queues with impatience, one may refer to [18] and the references therein.
Assume that at time [math], a customer (the [math]-th customer) arrives and the queueing system begins to work.
Let be an i.i.d sequence of exponential distribution random variables with parameter , independent of , be another i.i.d sequence of exponential distribution random variables with parameter . Let and . In our system, the -th customer arrives at time .
Now, fix some , and . Let be the queue length, namely, the total number of customers in the system at time . It is clear that is no longer a Markov process for any ; and in the case of , degenerates to the classical birth-death process with birth rate and death rate . For any , Denote by the waiting time of the -th customer, namely, is the usual waiting time when he is finally served before his waiting time exceeds , otherwise, . By the setting given in the last paragraph, one has and . Let
[TABLE]
Denote , , and let be the expectation of .
First of all, we have the following proposition on .
Proposition 1.1
i) for any and , we have
[TABLE]
ii) for any given , increases in and . Furthermore, for any given and ,
[TABLE]
Let be the number of customers who have already been in the queue when the -th customer arrives. Then, almost surely, if and only if , and is the first return time of state [math] for process .
By i) of Proposition 1.1 and a renewal limit theorem for general stochastic processes (see [5] or [9, Section 8, Chapter 11]), the limit
[TABLE]
and will be proved to be ( see Lemma 2.1 in Section 2).
We point out that, for any , by i) of Proposition 1.1 and the renewal limit theorem in [5], our system tends to statistical equilibrium, namely the queue length converges in distribution to a -valued random variable as .
Let be the modified Bessel function of first kind for real and positive , see [17], given by
[TABLE]
Note that for two functions and , means that .
Now, we can state our main theorem as follows.
Theorem 1.2
For any and , , the waiting time of the -th served customer, converges in distribution to a non-negative random variable . Furthermore, the distribution function of satisfies , for , for , and
[TABLE]
for , where is the normalization constant, and
[TABLE]
Remark 1.1
The function given in (1.6) is the probability density of , the length of the busy period in the classical M/M/1 system when , and is the conditional probability density of conditioned on when . Note that in case of , .
Remark 1.2
For any large , , the density of has a power-law tail with exponent in the critical regime as . In both subcritical and supercritical cases, decays exponentially fast.
But, what are the correspondence patterns of Darwin and Einstein? Numerical simulations indicate that they always keep themselves in the critical regime. A reasonable explanation may be the following: letters arrive according to a Poisson process with rate , where is the rate of letters heard from friends and family members, is the rate of letters heard from the strangers. As the most distinguished scientists in their research fields, Darwin and Einstein received too many letters from the strangers, so they had to ignore such a received letter with probability , such that, in their eyes, letters arrived according to a Poisson process with rate .
2 Proofs
In this section we will prove Proposition 1.1 and Theorem 1.2. Before we give a proof to Proposition 1.1, we introduce an algorithm to obtain .
Given and , let be defined as in Section 1 and let . For any integer , define the random index set as
[TABLE]
Let and write as the largest element in when .
Now we will start a procedure to define a sequence of index sets , we write as the largest element of when . Let . If , then let and define ; otherwise, the procedure is stopped. By induction, for any , if has already been defined and , then let and define ; otherwise, the procedure is stopped. Let
[TABLE]
then
[TABLE]
Proof of i) of Proposition 1.1. Suppose that . For any , let be the event that and . Recalling that the random point set forms a one dimensional Poisson point process in , we know that are mutually independent and, for any ,
[TABLE]
Let
[TABLE]
First, we point out that is a geometry distribution random variable with parameter , hence, we have
[TABLE]
Second, by (2.1), we have and . Denote by the cardinality of , then
[TABLE]
and
[TABLE]
Noticing that , we have and, for any ,
[TABLE]
where the first equality comes from the fact that is independent of for any . Clearly,
[TABLE]
[TABLE]
Thus, by (2.3), (2.4) and then by (2.2),
[TABLE]
Proof of ii) of Proposition 1.1. Given and . To see increases in , one only need to notice the fact that two Poisson processes with parameters and , , respectively can be coupled together in such a way that all arrivals of the former forms a part arrivals of the later. Note that this follows from the infinitely divisible property of Poisson distribution [11]. For details on coupling technique in probability theory, please refer to [15]. Then, the corresponding monotonicity follows from (2.1), the definition of .
For given and , the fact that increases in follows directly from the definition of .
Now we are in the way to prove (1.3), note that the part of (1.3) only need to be proved for , the case of follows from the monotonicity in proved above.
We first declare that for and for . In fact, in case of , our system degenerates to the classical M/M/1 queue. The standard argument of the birth-death process (see [2, 6]) tells us that
[TABLE]
and
[TABLE]
Second, by (2.5) and the algorithm we have used to obtain , we have increases in , and
[TABLE]
Thus, (1.3) follows from the monotone convergence theorem.
Before we give a proof to Theorem 1.2, we have to prove the following lemma. Note that this lemma plays the key role in the proof of Theorem 1.2.
Lemma 2.1
Suppose that and , then
[TABLE]
Proof. In case of , we are dealing with a classical M/M/1 system, (2.6) follows from a standard argument for birth-death process [2, 6]. Now, we suppose .
Let . Then , and for any ,
[TABLE]
where . (2.7) indicates that the sequence is iteratively determined by and its initial value .
Provided (1.4) and (2.7), the lemma may follows from a standard argument on generation function and the Abel’s Theorem (see [7, page 12]). Here, we prefer to give it a probabilistic proof, one will see that our proof mainly depends on (2.7), and (1.4) is only a consequence of it.
By the basic theory on discrete-time Markov chains [7, Section 1.2], to prove (2.6), it suffices to construct a -valued discrete-time Markov chain such that is ergodic and
[TABLE]
where is the first return time of state [math]. Note that ergodic means *irreducible, aperiodic * and positive recurrent as usual.
To this end, we give the following transition matrix to :
[TABLE]
It is straightforward to check that with the above transition matrix is ergodic and satisfies (2.8). Thus we finish the proof of the lemma.
Proof of Theorem 1.2. For any , one has
[TABLE]
First of all, if and only if, at , the arrival time of the -th customer, the unique server is occupied, namely, . It is clear that, on the last in first out principle, if , then does not depend on the exact value of . Second, for any , means that all customers arrived after, but were served before the -th one are finally served in time (). In other word, the -th customer finally gets into the sever after a whole busy period finishes in time . Hence, by the memoryless property of the exponential distribution, for any and for any ,
[TABLE]
where is the length of the busy period of the classical M/M/1 system. Note that, in our setting, , with
[TABLE]
As calculated in [19],
[TABLE]
Where is the distribution function of .
In case of , by (2.10), we have , so is a probability distribution function and
[TABLE]
is a probability density.
To finish the proof of the theorem, we will introduce , the Laplace transform of defined by the following Lebesgue-Stieltjes integration
[TABLE]
where is the real part of the complex number .
It is calculated directly that (see [19, Eq. (51)]),
[TABLE]
Clearly, can be uniquely inverted to give the probability distribution function in case of .
In case of , by symmetry and the linearity of the (inverse) Laplace Transform, the following
[TABLE]
can be inverted to give the following probability distribution function
[TABLE]
and is the probability density corresponding to .
By (2.14), one has and is the conditional distribution function of conditioned on .
Write and in the unified form , which is given in (1.6). Then, by (2.9), the conditional distribution of conditioned on is
[TABLE]
for , where is the normalization constant. The theorem follows immediately form (2.15) and Lemma 2.1.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] J. Abate and W. Whitt (1997) Assymptotics for M/G/1 low-priority waiting time tail probabilities, Queueing Systems 25, pp 173-233
- 2[2] W. J. Anderson (1991) Continous-Time Markov Times, Springer-Verlag, New York
- 3[3] D. Y. Barrer (1957) Queuing with impatient customers and indifferent clerks, Oper. Res. 5, pp 644-649
- 4[4] D. Y. Barrer (1957) Queuing with impatient customers and ordered services, Oper. Res. 5, pp 650-656
- 5[5] V. E. Beneš (1962) A “renewal” limit theorem for general stochastic processes, Ann. Math. Statist. 33, pp 98-113
- 6[6] M.-F. Chen (2004) From Markov Chains to Non-equilibrium Particle Systems, 2nd ed. World Scientific Publishing Company, Singapore
- 7[7] M.-F. Chen and Y.-H. Mao (2007) An Introduction to Random Processes, (in chinese), Higher education press, ISBN 978-7-04-021778-0
- 8[8] P. D. Finch (1960) Deterministic customer impatience in the queueing system GI/M/1, Biometrika 47(1,2) pp 45-52
