This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Also at ]Dept. of Applied Mathematics, Waseda University.

The Battle of Infinity: Explosive Demand Surge vs Gigantic Service Providers

Hiroshi Toyoizumi [ Graduate School of Accountancy, Waseda University
Abstract

Infinite server queues have ultimate processing power to accommodate explosive demand surges. We provide a new stability criterion based on the Borel-Cantelli lemma to judge whether the infinite server safely accommodates heavy-tailed demands. We illustrate the battles between heavy-tailed demand and infinite servers in detail. In particular, we show some cases where the explosive demand overwhelms the infinite server queue. The medical demand caused by pandemics such as the COVID-19 creates huge stress to the healthcare system. This framework indicates that healthcare systems need to account for the tail behavior of the cluster size and hospital stay length distributions to check the stability of their systems during pandemics.

==========

[Popular Summary]

Healthcare systems are under pressure due to the COVID-19 pandemic. Social gatherings may create clusters of infections, and the resulting patient stream causes a shortage of beds, medical supplies, and medical staff. In order to meet the explosive surge of medical demand, healthcare systems are reinforced, sometimes even by building temporary hospitals overnight.

The infinite server queue is the ultimate model of such an idealized hospital that serves any number of patients without delay. We find new criteria for the stability of the infinite server queue: the balance of the tail behavior of the cluster size and hospital stay length. Even though each cluster brings a finite number of patients, if the stochastic fluctuation of the cluster and the hospital stay is a volatile power-law tail distribution, the idealized hospital may be overwhelmed by the medical demand and collapse.

Our results suggest that healthcare systems should take into account the balance of the tail behavior of the cluster size and hospital stay length. Moreover, in some extreme cases, reinforcement of healthcare systems is not the best strategy. Instead, reducing the medical demand by controlling social gatherings and lengths of hospital stays is crucial.

I Introduction

In pandemics such as COVID-19, super-spreading events (or clusters) associated with large social gatherings create sudden explosions of infections, and the resulting stream of patients becomes a huge stress to the healthcare system On Kwok et al. (2020); Iritani et al. (2020). Infinite server queues that can provide immediate services to any number of patients simultaneously are the ultimate models of idealized healthcare systems.

For another example, in the era of social media, cascaded demand buildup to the most popular service in a short period of time is also common in the winner-takes-all-type competitive market Easley and Kleinberg (2010); Levis (2009); Porter and ilustraciones Gibbs (2001); Prakash et al. (2012). Friend networks on social media are modelled by scale-free networks, and the surges in demand for popular services have power-law distributions. Infinite server queues may be used to analyze such service providers accommodating huge surges in demand.

To analyze the stability of systems, we employ a method called queuing theory, which has been developed to evaluate complex service systems Baccelli and Brémaud (2013); Wolff (1989); Kleinrock (1975). In particular, we use an infinite server queue with the batch arrival of customers for modelling the idealized system accommodating the explosive demand sureges. Even though the term may suggest otherwise, infinite server queues do not make customers wait in queues, because they have an infinite number of servers. For example, an infinite server queue can be an idealized hospital that provides immediate treatment to any number of patients arriving simultaneously, or it can be a gigantic platformer that provides immediate service to cascaded demand fuelled by social media. We show that these ideal hospitals or gigantic platformers may be overtaken by demand surge, and thus, would explode. This shows that, there may be some extreme cases: we need to focus on controlling the demand surges by suppressing the size of social gatherings or reducing hospital stay length.

II Discrete fractional power law distribution

In order to model demand surges, we define a family of power law distributions in the form of a generalized geometric distribution parameterized with p>0p>0 as

P(X=k)=(1kp+k)i=1k1ip+i.\displaystyle P(X=k)=\left(1-\frac{k}{p+k}\right)\prod_{i=1}^{k-1}\frac{i}{p+i}. (1)

for k=1,2,k=1,2,\dots. Note that this discrete pp-th order fractional power law distribution is a generalized geometric distribution with a non-homogenous parameter i/(p+i)i/(p+i) Mandelbaum et al. (2007), which has an asymptotic tail probability of the order of O(kp)O(k^{-p}), and the moment E[Xq]=E[X^{q}]=\infty for qpq\geq p (see Figure 1).

Refer to caption
Figure 1: Log-log plots of the pp-th order discrete fractional power law distribution (1) for p=1/2,1,2p=1/2,1,2 (the tail gets heavier for smaller values of pp), which are compared with the geometric distribution with the parameter 1/101/10.

When pp is a positive integer, (1) is reduced to

P(X=k)=pp!k(k+1)(k+p),\displaystyle P(X=k)=\frac{p\cdot p!}{k(k+1)\cdots(k+p)}, (2)

It is known that preferentially attached (scale-free) networks have degree distributions given by (2) with p=2p=2, and they have the infinite second moment Dorogovtsev et al. (2000); Durrett (2007). Friend networks are considered preferentially attached networks, and may serve as suitable models for the size distribution of social gatherings.

III Infinite server queue and its stability

We consider the infinite server queue with batch arrivals. Let <T1<T00<T1<T2<\dots<T_{-1}<T_{0}\leq 0<T_{1}<T_{2}<\dots be the sequence of the batch arrival times with finite intensity λ\lambda. Each customer in a batch of size XnX_{n} arriving at TnT_{n} is served immediately, and stays in the system for Sn,1,Sn,2,,Sn,XnS_{n,1},S_{n,2},\dots,S_{n,X_{n}}, and then leaves the system. We allow a large stochastic fluctuation of the batch size such that E[Xn]=E[X_{n}]=\infty, but assume that batch sizes and sojourn times are finite, i.e., P(Xn<)=1P(X_{n}<\infty)=1 and P(Sn,i<)=1P(S_{n,i}<\infty)=1.

We evaluate LL, the number of customers existing in the system at time 0, given that the system started sufficiently long before. In this setting, by adding the older batches one by one from time 0, LL is regarded as its monotone-increasing limit. Although batch sizes are finite and each customer spends a finite time in the system, LL can be infinite, causing the system to explode. We aim to obtain the condition under which the system is stable with the condition P(L<)=1P(L<\infty)=1.

Let Ak,i={Sk,i>Tk}A_{-k,i}=\{S_{-k,i}>-T_{-k}\} be events where the customer ii in the batch arriving at TkT_{-k}, and is still in the system at time 0. Then, by summing up all the values, we have

L=k=0i=1Xk1Ak,i.\displaystyle L=\sum_{k=0}^{\infty}\sum_{i=1}^{X_{-k}}1_{A_{-k,i}}. (3)

By applying the Borel-Cantelli lemma to possibly correlated events Bk=i=1XkAk,iB_{-k}=\cup_{i=1}^{X_{{}^{k}}}A_{-k,i}, we can prove that the system is stable when P(L<)=1P(L<\infty)=1, if the batch arrival rate λ\lambda and E[max1iXkSi]E[\max_{1\leq i\leq X_{k}}S_{i}] are finite (see details in Appendix A).

Thus, balancing the sojourn time SS (hospitalization time) and the batch size XX (cluster size) is necessary to achieve stability. Specifically, using the Holder and Jensen inequalities, we extend the idea presented in Devroye (1979) to obtain the bound of E[max1iXSi]E[\max_{1\leq i\leq X}S_{i}] as

E[max1iXSi]{E[Sp]}1/pE[X1/p].\displaystyle E\left[\max_{1\leq i\leq X}S_{i}\right]\leq\{E[S^{p}]\}^{1/p}E[X^{1/p}]. (4)

when XX and SS are independent and E[X1/p]<E[X^{1/p}]<\infty and E[Sp]<E[S^{p}]<\infty for some p>0p>0 (see details in Appendix B).

IV Battles against explosive demand surges

In the following, we further assume that the batch arrival is a Poisson process with rate λ\lambda, which corresponds to assuming that the social gathering events are independently and randomly organized. In this case, we can explicitly derive the probability generating function of LL as

E[zL]=exp[λ{0(1E[zM(s)])𝑑s}].\displaystyle E\left[z^{L}\right]=\exp\left[-\lambda\left\{\int_{0}^{\infty}\left(1-E\left[z^{M(s)}\right]\right)ds\right\}\right]. (5)

if it exists, where M(t)=i=1X1{Si>t}M(t)=\sum_{i=1}^{X}1_{\{S_{i}>t\}} (see details of the derivations in Appendix C).

We analyze the battle of infinite server queue against the explosive demand surge in detail using the balance criteria (4), and the discrete fractional power law distribution defined by (1), where (5) can be explicitly calculated via (33) in Appendix C.

Battle 1 (Light-tailed sojourn time; the infinite server always wins).

We assume that the sojourn times are independent and exponentially distributed (set E[S]=1/μE[S]=1/\mu), and the batch size XX is a discrete fractional power law distribution with p=1p=1. Even though E[X]E[X] is infinite, the tail of the sojourn time is sufficiently light to have finite E[max1iXSi]E[logX]E[\max_{1\leq i\leq X}S_{i}]\approx E[\log X], and then, the queue is stable (see Corollary 1 in Appendix C and Cong (1994); Yajima et al. (2017)). In this case, the probability generating function of the stationary distribution LL is given by

E[zL]=exp[ρn=11znn2].\displaystyle E\left[z^{L}\right]=\exp\left[-\rho\sum_{n=1}^{\infty}\frac{1-z^{n}}{n^{2}}\right]. (6)

where ρ=λ/μ\rho=\lambda/\mu (see details in Appendix C). Note that LL itself is heavy-tailed, and E[L]=E[L]=\infty). Figure 2 shows examples of the probability distribution P(L=n)P(L=n), obtained by checking the expansion with respect to zz around 0.

