Also at ]Dept. of Applied Mathematics, Waseda University.
The Battle of Infinity: Explosive Demand Surge vs Gigantic Service Providers
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 as
(1) |
for . Note that this discrete -th order fractional power law distribution is a generalized geometric distribution with a non-homogenous parameter Mandelbaum et al. (2007), which has an asymptotic tail probability of the order of , and the moment for (see Figure 1).

When is a positive integer, (1) is reduced to
(2) |
It is known that preferentially attached (scale-free) networks have degree distributions given by (2) with , 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 be the sequence of the batch arrival times with finite intensity . Each customer in a batch of size arriving at is served immediately, and stays in the system for , and then leaves the system. We allow a large stochastic fluctuation of the batch size such that , but assume that batch sizes and sojourn times are finite, i.e., and .
We evaluate , the number of customers existing in the system at time , given that the system started sufficiently long before. In this setting, by adding the older batches one by one from time , is regarded as its monotone-increasing limit. Although batch sizes are finite and each customer spends a finite time in the system, can be infinite, causing the system to explode. We aim to obtain the condition under which the system is stable with the condition .
Let be events where the customer in the batch arriving at , and is still in the system at time . Then, by summing up all the values, we have
(3) |
By applying the Borel-Cantelli lemma to possibly correlated events , we can prove that the system is stable when , if the batch arrival rate and are finite (see details in Appendix A).
Thus, balancing the sojourn time (hospitalization time) and the batch size (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 as
(4) |
when and are independent and and for some (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 , 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 as
(5) |
if it exists, where (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 ), and the batch size is a discrete fractional power law distribution with . Even though is infinite, the tail of the sojourn time is sufficiently light to have finite , 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 is given by
(6) |
where (see details in Appendix C). Note that itself is heavy-tailed, and ). Figure 2 shows examples of the probability distribution , obtained by checking the expansion with respect to around .




Next, we analyze cases in which the batch size is a -th order fractional power law discrete distribution and the sojourn time is also an independent -th order power law discrete distribution. Their pair is called the heavy-tailed arrival . 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 is stable when and . 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 ; the infinite server wins).
Consider the heavy-tailed arrival . The sojourn time is heavy-tailed, but relatively mild ( but ). Thus, the queue is stable, and
(7) |
where . 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 ; the explosive demand wins).
Consider the heavy-tailed arrival that satisfies and . 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 . Since as , we have
(8) |
Thus, by Theorem 3, . The middle figure of Figure 3 shows the transient behavior of the probability distribution , and shows that 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 ; the infinite server wins).
Consider the heavy-tailed arrival . The batch size fluctuates severely as in the previous example, but the sojourn time is more gentle. The queue is stable, because , and we have
(9) |
where . The bottom figure of Figure 3 shows that does not escape to infinity, even though the arrival is heavy-tailed in both the batch size and the sojourn time .
Appendix A Stability Criteria
It is known that a queue 111the symbol is called the Kendall symbol of the queuing system, with the arrival process , the service demand , and the number of servers . means that both the arrival process and the service demand are general and dependent, and have infinitely many servers. On the other hand, 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 . Here, we obtain a new criterion to check the stability of the batch arrival queue ( represents the batch arrival), when the sojourn times of customers may be correlated.


As discussed in Section III (see also Figure 4), , the number of customers in the system at time can be expressed as
(10) |
Let be the event when least one customer in the batch arriving at is still in the system at time . Then,
(11) |
is the number of super-customers whose sojourn times are assigned as (see Figure 5). Using the monotone convergence theorem, we have
(12) |
If , we have by the Borel-Cantelli lemma. Indeed, if , then should be infinite.
Consider a queue with the arrival of super-customers at , and their sojourn time with . If , then by Little’s formula (see Baccelli and Brémaud (2013); Wolff (1989); Kleinrock (1975), for the queue,
(13) |
Thus, (this is a known result of the stability for the queue, (Baccelli and Brémaud, 2013, p133)). By (10),
(14) |
Since is finite, the sum on the right-hand side is indeed a finite sum of finite quantities. Thus, . Consequently, we have the following result:
Theorem 1.
If the batch arrival rate and are finite, then queue is stable in the sense of .
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 , as in (4). We assume when . First, we prove a general result about the bound of the expectation of the maximum values of correlated random variables.
Lemma 1.
Let be possibly correlated non-negative random variables, all of which have the same marginal distribution denoted by a random variable . If for some , then has the following estimation:
(15) |
Proof.
Assuming that are defined in the probability space , we define the set . This means that , is the first among possibly multiple random variables attaining the value . Since are disjoint, and ,
(16) |
Let , so that . Since , we have . Thus,
(17) |
Applying the Holder inequality, we have
(18) | ||||
(19) |
Using this in (16) and applying the Jensen’s inequality, we have
(20) | ||||
(21) | ||||
(22) |
∎
Theorem 2.
Consider a queue with possibly correlated sojourn times in the batch. If and are independent, , and for some , the queue is stable; that is, .
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 . All customers in the same batch should depart by the time . Let be the number of customers in the system at time starting from , and let be its weak limit.
Lemma 2.
The probability generating function of is given by
(25) |
for where .
Proof.
Let be the number of customers remaining in the system at time from the -th batch that arrives at time . The batch arrival time , has the same distribution as . Since is uniformly distributed on the interval when conditioning on (the number of batches arriving up to time ), we have
(26) | ||||
(27) | ||||
(28) |
for . Since is a Poisson process, we have
(29) | ||||
(30) | ||||
(31) |
∎
Theorem 3.
The queue with correlated sojourn times in the batch is stable in the sense that , if and only if .
In this case, the probability generating function of is given by
(32) |
for where . Furthermore, when the sojourn times are independent and identically distributed,
(33) |
where is the generating function of the batch size .
Here, we also provide examples of the generating function of the -th order fractional power law distributions (1):
(34) |
which are used in Section IV.
Proof.
Taking formally in (25), we have the generating function of the weak limit as
(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 . We then check the weak limit of as a proper random variable satisfying . It is easy to see that for all . Furthermore, is integrable on , because . Using the dominant convergence theorem, we can change the order of the limit and the integral to have
(36) | ||||
(37) |
Conversely, we assume . Then, the integral in (35) should be equal to zero when . Since
(38) | ||||
(39) |
for , we have
(40) | ||||
(41) | ||||
(42) |
which leads to the conclusion that . ∎
Remark 1.
As can be seen from Theorem 2, 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, leads to , which can be alternatively proved by the reverse Borel-Cantelli lemma, because 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), is a necessary and sufficient condition for stability. Here, we provide an alternative proof for this case below. However, the condition no longer guarantees stability when the demand is too explosive (see Battle 3).
Corollary 1.
Consider an queue with independent exponential sojourn times with mean in the batch. The queue is stable, that is, , if and only if Cong (1994); Yajima et al. (2017).
In this case, the probability generating function of the stationary distribution is given by
(43) |
Proof.
We now consider the case where the batch size is the -th order fractional power law distribution. By (43), the probability generating function of the stationary distribution is given by
(50) |
for , where . Especially, when , even though is infinite, the queue is stable, and
(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 Research, Mathematics 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 Applications, Communications in Statistics: Case Studies, Data Analysis and Applications 4, 1 (2018).
- Note (1) The symbol is called the Kendall symbol of the queuing system, with the arrival process , the service demand , and the number of servers . means that both the arrival process and the service demand are general and dependent, and have infinitely many servers. On the other hand, means that the arrival process is Poisson process and the service demand is independent exponential distribution.