Refer to caption
Figure 2: Examples of the stationary distribution P(L=n)P(L=n) in Battle 1. The batch size XX is the discrete power law distribution with p=1p=1 and E[X]=E[X]=\infty. The sojourn time is light-tailed, and the queue is stable.
Refer to caption
Refer to caption
Refer to caption
Figure 3: The transient distribution P(L(t)=n)P(L(t)=n) of the infinite queues with the heavy-tailed arrivals (p,q)=(1,2),(1/2,2)(p,q)=(1,2),(1/2,2) and (1/2,3)(1/2,3), and the batch arrival rate λ=1\lambda=1.

Next, we analyze cases in which the batch size XX is a pp-th order fractional power law discrete distribution and the sojourn time SS is also an independent qq-th order power law discrete distribution. Their pair is called the heavy-tailed arrival (p,q)(p,q). In healthcare systems, hospital stays may be fitted to heavy-tailed distributions due to few severely ill patients S. et al. (2018). By the balance criteria (4), the infinite server queue with heavy-tailed arrival (p,q)(p,q) is stable when pq>1pq>1 and q>1q>1. Thus, healthcare systems have to take into account statistical features such as the tail behavior of the cluster size and the hospital stay length distributions to ensure the stability of their systems, as can be seen in the following battle examples.

Battle 2 (the heavy-tailed arrival (1,2)(1,2); the infinite server wins).

Consider the heavy-tailed arrival (p,q)=(1,2)(p,q)=(1,2). The sojourn time is heavy-tailed, but relatively mild (E[S2]=E[S^{2}]=\infty but E[S]<E[S]<\infty). Thus, the queue is stable, and

E[zL]=exp[λk=1αk(z)1αk(z)log(1αk(z))].\displaystyle E\left[z^{L}\right]=\exp\left[\lambda\sum_{k=1}^{\infty}\frac{\alpha_{k}(z)-1}{\alpha_{k}(z)}\log(1-\alpha_{k}(z))\right]. (7)

where αk(z)=1(1z)P(Sk)=12(1z)k(k+1)\alpha_{k}(z)=1-(1-z)P(S\geq k)=1-\frac{2(1-z)}{k(k+1)}. The top figure of Figure 3 shows the transient behavior of the probability distribution converging to this steady-state distribution.

Battle 3 (the heavy-tailed arrival (1/2,2)(1/2,2); the explosive demand wins).

Consider the heavy-tailed arrival (p,q)=(1/2,2)(p,q)=(1/2,2) that satisfies E[logX]<,E[X]=E[\log X]<\infty,E[\sqrt{X}]=\infty and E[S]<,E[S2]=E[S]<\infty,E[S^{2}]=\infty. In this case, the demand surge is too explosive, so the system is overwhelmed by the demand, and it is unstable in the sense that P(L=)=1P(L=\infty)=1. Since sin1(x)π/2\sin^{-1}(x)\to\pi/2 as x1x\to 1, we have

E[max1iXSi]=k=1sin1([11/{(k(k+1)}]1/2){k(k+1)1}1/2=.\displaystyle E\left[\max_{1\leq i\leq X}S_{i}\right]=\sum_{k=1}^{\infty}\frac{\sin^{-1}\left([1-1/\{(k(k+1)\}]^{1/2}\right)}{\{k(k+1)-1\}^{1/2}}=\infty. (8)

Thus, by Theorem 3, P(L=)=1P(L=\infty)=1. The middle figure of Figure 3 shows the transient behavior of the probability distribution P(L(t)=n)P(L(t)=n), and shows that LL is escaping to infinity. Thus, no matter how fast we reinforce the capacity in order to realize the idealized healthcare system, collapse is inevitable.

Battle 4 (the heavy-tailed arrival (1/2,3)(1/2,3); the infinite server wins).

Consider the heavy-tailed arrival (p,q)=(1/2,3)(p,q)=(1/2,3). The batch size fluctuates severely as in the previous example, but the sojourn time is more gentle. The queue is stable, because pq>1pq>1, and we have

E[zL]=exp[λk=1(1αk(z)αk(z))1/2sin1(αk(z))].\displaystyle E\left[z^{L}\right]=\exp\left[\lambda\sum_{k=1}^{\infty}\left(\frac{1-\alpha_{k}(z)}{\alpha_{k}(z)}\right)^{1/2}\sin^{-1}\left(\sqrt{\alpha_{k}(z)}\right)\right]. (9)

where αk(z)=1(1z)P(Sk)=16(1z)/{k(k+1)(k+2)}\alpha_{k}(z)=1-(1-z)P(S\geq k)=1-6(1-z)/\{k(k+1)(k+2)\}. The bottom figure of Figure 3 shows that LL does not escape to infinity, even though the arrival is heavy-tailed in both the batch size XX and the sojourn time SS.

Appendix A Stability Criteria

It is known that a G/G/G/G/\infty queue 111the symbol A/B/cA/B/c is called the Kendall symbol of the queuing system, with the arrival process AA, the service demand BB, and the number of servers cc. G/G/G/G/\infty means that both the arrival process and the service demand are general and dependent, and have infinitely many servers. On the other hand, M/M/M/M/\infty means that the arrival process is Poisson process and the service demand is independent exponential distribution. with infinitely many servers to process a stream of customers (no batch arrival) with generally-distributed sojourn time is stable when the arrival rate and the expectation of sojourn times of the customers are both finite (Baccelli and Brémaud, 2013, p133). Few studies Cong (1994); Yajima et al. (2017) have extended this fundamental result to the case when the batches of customers arrive as a Poisson process. Even when the arrival is so heavy-tailed that the expected batch size is infinite, the infinite server can process the demand, and the queue is stable, given the batch size satisfies E[logX]<E[\log X]<\infty. Here, we obtain a new criterion to check the stability of the batch arrival GX/G/G^{X}/G/\infty queue (XX represents the batch arrival), when the sojourn times of customers may be correlated.

Refer to caption
Figure 4: Examples of a sample path of the infinite server queue and LL, the number of customer in the system at time 0. The arrows indicate the sojourn time of each customer who arrived in the batch. The red-end arrows indicate that the customers is in the system at time 0, i.e. they are in Ak,iA_{-k,i}. Thus, L=6L=6 in this example.
Refer to caption
Figure 5: Examples of a sample path of super customers. The thick arrows indicate the sojourn time of super customers. The red-end arrows indicate that the super customers who are in the system at time 0, i.e. they are in BkB_{-k}. Thus, K=2K=2 in this example.

As discussed in Section III (see also Figure 4), LL, the number of customers in the system at time 0 can be expressed as

L=k=0i=1Xk1Ak,i.\displaystyle L=\sum_{k=0}^{\infty}\sum_{i=1}^{X_{-k}}1_{A_{-k,i}}. (10)

Let Bk=i=1XkAk,i={max1iXkSk,i>Tk}B_{-k}=\cup_{i=1}^{X_{{}^{k}}}A_{-k,i}=\{\max_{1\leq i\leq X_{-k}}S_{-k,i}>-T_{-k}\} be the event when least one customer in the batch arriving at TkT_{-k} is still in the system at time 0. Then,

K=k=01Bk,\displaystyle K=\sum_{k=0}^{\infty}1_{B_{-k}}, (11)

is the number of super-customers whose sojourn times are assigned as max1iXkSi\max_{1\leq i\leq X_{k}}S_{i} (see Figure 5). Using the monotone convergence theorem, we have

E[K]=E[k=01Bk]=k=0P(Bk),\displaystyle E[K]=E\left[\sum_{k=0}^{\infty}1_{B_{-k}}\right]=\sum_{k=0}^{\infty}P(B_{k}), (12)

If E[K]<E[K]<\infty, we have P(K=)=P(Bk i.o.)=0P(K=\infty)=P(B_{-k}\text{ i.o.})=0 by the Borel-Cantelli lemma. Indeed, if P(K=)>0P(K=\infty)>0, then E[K]E[K] should be infinite.

Consider a G/G/G/G/\infty queue with the arrival of super-customers at TnT_{n}, and their sojourn time with max1iXkSi\max_{1\leq i\leq X_{k}}S_{i}. If E[max1iXkSi]<E[\max_{1\leq i\leq X_{k}}S_{i}]<\infty, then by Little’s formula (see Baccelli and Brémaud (2013); Wolff (1989); Kleinrock (1975), for the G/G/G/G/\infty queue,

E[K]=λE[max1iXSi]<,\displaystyle E[K]=\lambda E\left[\max_{1\leq i\leq X}S_{i}\right]<\infty, (13)

Thus, P(K<)=1P(K<\infty)=1 (this is a known result of the stability for the G/G/G/G/\infty queue, (Baccelli and Brémaud, 2013, p133)). By (10),

Lk=01BkXk,\displaystyle L\leq\sum_{k=0}^{\infty}1_{B_{-k}}X_{-k}, (14)

Since KK is finite, the sum on the right-hand side is indeed a finite sum of finite quantities. Thus, L<L<\infty. Consequently, we have the following result:

Theorem 1.

If the batch arrival rate λ\lambda and E[max1iXkSi]E[\max_{1\leq i\leq X_{k}}S_{i}] are finite, then GX/G/G^{X}/G/\infty queue is stable in the sense of P(L<)=1P(L<\infty)=1.

Appendix B The balance criteria of stability

Using the Holder inequality, we extend the idea in Devroye (1979) to obtain an estimation of the expectation of S(X)=max1iXSiS_{(X)}=max_{1\leq i\leq X}S_{i}, as in (4). We assume S(X)=0S_{(X)}=0 when X=0X=0. First, we prove a general result about the bound of the expectation of the maximum values of correlated random variables.

Lemma 1.

Let Y1,Y2,YnY_{1},Y_{2},\dots Y_{n} be possibly correlated non-negative random variables, all of which have the same marginal distribution denoted by a random variable YY. If E[Yp]<E[Y^{p}]<\infty for some p[1,)p\in[1,\infty), then Y(n)=maxi=1,2,,nYiY_{(n)}=\max_{i=1,2,\dots,n}Y_{i} has the following estimation:

E[Y(n)]{nE[Yp]}1/p,\displaystyle E[Y_{(n)}]\leq\{nE[Y^{p}]\}^{1/p}, (15)
Proof.

Assuming that Y1,Y2,YnY_{1},Y_{2},\dots Y_{n} are defined in the probability space (Ω,P)(\Omega,P), we define the set Ai={Yi>max(Y1,,Yi1),Yi=Y(n)}A_{i}=\{Y_{i}>\max(Y_{1},\dots,Y_{i-1}),Y_{i}=Y_{(n)}\}. This means that AiA_{i}, YiY_{i} is the first among possibly multiple random variables attaining the value Y(n)Y_{(n)}. Since A1,,AnA_{1},\dots,A_{n} are disjoint, and i=1nAi=Ω\cup_{i=1}^{n}A_{i}=\Omega,

E[Y(n)]=i=1nE[Yi1Ai]=i=1nE[YiE[1Ai|Yi].\displaystyle E[Y_{(n)}]=\sum_{i=1}^{n}E[Y_{i}1_{A_{i}}]=\sum_{i=1}^{n}E[Y_{i}E[1_{A_{i}}|Y_{i}]. (16)

Let q=p/(p1)1q=p/(p-1)\geq 1, so that 1/p+1/q=11/p+1/q=1. Since E[1Ai|Yi]1E[1_{A_{i}}|Y_{i}]\leq 1, we have {E[1Ai|Yi]}qE[1Ai|Yi]\{E[1_{A_{i}}|Y_{i}]\}^{q}\leq E[1_{A_{i}}|Y_{i}]. Thus,

E[E[1Ai|Yi]q]P(Ai),\displaystyle E\left[E[1_{A_{i}}|Y_{i}]^{q}\right]\leq P(A_{i}), (17)

Applying the Holder inequality, we have

E[YiE[1Ai|Yi]]\displaystyle E[Y_{i}E[1_{A_{i}}|Y_{i}]] {E[Yip]}1/p{E[1Ai|Yi]q}1/q.\displaystyle\leq\left\{E[Y_{i}^{p}]\right\}^{1/p}\left\{E[1_{A_{i}}|Y_{i}]^{q}\right\}^{1/q}. (18)
{E[Yp]}1/p{P(Ai)}1/q,\displaystyle\leq\left\{E[Y^{p}]\right\}^{1/p}\left\{P(A_{i})\right\}^{1/q}, (19)

Using this in (16) and applying the Jensen’s inequality, we have

E[Y(n)]\displaystyle E[Y_{(n)}] {E[Yp]}1/pi=1n{P(Ai)}1/q.\displaystyle\leq\left\{E[Y^{p}]\right\}^{1/p}\sum_{i=1}^{n}\left\{P(A_{i})\right\}^{1/q}. (20)
{E[Yp]}1/pn{i=1n1nP(Ai)}1/q.\displaystyle\leq\left\{E[Y^{p}]\right\}^{1/p}n\left\{\sum_{i=1}^{n}\frac{1}{n}P(A_{i})\right\}^{1/q}. (21)
={E[Yp]}1/pn1/p,\displaystyle=\left\{E[Y^{p}]\right\}^{1/p}n^{1/p}, (22)

Theorem 2.

Consider a GX/G/G^{X}/G/\infty queue with possibly correlated sojourn times S1,S2,S(X)S_{1},S_{2},\dots S_{(X)} in the batch. If SS and XX are independent, E[Sp]<E[S^{p}]<\infty, and E[X1/p]<E[X^{1/p}]<\infty for some p[1,)p\in[1,\infty), the queue is stable; that is, P(L<)=1P(L<\infty)=1.

Proof.

By Theorem 1, it is enough to show E[S(X)]<E[S_{(X)}]<\infty. Since E[Sp]<E[S^{p}]<\infty, using Lemma 1 and the independence of XX and SS, we have

E[S(X)|X=n]{nE[Sp]}1/p,\displaystyle E[S_{(X)}|X=n]\leq\{nE[S^{p}]\}^{1/p}, (23)

Unconditioning on XX gives

E[S(X)]{E[Sp]}1/pE[X1/p].\displaystyle E[S_{(X)}]\leq\{E[S^{p}]\}^{1/p}E[X^{1/p}]. (24)

which proves our claim. ∎

Appendix C Infinite server queues with Poisson batch arrival

In this section, we assume that batches of customers arrive as a Poisson process with the rate λ\lambda. All customers in the same batch should depart by the time S(X)=max1iXSiS_{(X)}=\max_{1\leq i\leq X}S_{i}. Let L(t)L(t) be the number of customers in the system at time tt starting from L(0)=0L(0)=0, and let L=limtL(t)L=\lim_{t\to\infty}L(t) be its weak limit.

Lemma 2.

The probability generating function of L(t)L(t) is given by

E[zL(t)]=exp[λ{0t(1E[zM(s)])𝑑s}].\displaystyle E[z^{L(t)}]=\exp\left[-\lambda\left\{\int_{0}^{t}\left(1-E\left[z^{M(s)}\right]\right)ds\right\}\right]. (25)

for |z|1|z|\leq 1 where M(t)=i=1X1{Si>t}M(t)=\sum_{i=1}^{X}1_{\{S_{i}>t\}}.

Proof.

Let Mj(t)M_{j}(t) be the number of customers remaining in the system at time tt from the jj-th batch that arrives at time TjT_{j}. The batch arrival time Tj=sT_{j}=s, Mj(t)M_{j}(t) has the same distribution as M(ts)M(t-s). Since TjT_{j} is uniformly distributed on the interval (0,t)(0,t) when conditioning on N(t)N(t) (the number of batches arriving up to time tt), we have

E[zMj(t)|N(t)]\displaystyle E[z^{M_{j}(t)}|N(t)] =1t0tE[zMj(t)|N(t),Tj=s]𝑑s,\displaystyle=\frac{1}{t}\int_{0}^{t}E\left[z^{M_{j}(t)}\Big{|}N(t),T_{j}=s\right]ds, (26)
=1t0tE[zM(ts)]𝑑s,\displaystyle=\frac{1}{t}\int_{0}^{t}E\left[z^{M(t-s)}\right]ds, (27)
=1t0tE[zM(s)]𝑑s,\displaystyle=\frac{1}{t}\int_{0}^{t}E\left[z^{M(s)}\right]ds, (28)

for 1jN(t)1\leq j\leq N(t). Since N(t)N(t) is a Poisson process, we have

E[zL(t)]\displaystyle E[z^{L(t)}] =E[zj=1N(t)Mj(t)],\displaystyle=E\left[z^{\sum_{j=1}^{N(t)}M_{j}(t)}\right], (29)
=exp[λt{E[zMj(t)]1}].\displaystyle=\exp\left[\lambda t\left\{E\left[z^{M_{j}(t)}\right]-1\right\}\right]. (30)
=exp[λ{0t(1E[zM(s)])𝑑s}].\displaystyle=\exp\left[-\lambda\left\{\int_{0}^{t}\left(1-E\left[z^{M(s)}\right]\right)ds\right\}\right]. (31)

Theorem 3.

The MX/G/M^{X}/G/\infty queue with correlated sojourn times in the batch is stable in the sense that P(L<)=1P(L<\infty)=1, if and only if E[S(X)]<E[S_{(X)}]<\infty.

In this case, the probability generating function of LL is given by

E[zL]=exp[λ{0(1E[zM(s)])𝑑s}].\displaystyle E\left[z^{L}\right]=\exp\left[-\lambda\left\{\int_{0}^{\infty}\left(1-E\left[z^{M(s)}\right]\right)ds\right\}\right]. (32)

for |z|1,|z|\leq 1, where M(t)=i=1X1{Si>t}M(t)=\sum_{i=1}^{X}1_{\{S_{i}>t\}}. Furthermore, when the sojourn times are independent and identically distributed,

E[zM(s)]=ϕ(zP(S>s)+P(Ss)].\displaystyle E\left[z^{M(s)}\right]=\phi(zP(S>s)+P(S\leq s)]. (33)

where ϕ(z)=E[zX]\phi(z)=E[z^{X}] is the generating function of the batch size XX.

Here, we also provide examples of the generating function of the pp-th order fractional power law distributions (1):

E[zX]={,12(1z){1(1z)log(1z)}/z2 (p=2),1(11/z)log(1z) (p=1),1(1zz)1/2sin1(z) (p=1/2),\displaystyle E[z^{X}]={\small\begin{cases},1-2(1-z)\{1-(1-z)\log(1-z)\}/z^{2}&\text{ $(p=2)$},\\ 1-(1-1/z)\log(1-z)&\text{ $(p=1)$},\\ 1-\left(\frac{1-z}{z}\right)^{1/2}\sin^{-1}\left(\sqrt{z}\right)&\text{ $(p=1/2)$},\end{cases}} (34)

which are used in Section IV.

Proof.

Taking tt\to\infty formally in (25), we have the generating function of the weak limit LL as

E[zL]=exp[λ{0(1E[zM(s)])𝑑s}],\displaystyle E\left[z^{L}\right]=\exp\left[-\lambda\left\{\int_{0}^{\infty}\left(1-E\left[z^{M(s)}\right]\right)ds\right\}\right], (35)

which is an extension of the equation (6) in Cong (1994) to the case of correlated sojourn times in the batch.

First, let us assume that E[S(X)]<E[S_{(X)}]<\infty. We then check the weak limit of LL as a proper random variable satisfying P(L<)=1P(L<\infty)=1. It is easy to see that 1E[zM(s)]P(M(s)>0)=P(S(X)>s)1-E\left[z^{M(s)}\right]\leq P(M(s)>0)=P(S_{(X)}>s) for all s[0,)s\in[0,\infty). Furthermore, P(S(X)>s)P(S_{(X)}>s) is integrable on [0,)[0,\infty), because 0P(S(X)>s)𝑑s=E[S(X)]<\int_{0}^{\infty}P(S_{(X)}>s)ds=E[S_{(X)}]<\infty. Using the dominant convergence theorem, we can change the order of the limit and the integral to have

P(L<)\displaystyle P(L<\infty) =n=0P(L=n)=limz1E[zL],\displaystyle=\sum_{n=0}^{\infty}P(L=n)=\lim_{z\to 1}E\left[z^{L}\right], (36)
=exp[λ{0(1limz1E[zM(s)])𝑑s}]=1.\displaystyle=\exp\left[-\lambda\left\{\int_{0}^{\infty}\left(1-\lim_{z\to 1}E\left[z^{M(s)}\right]\right)ds\right\}\right]=1. (37)

Conversely, we assume P(L<)=1P(L<\infty)=1. Then, the integral in (35) should be equal to zero when z=1z=1. Since

E[zM(s)]\displaystyle E\left[z^{M(s)}\right] n=1zP(M(s)=n)+P(M(s)=0),\displaystyle\leq\sum_{n=1}^{\infty}zP(M(s)=n)+P(M(s)=0), (38)
=1(1z)P(M(s)>0)\displaystyle=1-(1-z)P(M(s)>0) (39)

for 0z10\leq z\leq 1, we have

0\displaystyle 0 =limz10(1E[zM(s)])𝑑s,\displaystyle=\lim_{z\to 1}\int_{0}^{\infty}\left(1-E\left[z^{M(s)}\right]\right)ds, (40)
limz1(1z)0P(M(s)>0)𝑑s,\displaystyle\geq\lim_{z\to 1}(1-z)\int_{0}^{\infty}P(M(s)>0)ds, (41)
=limz1(1z)E[S(X)]0.\displaystyle=\lim_{z\to 1}(1-z)E[S_{(X)}]\geq 0. (42)

which leads to the conclusion that E[S(X)]<E[S_{(X)}]<\infty. ∎

Remark 1.

As can be seen from Theorem 2, E[S(X)]<E[S_{(X)}]<\infty is sufficient for the stability of general arrival processes, but the converse is not always true. However, if the arrival of batches is restricted to Poisson processes, P(L<)=1P(L<\infty)=1 leads to E[S(X)]<E[S_{(X)}]<\infty, which can be alternatively proved by the reverse Borel-Cantelli lemma, because BkB_{-k} in Appendix A are independent. However, the generating function representation given by (25) and (32) provide the detailed dynamics of the system.

It is known that when the sojourn times are independent exponential random variables Cong (1994) or light-tailed random variables Yajima et al. (2017), E[logX]<E[\log X]<\infty is a necessary and sufficient condition for stability. Here, we provide an alternative proof for this case below. However, the condition E[logX]<E[\log X]<\infty no longer guarantees stability when the demand is too explosive (see Battle 3).

Corollary 1.

Consider an MX/M/M^{X}/M/\infty queue with independent exponential sojourn times S1,S2,SXS_{1},S_{2},\dots S_{X} with mean 1/μ1/\mu in the batch. The queue is stable, that is, P(L<)=1P(L<\infty)=1, if and only if E[logX]<E[\log X]<\infty Cong (1994); Yajima et al. (2017).

In this case, the probability generating function of the stationary distribution LL is given by

E[zL]=exp[λμn=11znnP(Xn)],\displaystyle E\left[z^{L}\right]=\exp\left[-\frac{\lambda}{\mu}\sum_{n=1}^{\infty}\frac{1-z^{n}}{n}P(X\geq n)\right], (43)
Proof.

Since the sojourn times are independent exponential times, we have E[S(X)]=E[i=1X1/i]E[S_{(X)}]=E\left[\sum_{i=1}^{X}1/i\right], and i=1X1/i\sum_{i=1}^{X}1/i is bounded as

logXi=1X1i1+logX,\displaystyle\log X\leq\sum_{i=1}^{X}\frac{1}{i}\leq 1+\log X, (44)

which proves the first part using Theorem 3. By conditioning on X=kX=k and using (33), we have

0\displaystyle\int_{0}^{\infty} (1E[zM(s)])ds\displaystyle\left(1-E\left[z^{M(s)}\right]\right)ds (45)
=0k=1[1{zeμs+(1eμs)}k]P(X=k)ds,\displaystyle=\int_{0}^{\infty}\sum_{k=1}^{\infty}\left[1-\{ze^{-\mu s}+(1-e^{-\mu s})\}^{k}\right]P(X=k)ds, (46)
=1μk=1P(X=k)z1(1uk)1u𝑑u,\displaystyle=\frac{1}{\mu}\sum_{k=1}^{\infty}P(X=k)\int_{z}^{1}\frac{(1-u^{k})}{1-u}du, (47)
=1μk=1P(X=k)n=1k1znn,\displaystyle=\frac{1}{\mu}\sum_{k=1}^{\infty}P(X=k)\sum_{n=1}^{k}\frac{1-z^{n}}{n}, (48)
=1μn=11znnP(Xn),\displaystyle=\frac{1}{\mu}\sum_{n=1}^{\infty}\frac{1-z^{n}}{n}P(X\geq n), (49)

which proves the second part by combining with (32). ∎

We now consider the case where the batch size XX is the pp-th order fractional power law distribution. By (43), the probability generating function of the stationary distribution LL is given by

E[zL]=exp[ρn=11znni=1n1ip+i].\displaystyle E\left[z^{L}\right]=\exp\left[-\rho\sum_{n=1}^{\infty}\frac{1-z^{n}}{n}\prod_{i=1}^{n-1}\frac{i}{p+i}\right]. (50)

for p(0,)p\in(0,\infty), where ρ=λ/μ\rho=\lambda/\mu. Especially, when p=1p=1, even though E[X]E[X] is infinite, the queue is stable, and

E[zL]=exp[ρn=11znn2].\displaystyle E\left[z^{L}\right]=\exp\left[-\rho\sum_{n=1}^{\infty}\frac{1-z^{n}}{n^{2}}\right]. (51)

References

  • On Kwok et al. (2020) K. On Kwok, H. H. Hin Chan, Y. Huang, D. S. Cheong Hui, P. Anantharajah Tambyah, W. In Wei, P. Y. Kwan Chau, S. Y. Shan Wong, and J. W. Tze Tang, The Journal of hospital infection 105, 682 (2020).
  • Iritani et al. (2020) O. Iritani, T. Okuno, D. Hama, A. Kane, K. Kodera, K. Morigaki, T. Terai, N. Maeno, and S. Morimoto, Geriatrics & Gerontology International 20, 715 (2020).
  • Easley and Kleinberg (2010) D. Easley and J. Kleinberg, Networks, crowds, and markets, Vol. 8 (Cambridge Univ Press, 2010).
  • Levis (2009) K. Levis, Winners and Losers: Creators and Casualties of the Age of the Internet (Atlantic Books Ltd, 2009).
  • Porter and ilustraciones Gibbs (2001) M. E. Porter and M. ilustraciones Gibbs,   (2001).
  • Prakash et al. (2012) B. A. Prakash, A. Beutel, R. Rosenfeld, and C. Faloutsos, in Proceedings of the 21st international conference on World Wide Web (ACM, 2012) pp. 1037–1046.
  • Baccelli and Brémaud (2013) F. Baccelli and P. Brémaud, Elements of queueing theory: Palm Martingale calculus and stochastic recurrences, Vol. 26 (Springer Science & Business Media, 2013).
  • Wolff (1989) R. W. Wolff, Stochastic modeling and the theory of queues (Pearson College Division, 1989).
  • Kleinrock (1975) L. Kleinrock, Queueing systems. Volume I: theory (Wiley New York, 1975).
  • Mandelbaum et al. (2007) M. Mandelbaum, M. Hlynka, and P. H. Brill, TOP 15, 281 (2007).
  • Dorogovtsev et al. (2000) S. N. Dorogovtsev, J. F. F. Mendes, and A. N. Samukhin, Physical review letters 85, 4633 (2000).
  • Durrett (2007) R. Durrett, Random graph dynamics, Vol. 20 (Cambridge Univ Pr, 2007).
  • Devroye (1979) L. P. Devroye, Mathematics of Operations ResearchMathematics of Operations Research 4, 441 (1979).
  • Cong (1994) T. D. Cong, Journal of Applied Probability 31, 280 (1994).
  • Yajima et al. (2017) M. Yajima, T. Phung-Duc, and H. Masuyama, ACM electric arvhive  (2017).
  • S. et al. (2018) H. S., M. Subbiah, and M. R. Srinivasan, Communications in Statistics: Case Studies, Data Analysis and ApplicationsCommunications in Statistics: Case Studies, Data Analysis and Applications 4, 1 (2018).
  • Note (1) The symbol A/B/cA/B/c is called the Kendall symbol of the queuing system, with the arrival process AA, the service demand BB, and the number of servers cc. G/G/G/G/\infty means that both the arrival process and the service demand are general and dependent, and have infinitely many servers. On the other hand, M/M/M/M/\infty means that the arrival process is Poisson process and the service demand is independent exponential distribution.