Large-System Insensitivity of Zero-Waiting Load Balancing Algorithms

Published Online:https://doi.org/10.1287/stsy.2022.0023

Abstract

This paper studies the sensitivity (or insensitivity) of a class of load balancing algorithms that achieve asymptotic zero-waiting in the sub-Halfin-Whitt regime, named LB-zero. Most existing results on zero-waiting load balancing algorithms assume the service time distribution is exponential. This paper establishes the large-system insensitivity of LB-zero for jobs whose service time follows a Coxian distribution with a finite number of phases. This result justifies that LB-zero achieves asymptotic zero-waiting for a large class of service time distributions as the Coxian family is dense in the class of positive-valued distributions. To prove this result, this paper develops a new technique, called “iterative state-space peeling” (ISSP). ISSP first identifies an iterative relation between the upper and lower bounds on the queue states and then proves that the system lives near the fixed point of the iterative bounds with a high probability. Based on ISSP, the steady-state distribution of the queue length is further analyzed by applying Stein’s method in the neighborhood of the fixed point. ISSP, like state-space collapse in heavy-traffic analysis, is a general approach that may be used to study other complex stochastic systems.

1. Introduction

Zero-wait load balancing refers to a load balancing algorithm in which a job is routed to an idle server and is processed immediately on its arrival. The zero-waiting property has become increasingly important as the amount of modern machine learning (ML) and artificial intelligence (AI) applications running on large-scale data centers explodes. Although increasing the number of servers and the processing speed of each server is a critical step to meet the increasing demand, the design of load balancing algorithms that can efficiently use available resources to minimize or even eliminate the waiting time of incoming jobs is equally important, especially when a minor increase of latency (e.g., 100 milliseconds) can lead to a significant drop in a cloud-computing provider’s revenue (7% drop in sales according to a recent Akamai report; Akamai 2017).

Significant progress has been made over the past few years on achieving asymptotic zero-waiting (as the system size approaches infinity) in a large-scale data center with distributed queues, including the classic supermarket model (Stolyar 2015; Mukherjee et al. 2016; Banerjee and Mukherjee 2018; Eschenfeldt and Gamarnik 2018; Liu and Ying 2018, 2020, 2021; Gupta and Walton 2019; Braverman 2020; Liu et al. 2021), models with data locality (Weng et al. 2020, Rutten and Mukherjee 2022), and models where each job consists of parallel tasks (Weng and Wang 2020, Hong and Wang 2021, Wang et al. 2021).

However, almost all these results assume exponential service time distributions. Although each of these results provided important insights into achieving zero-waiting in a practical system, theoretically, it is not clear whether these principles hold for general service times. This is a very important question to answer because it is well known that service time distributions in real-world systems are not exponential. Understanding a queueing system’s performance with general service times remains one of the most important and intensively studied problems in stochastic networks (Schelling 1978, Whittle 1985, Zachary 2007). A concept that excited many theorists in the area is “insensitivity” (Burman 1981). A queueing system is called insensitive if the steady-state distribution of queue lengths is invariant to the service time distribution. Therefore, any conclusion drawn from exponential service time distributions can be applied to general service time distributions. A result that is insensitive is robust and is expected to be widely applicable in practical systems. Unfortunately, insensitivity results are rare and often hold only under some special queueing disciplines such as processor sharing (PS) (Burman 1981, Bonald et al. 2004, Jonckheere and Prabhu 2018, Kielanski and Van Houdt 2021). One of the reasons is that insensitivity, although appealing, is a very strong notion of “robustness.” It requires the steady-state distribution under a general service time distribution to be exactly the same as that under the exponential distribution. Some recent studies started to relax it to weaker notions such as insensitivity in the heavy-traffic regime (Wang et al. 2018) or the large-system regime (Bramson et al. 2012, Stolyar 2015), that is, insensitivity in the limiting regimes. In the light of these recent developments, this paper addresses the following important question:

Are the zero-waiting algorithms insensitive and if so, for which notion of insensitivity?

1.1. Main Contributions

This paper provides some positive answers to the previous question. First, it is well known that most zero-waiting algorithms, such as join-the-shortest-queue (JSQ) (Winston 1977) and join-the-idle-queue (JIQ) (Lu et al. 2011), are not insensitive (according to its original definition). However, we prove that in the sub-Halfin-Whitt regime, LB-zero identified in Liu and Ying (2020) in fact achieves asymptotic zero-waiting for jobs whose service time follows a Coxian distribution with a finite number of phases. (Informally speaking, LB-zero refers to a class of load balancing algorithms that assigns an incoming job to an idle server with a high probability and achieves asymptotic zero-waiting. The formal definition is in Section 3.) This result establishes the large-system insensitivity of LB-zero for Coxian service time distributions with a finite number of phases in the sub-Halfin-Whitt regime. Because the Coxian family is dense in the class of positive-valued distributions, our result justifies load balancing algorithms in the LB-zero family will be able to minimize unnecessary waiting in large-scale data centers for a large class of job size or service time distributions.

To prove this result, this paper develops a new technique, called “iterative state-space peeling” (ISSP). ISSP first identifies an iterative relation between upper and lower bounds on the queue states. Then by iteratively “peeling off” the low-probability states, it proves that the system “lives” near the fixed point of the iterative bounds with a high probability. Based on ISSP, the steady-state distribution of the system can be further analyzed by using Stein’s method in a small neighborhood of the fixed point, where in the large-system regime, the queue lengths under LB-zero behave similarly as an M/M/ system because almost all incoming jobs are immediately assigned to an idle server, so we can expect some insensitivity. ISSP, like the state-space collapse in the heavy-traffic analysis, is a general technique that may be used to study other complex stochastic systems, for example, large-system insensitivity of load balancing algorithms for other models such as Mukherjee et al. (2018), Weng and Wang (2020), Weng et al. (2020), and Wang et al. (2021).

We remark that this paper does not establish the large-system insensitivity for an arbitrary service time distribution, for which we need to show that our results continue to hold for a large but finite N when the number of phases of the Coxian distribution goes to infinity. This requires an interchange limit argument or a continuity argument and is an interesting open problem. It is also worth mentioning that a Coxian representation of a probability distribution is nonunique. The choice of the Coxian representation is out of the scope of this paper.

1.2. Related Work

Steady-state analysis of distributed queueing systems has been an active research topic since the seminal work on power-of-two-choices (Mitzenmacher 1996, Vvedenskaya et al. 1996). The most popular approach to study a large-scale distributed queueing system is the mean-field approach where the system is approximated using a deterministic dynamical system (a set of ordinary differential equations), called a mean-field model. In the large-system limit (as the number of servers approaches infinity), the steady state of the stochastic system can often be shown to converge to the equilibrium point of the mean-field model using the interchange of limits (Vvedenskaya et al. 1996, Xie et al. 2015, Ying et al. 2015) or Stein’s method (Ying 2016, Gast 2017).

Although most studies on this topic assume exponential service time distributions for tractability, the approach has been used to study nonexponential service time distributions theoretically or numerically (Mitzenmacher 1996, Gupta et al. 2007, Bramson et al. 2012, Stolyar 2015, Aghajani et al. 2017, Hellemans and Van Houdt 2018, Van Houdt 2019, Vasantam et al. 2019, Kielanski and Van Houdt 2021). Gupta et al. (2007) studied JSQ load balancing with processing sharing service discipline and established its insensitivity property. When the service time distribution has a decreasing hazard rate (DHR), the system often exhibits a monotonicity property such that the system starting from the empty state is dominated by the system starting from any other state. Leveraging this monotonicity, Bramson et al. (2012) proved the convergence of power-of-d-choices (pod), and Stolyar (2015) proved the convergence of JIQ to the corresponding mean-field limit, respectively. Recently, Van Houdt (2019) studied load balancing policies under the hyper-exponential service time distribution in the light traffic regime (or in a critical traffic regime). By transforming the hyper-exponential distribution to a Coxian distribution with DHR, the monotonicity property holds in a partial order and the global stability of the mean-field model was established. Kielanski and Van Houdt (2021) studied Pod with PS servers for a hyper-exponential distribution of order 2 in the light traffic regime. They also established the global stability result in a spirit similar to Van Houdt (2019). Kielanski and Van Houdt (2021) considered Pod where d is a constant independent of the number of servers so the system has a nonvanishing delay in the large-system limit. For the Pod algorithm to be in the LB-zero family, d is a function of N and the algorithm achieves asymptotic zero waiting in the heavy-traffic regime without the DHR assumption.

Without DHR, the results are very limited. Bramson et al. (2012) proved the convergence of join the least loaded of d queues (LL(d)) for general service time distributions and that of Pod when the load of the system is small (less than 1/4). Foss and Stolyar (2017) proved the asymptotic optimality of JIQ under general service time distributions when the normalized load is less than 0.5 (asymptotic optimality means as N, the steady-state probability of an arriving customer being routed to a nonidle server vanishes). Because JIQ is an LB-zero policy, our result confirms the conjecture made in Foss and Stolyar (2017) that JIQ is asymptotically optimal for any load less than one and not just less than 0.5. Another significant result is Bonald et al. (2004), which identifies a set of policies that are insensitive in many-server load-balancing systems and are optimal in the class of insensitive load balancing algorithms. The asymptotic blocking probability of this class of insensitive algorithms in a finite buffer system was later studied in Jonckheere and Prabhu (2018). Many LB-zero such as JSQ and Pod algorithms are sensitive, so the results in Bonald et al. (2004) and Jonckheere and Prabhu (2018) do not apply. The waiting probability in our paper includes both blocking (we consider server systems with finite buffer size and jobs are possible to be blocked) and being queued in the buffer, so our result implies asymptotic zero blocking of LB-zero in the sub-Halfin-Whitt regime.

Liu et al. (2021) is the work most related to this paper, which considers the Coxian-2 distribution and shows that LB-zero achieves asymptotic zero-waiting in the sub-Halfin-Whitt regime. Inspired by Liu et al. (2021), this paper develops the ISSP technique for general Coxian distributions with a finite number of phases and establishes its large-system insensitivity. We remark that Liu et al. (2021) used a key property of Coxian-2 service time distribution that a job in the first phase (phase 1) either departs or enters the last phase (phase 2) immediately, which does not hold under a general Coxian distribution which may have many phases because a job starting in phase 1 requires going through the intermediate phases before entering the last phase. The intermediate phases complicate the dependence among states and make the analysis much more challenging. Technically speaking, it requires a dedicated partition and aggregation of the states for a general Coxian distribution such that the upper/lower bounds on the steady-state distribution can be established in an iterative way. Such an iterative analysis is not necessary in Coxian-2.

In terms of the proof, each step in ISSP uses the tail bound in Bertsimas et al. (2001) to “peel off” a low probability subspace. The tail bound is based on the Lyapunov drift analysis and is a critical step to prove state-space collapse in the traditional heavy traffic regime with a fixed number of servers (Eryilmaz and Srikant 2012, Maguluri and Srikant 2016, Wang et al. 2018). The key difference is that Eryilmaz and Srikant (2012) use the tail bound only once, whereas ISSP repeatedly uses the tail bound guided by an iterative relation between the upper and lower bounds.

2. Model and State Representation

We consider a many-server system with N homogeneous servers, where job arrival follows a Poisson process with rate λN with λ=1Nα,0<α<0.5, that is, the system is in the sub-Halfin-Whitt regime. We assume the service times follow the Coxian distribution with M phases as shown in Figure 1, where μm>0 is the rate a job finishes phase m when in service and 0pi<1,1i<M is the probability that a job enters phase i + 1 after completing phase i and pM=0. We assume λ=1Nα for the ease of exposition, but our results can be easily extended to the case that λ=1βNα with any positive constant β>0 independent of N. As convention, we define i=abxi=0 if a > b and i=abxi=1 if a > b for the series {xi,i1}.

Figure 1. Coxian-M Distribution
Note.μm is the service rate in phase m, and pm is the probability of entering phase m + 1 after finishing service in phase m.

Without loss of generality, we normalize the mean service time to be one, that is,

m=1Mvm=1   with   vm=i=1m1piμm,
where vm is viewed as the average time spent in phase m for a job. Given the unit service rate, λ is the normalized load of the system and λvm is the normalized load of jobs in phase m.

Taking a Coxian-3 distribution as an example (Figure 2), a job is colored in black if it waits in the buffer, and colored in light red, blue, and green when it is in phases 1, 2, and 3, respectively. Jobs are served with the first in first out (FIFO) discipline, and we assume each server has a buffer of size b1, so can hold at most b jobs (b − 1 in the buffer and one in service). The assumption of finite buffer is imposed due to a technical reason and will be explained later in the paper (specifically, it is required when proving state-space collapse argument in Lemma F.2). Relaxing the finite-buffer assumption is not trivial, but we conjecture that our results hold without this assumption.

Figure 2. Load Balancing in Many-Server Systems with Coxian-3
Note. Jobs colored in black, light red, blue, and green represent jobs in the buffer in phases 1, 2, and 3, respectively.

To represent the system, define Qj,m(t) (m=1,2,,M) to be the fraction of servers that have j jobs at time t and are serving a job in phase m. Because an idle server does not have a phase, we define Q0,1(t) to be the fraction of servers that are idle at time t and Q0,m(t)=0,2mM for convenience. Let Q(t)Rb×M be a matrix such that the (j, m)th entry of the matrix is Qj,m(t). We further define Si,m(t)=jiQj,m(t) and Si(t)=m=1MSi,m(t). Therefore, Si,m(t) is the fraction of servers that have at least i jobs and are serving a job in phase m at time t and Si(t) is the fraction of servers with at least i jobs at time t. Stack Sj,m(t) to be a matrix S(t) such that the (j, m)th entry of the matrix is Sj,m(t). Because there is a one-to-one mapping between Q(t) and S(t), we focus on S(t) throughout the paper. We consider load balancing policies which dispatch jobs to servers based on S(t) and under which the finite-state continuous-time Markov chain (CTMC) {S(t),t0} is irreducible, and so it has a unique stationary distribution. This includes well-known load balancing policies such as JSQ (Winston 1977, Eschenfeldt and Gamarnik 2018, Braverman 2020), JIQ (Lu et al. 2011, Stolyar 2015), I1F (Gupta and Walton 2019), and Pod (Mitzenmacher 1996, Vvedenskaya et al. 1996).

Let Qj,m be a random variable that has the distribution of Qj,m(t) at steady state. Correspondingly, define Si,m=jiQj,m and Si=mSi,m. In other words, Si,m is the fraction of servers that have at least i jobs and are serving a job in phase m, and Si is the fraction of servers with at least i jobs, both at steady state. Consider a system with 10 servers and Coxian-3 service time distribution. A realization of state representation Si,m is shown in Figure 3. Define SRb×M to be a matrix such that the (i, m)th entry is Si,m and sRb×M to be a realization of S. Define S(N) to be a set of s as follows:

S(N)={s | 1s1,msb,m0, 1m=1Ms1,m, Nsi,mN, i,m},(1)

Figure 3. Example of the Realization of Si,m in a System with 10 Servers and Coxian-3 Service Time Distribution

that is, S(N) is the set of all possible s in a system with N servers. Note S(N) is a set defined for the scaled states.

3. Main Results

We introduce LB-zero load balancing policies and main results in this section. Let A1(s) be the probability that an incoming job is routed to a busy server given that the system is in state sS(N); that is,

A1(s)=P(anincomingjobisroutedtoabusyserver|S(t)=s).

We now consider the set of zero-waiting load balancing policies, named as LB-zero,

LB-zero:Π={π | Underpolicy π,A1(s)1N foranysS(N) suchthat s111Nα log N}.

This class of policies is similar to the one considered in Liu and Ying (2020). Several well-known policies satisfy this condition, as summarized in Table 1.

Table

Table 1. Examples of LB-Zero Policies: Join-the-Shortest-Queue, Join-the-Idle-Queue, Idle-One-First, and Power-of-d-Choices with a Carefully Chosen d

Table 1. Examples of LB-Zero Policies: Join-the-Shortest-Queue, Join-the-Idle-Queue, Idle-One-First, and Power-of-d-Choices with a Carefully Chosen d

Load balancing policyDescriptionCondition
Join-the-Shortest-QueueRoute an incoming job to the least loaded serverA1(s)=0 for s1<1
Join-the-Idle-QueueRoute an incoming job to an idle server if available and otherwise, to a server chosen uniformly at random.A1(s)=0 for s1<1
Idle-One-FirstRoute an incoming job to an idle server if available; to a server with one job if available; and otherwise, to a randomly selected server.A1(s)=0 for s1<1
Power-of-d-Choices with dNα log2 N,Sample d servers uniformly at random and route the job to the least loaded server among the d servers.For sufficiently large N, A1(s)1N for s111Nα log N

To prove the large-system insensitivity of LB-zero, we first show that S1,m is “close” to s1,m*=λvm, which is the normalized load from phase m of the jobs and is also the equilibrium point of the mean-field system assuming zero-waiting (details can be found in Sections 4 and 5). We call s* the zero-waiting equilibrium. Theorem 1 shows that at the steady state, S1,m concentrates around the zero-waiting equilibrium s1,m* for large N under any LB-zero policy. The proof of this theorem can be found in Section 6.

Theorem 1.

There exist positive constants θm with 1mM independent of N. For any LB-zero policy in Π, the following result holds for a large N:

P(s1,m*θm log NNS1,ms1,m*+1Nαrmθr log NN)1MN3.

Remark 1.

Theorem 1 shows that S1,m differs from s1,m* by at most max{θm log NN,1Nα} with a probability at least 1M/N3, which implies the convergence to the steady-state S1,m,m to the zero-waiting equilibrium as N in probability and mean-square senses, that is, (E[S1,ms1,m*2]0 as N). To be best of our knowledge, this is the first result to establish such a steady-state convergence for a load balancing system under Coxian-M service time distributions in the sub-Halfin-Whitt regime. Because the high probability bound holds for a large but finite N, it also provides a rate of convergence. The specific requirement on N and values of constants θm can be found in Section 6 and Appendix A, respectively.

From Theorem 1, we have the following corollary on the distance between the steady-state S1,m and its mean-field equilibrium s1,m*.

Corollary 1.

When N is sufficiently large, LB-zero policies in Π achieve

P(|S1,ms1,m*|1Nα)1MN3  and  E[|S1,ms1,m*|]=O(1Nα).

From Theorem 1 and Corollary 1, it is not clear whether the probability of waiting approaches zero under an LB-zero policy because the average number of waiting jobs (per server) i=2bSi is not clear yet. This will be studied in the next theorem and its key step is to establish the upper bound on the average queue length E[m=1bSi] in Lemma 6. Let W denote the event that an incoming job is routed to a busy server in the system, and P(W) denote the probability of this event at steady state. We have the following result on the waiting probability. The proof of Theorem 2 can be found in Section 7.

Theorem 2.

For any LB-zero policy in Π, the following result holds for a large N:

P(W)1N+10μmax+4N0.5α log N.

Remark 2.

Theorem 2 shows that the waiting probability is O(1/N0.5α) for a large but finite N, which implies the asymptotic zero waiting, that is, P(W)0 as N in the sub-Halfin-Whitt regime. This asymptotic result implies LB-zero is large-system insensitive to Coxian-M distributions with a finite number of phases. The specific requirement on N can be found in Section 7.

Next, we will establish these two main results. We first introduce the system dynamic of LB-zero in Section 4 and present ISSP in Section 5, which is used to prove that the system lives near a limiting regime in Theorem 1 in Section 6 and to prove the large system insensitivity in Theorem 2 in Section 7. A roadmap can be found in Figure 4, which demonstrates the relationship of the key lemmas and theorems. The condition in LB-zero is used when we analyze the dynamics of S1,1 or S1, including Lemma 1 in ISSP (the lower bound on S1,1) and “zero-waiting” in Theorem 2 and its associated intermediate Lemma F.2.

Figure 4. Roadmap for Proving Theorems 1 and 2
Notes.Lemmas 13 establish the iterative upper and lower bounds, which are used to establish Lemma 4 and 5 and Theorem 1. Together with Stein’s method in Lemma 7, zero-waiting is established in Lemma 6 and Theorem 2.

4. System Dynamics

Define ei,mRb×M to be a b × M-dimensional matrix with the (i, m)th entry being 1/N and all other entries being zero. Furthermore, define Ai,m(s) to be the probability that an incoming job is routed to a server with at least i jobs and the job in service is in phase m given the system state s, that is,

Ai,m(s)=P(anincomingjobisroutedtoaserverwithatleasti jobsandthejobinserviceisinphasem|S(t)=s).

Given state s (or the corresponding q) of the CTMC, each of the following three events triggers a state transition, which is illustrated individually in Figure 5.

  • Event 1: A job arrives and is routed to a server that has i − 1 jobs and the job in service is in phase m as in the left figure in Figure 5. When this occurs, qi,m increases by 1/N, and qi1,m decreases by 1/N (note m = 1 if i = 1 since we define the fraction of idle servers to be q0,1). Therefore, the CTMC has the following transition:

    qq+ei,mei1,m,ss+ei,m,
    where the transition of s can be verified according to the definition si,m=jiqj,m so only si,m increasing by 1/N. This event occurs with rate
    λN(Ai1,m(s)Ai,m(s)),
    where Ai1,m(s)Ai,m(s) is the probability that an incoming job is routed to a server that has i − 1 jobs and the job in service is in phase m.

  • Event 2: A server with i jobs finishes serving a job in phase m, and the job departs from the system without entering into the next phase as in the middle figure in Figure 5. When this event occurs, qi,m decreases by 1/N and qi1,1 increases by 1/N, so the CTMC has the following transition:

    qqei,m+ei1,1,ssj=1iej,m+j=1i1ej,1,
    where the transition of s can be verified based on the definition si,m=jiqj,m so sj,m decreases by 1/N for any ji and sj,1 increases by 1/N for any j<i. This event occurs with rate
    μmNqi,m(1pm),
    where μmNqi,m is the rate at which a job in phase m finishes the service and (1pm) is the probability that a job finishes phase m and departs from the system immediately.

  • Event 3: A server with i jobs finishes serving a job in phase m, and the job enters the next phase m + 1 as shown in the right figure in Figure 5. When this event occurs, a server in state (i, m) transits to state (i,m+1), so qi,m decreases by 1/N and qi,m+1 increases by 1/N. Therefore, the CTMC has the following transition:

    qqei,m+ei,m+1,ssj=1iej,m+j=1iej,m+1,
    where the transition of s holds because si,m decreases by 1/N for any ji and sj,m+1 increases by 1/N for any ji. This event occurs with rate
    μmNqi,mpm,
    where μmNqi,m is the rate at which a job in phase m finishes the service and pm is the probability that a job enters phase m + 1 after finishing phase m.

Figure 5. State Transitions on (qi,m or si,m) Triggered by Three Events
Note. (1) A job arrives to a server with i − 1 jobs and the job in service in phase m; (2) a server with i jobs finishes a job in phase m, and the job departs from the system; and (3) a server with i jobs finishes a job in phase m, and the job enters into the next phase.

Define G to be the generator of CTMC (S(t):t0). Given function f:S(N)R, we have

Gf(s)=i=1bm=1M[λN(Ai1,m(s)Ai,m(s))(f(s+ei,m)f(s))(2)
+(1pm)μmNqi,m(f(sj=1iej,m+j=1i1ej,1)f(s))(3)
+pmμmNqi,m(f(sj=1iej,m+j=1iej,m+1)f(s))].(4)

To understand the dynamics better, we write down the mean-field model (MFM) according to the generator:

s˙i,1=λ(Ai1,1(s)Ai,1(s))+m=1M(1pm)μmsi+1,mμ1si,1,(5)
s˙i,m=λ(Ai1,m(s)Ai,m(s))+pm1μm1si,m1μmsi,m, m2.(6)

This mean-field model is nonlinear in s because Ai,m(s) is a nonlinear function in s (Ai,m(s)=0,i0.) and its equilibrium point is difficult to calculate in general. However, suppose zero-waiting occurs, that is, si,m=0,i2, and the fraction of jobs dropped is negligible, then we can obtain the following equilibrium:

s1,m*=λi=1m1piμm=λvmandsi,m*=0i2.

We call s* zero-waiting equilibrium because it is a conjectured equilibrium by assuming zero-waiting. Note zero-waiting equilibrium corresponds to the mean-field model in (5)–(6) with only A0,1=1 and Ai,m=0 for any (i,m)(0,1). In this following analysis, we will not solve Mean-Field Model (5)–(6) to check whether its equilibrium is close to s*. Instead, we will directly prove S1,m concentrates around s1,m* and zero waiting occurs at the steady state with a high probability.

5. ISSP

In this section, we illustrate the key idea of ISSP, which will be applied to prove Theorem 1. Intuitively, the original stochastic system Si,m(t) and the steady-state Si,m would be close to the MFM si,m(t) and the zero-waiting equilibrium si,m*, respectively. However, because of the “nonmonotonicity” of the system (the “monotonicity” means a partial order of two systems starting from two initial conditions will be maintained over time), it is extremely challenging to justify this argument. To tackle the challenge, we develop a new technique, called ISSP, which first identifies an iterative relation between upper and lower bounds on the original stochastic queue states and then proves that the system lives in a regime concentrated around the “fixed point” of the iterative bounds with a high probability. We outline the general steps to apply ISSP. The key step is to identify the lower and upper bound functions according to the drift (or dynamics) of the mean-field model such that if the system is in region 1, then it leaves region 1 and moves toward region 2 with a rate (or drift) of x. The drift will provide a high probability upper or lower bound on the steady-state distribution. In particular, if the mean-field system leaves a region with a certain rate, then the probability that the steady-state system is in this region is low.

In particular, we focus on S1,m the fraction of busy servers with the job in service in phase m because we hypothesize Si,m0,i2 (in other words, the fraction of servers with any waiting jobs is negligible in a large system).

Let n be the nth step of ISSP. Let L1,m(n) denote a high probability lower bound on S1,m and Um(n) be a high probability upper bound on r=2mS1,r, established at the nth step of ISSP, that is,

P(S1,mL1,m(n))and   P(r=2mS1,rUm(n))
are close to one. Our goal is to show that as n increases, L1,m(n) and Um(n) approach the zero-waiting equilibrium s1,m* and r=2ms1,r*. Taking a Coxian-3 distribution as an example, we need to show that as n increases L1,m(n)s1,m*,m, U2s1,2* and U3s1,2*+s1,3*.

5.1. ISSP: Hand-Waving Explanation

In this section, we present a hand-waving explanation of our ISSP, which is based on the following iterative relation between the upper and lower bounds on the queue states, denoted by L1,m and Um,m2:

L1,1(n+1)min{s1,1*,1UM(n)},(7)
L1,m(n+1)vmvm1L1,m1(n+1),(8)
Um(n+1)1ambmL1,1(n+1)+amUm1(n+1),(9)
where the initial condition L1,m(0)=0,m, and Um(0)=1,m2, and “” is used because we ignore diminishing terms (e.g., log NN) in Equations (7)–(9) for explaining the intuition.

We next provide a hand-waiving argument to show these equations iteratively provide upper and lower bounds. The exact definitions of L1,m and Um,m2 and their relations can be found in (15)–(17). The formal proofs that establish these are indeed high-probability upper and lower bounds can be found in Section 6. The right-hand sides of (7)–(9) can be regarded as the iterative update to refine the upper and lower bounds. Considering (7), given r=2mS1,rUM(n) holds with a high probability, we can establish S1,1L1,1(n+1) holds with a high-probability and the formula of L1,1(n+1) is given in the right-hand side in (7). Considering (8), given S1,m1L1,m1(n+1) holds with a high-probability, we can establish S1,mL1,m(n+1) holds with a high probability, where the formula of L1,1(n+1) is given in the right-hand side in (8). Considering (9), given S1,1L1,1(n+1) and r=2m1S1,rU1,m(n+1) holds with a high probability, we can establish r=2mS1,rU1,m(n+1) with a high probability, where the formula of L1,1(n+1) is given in the right-hand side in (9).

From (7)–(9), we can obtain a recursive equation for L1,1:

L1,1(n+1)min{s1,1*,v1+ξ(L1,1(n)v1)}, s1,1*=λv1and 0<ξ<1.(10)

Therefore, as n, L1,m(n)s1,m* and Um(n)r=2ms1,r*.

To provide the intuition behind (7)–(9), we consider the mean-field model under JSQ as an example and focus on s1,m in (5)–(6) by ignoring si,m,i2, that is,

s˙1,1=λI(s1<1)μ1s1,1,(11)
s˙1,m=pm1μm1s1,m1μms1,m, m2,(12)
where an equilibrium can be verified to be s1,m*=λvm,m.

We next carefully analyze (11)–(12) to establish (7)–(9). To derive the lower and upper bounds on the equilibrium point of a dynamical system x(t) (or s1,m(t)), we use the following straightforward ideas. We need to emphasize that these are intuitive ideas and informal arguments to guide us to formalize ISSP in Section 6.

  • If

    x˙(t)>Lx(t),with x(0)<L,(13)
    then x(t) eventually becomes greater than or equal to L, that is, x()L, because otherwise x(t) continues to increase.

  • If

    x˙(t)<Ux(t),with x(0)>U,(14)
    then x(t) eventually becomes smaller than or equal to U, that is, x()U, because otherwise, x(t) continues to decrease.

In the following, we will explain (7)–(9) based on the previous ideas. The explanation is not a rigorous proof. The detailed proof will be presented later in Section 6. We will ignore the iteration index n occasionally when confusion does not arise.

The intuition to obtain (7): We start with the dynamic of s1,1 in (11), which is

s˙1,1=λI(s1<1)μ1s1,1,
given m=2Ms1,m<UM, we have
s˙1,1=λμ1s1,1
when s1,1<1UM, which implies s˙1,1>0 when s1,1<min{1UM,s1,1*}. Therefore, at the equilibrium point, s1,1L1,1min{1UM,s1,1*} because otherwise, s1,1 will continue to increase because s˙1,1>0.

The intuition to obtain (8): Consider the dynamic of s1,m,m2 in (12):

s˙1,m=pm1μm1s1,m1μms1,m,m2.

Given s1,m1L1,m1, we have

s˙1,mpm1μm1L1,m1μms1,m,m2,
which implies at the equilibrium point,
s1,mL1,mpm1μm1μmL1,m1=vmvm1L1,m1,
because otherwise, s1,m will continue to increase because s˙1,m>0.

Note vmvm1=s1,m*s1,m1*, so we have L1,mL1,m1=s1,m*s1,m1*, which means that the ratio of the lower bounds is the same as that of the corresponding equilibrium points.

The intuition to obtain (9): We focus on the dynamic of r=2ms1,r that

r=2ms˙1,r=p1μ1s1,1r=2m1(1pr)μrs1,rμms1,mp1μ1(1r=2Ms1,r)r=2m1(1pr)μrs1,rμms1,m=p1μ1(1r=m+1Ms1,r)r=2m1(1pr)μrs1,r(p1μ1+μm)r=2ms1,r+μmr=2m1s1,r.

Given s1,mL1,m,m and r=2m1s1,rUm1, we have

r=2ms˙1,rp1μ1(1r=m+1ML1,r)r=2m1(1pr)μrL1,r(p1μ1+μm)r=2ms1,r+μmUm1,
which implies at the equilibrium point,
r=2ms1,rUmp1μ1(1r=m+1ML1,r)r=2m1(1pr)μrL1,r+μmUm1p1μ1+μm,
because otherwise, r=2ms1,r will continue to decrease because r=2ms˙1,r<0.

By invoking L1,m=vmvm1L1,m1, we eventually have

Um=1ambmL1,1+amUm1.

5.2. ISSP: Illustrative Example

To demonstrate ISSP, we consider JSQ with Erlang-3 distribution and no buffer, that is, Erlang-3 with b=1.

The mean-field model under JSQ with Erlang-3 and b=1.

With the Erlang-3 service time distribution, we have

p1=p2=p3=1andμ1=μ2=μ3=3.

Therefore, the MFM in this case is

s˙1,1=λI{s1<1}3s1,1,  s˙1,2=3s1,13s1,2,  s˙1,3=3s1,23s1,3,  si,m0,i2,m.

ISSP for JSQ with Erlang-3 and b=1. The values of the key parameters in iterative equations in this case are a1=a2=a3=12, b1=1,b2=12,b3=0, and v1=v2=v3=13. The corresponding iterative equations are

L1,1(n+1)min{λ3,1U3(n)}L1,2(n+1)L1,1(n+1), and  L1,3(n+1)L1,2(n+1)U2(n+1)1212L1,1(n+1), and  U3(n+1)12+12U2(n+1).

The iterative relation in terms of L1,1(n) is

L1,1(n+1)=min{λ3,14+14L1,1(n)},
which implies that L1,1(n)λ3 as n, and
L1,1(n)λ3,L1,2(n)λ3,L1,3(n)λ3,U2(n)λ3,U3(n)2λ3.

The iterative procedure has been visualized in Figure 6. In each iteration n, we first establish L1,1(n+1) (shown in light red) based on U3(n) from the last iteration, and then obtain L1,2(n+1)L1,1(n+1) (shown in light blue) based on L1,1(n+1); and L1,3(n+1)L1,2(n+1) (shown in light green) based on L1,2(n+1). Given the new lower bounds on L1,m(n+1), we first refine U2(n+1) (shown in light purple) and finally establish U3(n+1) given all the new lower bounds L1,m(n+1) and upper bound U2(n+1), which in turn will improve L1,1 in the next iteration.

Figure 6. ISSP Under Erlang-3 Service Time Distribution
Note. The lower bounds of s1,m,m, keep increasing and the upper bounds of s1,2 and s1,2+s1,3 keep decreasing until reaching the equilibriums: the initial values (at iteration 1) are L1,m(1)=0,m,U2(1)=1,U3(1)=1; the lower bounds L1,m increase as 0141132λ3; the upper bound U2 of s1,2 decreases as 1382164λ3; the upper bound U3 of s1,2+s1,3 decreases as 11116851282λ3.

In the following sections, we formalize the ISSP, which is then combined with Stein’s method to prove Theorems 1 and 2.

6. Proof of Theorem 1 Based on ISSP

In this section, we formalize ISSP to prove Theorem 1. We first present the formal definitions of the iterative Equations (7)–(9) in the following:

L1,1(n+1)=min{s1,1*6ΔC,1UM(n)1ξ2μ1Nα6ΔC},(15)
L1,m(n+1)=vmvm1L1,m1(n+1)5vmCΔ,(16)
Um(n+1)=1ambmL1,1(n+1)+amUm1(n+1)+cmCΔ.(17)

These iterative lower and upper bounds are proved to hold with high probability in the following lemmas, that is,

P(S1,mL1,m(n))ϵm(n)  and  P(r=2mS1,rUm(n))σm(n).

The probability {ϵm(n),σm(n)} are diminishing quantities for a large N. The specific values of {ϵm(n),σm(n)} and positive constants {C,ξ,am,bm,cm} can be found in Appendix A. We only state the lemmas and their proofs can be found in Appendix C.

A lower bound on L1,1(n+1) given m=2MS1,mUM(n): The following lemma is the rigorous statement of (7).

Lemma 1.

Given

P(m=2MS1,m>UM(n))σM(n),
we have
P(S1,1<L1,1(n+1))ϵ1(n+1),
where
L1,1(n+1)=min{s1,1*6ΔC,1UM(n)1ξ2μ1Nα6ΔC}.

A lower bound on S1,m given S1,m1L1,m1: The following lemma is the rigorous statement of (8).

Lemma 2.

Consider m2. Given

P(S1,m1<L1,m1(n+1))ϵm1(n+1),
we have
P(S1,m<L1,m(n+1))ϵm(n+1),
where
L1,m(n+1)=vmvm1L1,m1(n+1)5vmCΔ.

An upper bound on r=2mS1,r given r=2m1S1,rUm1 and S1,m1L1,m1: The following lemma is the rigorous statement of (9).

Lemma 3.

Consider m2. Given

P(r=2m1S1,rUm1(n+1))σm1(n+1),
P(S1,r<L1,r(n+1))ϵr(n+1)1rM,
we have
P(r=2mS1,rUm(n+1))σm(n+1),
where
Um(n+1)=1ambmL1,1(n+1)+amUm1(n+1)+cmCΔ.

6.1. Convergence of L1,1(n).

Based on Lemmas 13, we will show {L1,1(n)}n is an increasing sequence and approaches s1,1*.

Lemma 4.

Given P(S1,1<L1,1(n))ϵ1(n) and L1,1(n)s1,1*6ΔC, we have

P(S1,1<L1,1(n+1))ϵ1(n+1),
where
L1,1(n+1)=1μ1CMΔC(1ξ)12μ1Nα+ξ(L1,1(n)1μ1+CMΔC(1ξ)+12μ1Nα)
and ϵ1(n+1)=max{ϵ1(n)(M2+2)(2Cv¯Δ+1)2M,ev¯2 log2 NC2}. Furthermore, L1,1(n+1)>L1,1(n) holds when L1,1(n)s1,1*6ΔC.

6.2. Proving Theorem 1

Because {L1,1(n)} is an increasing sequence before reaching its equilibrium, we can apply Lemma 4 a sufficient number of times so that L1,1(n) is close to s1,1*6ΔC, which is formalized in the following lemma. We can keep applying Lemma 4 because both the lower bound L1,1(n+1) and the probability ϵ1(n+1) only depend on the previous iteration L1,1(n) and ϵ1(n).

Lemma 5.

P(S1,1<s1,1*6ΔC)(1N)M+8.

Proof.

To prove this lemma, we apply Lemma 4 n times iteratively with n=log N2 log(1/ξ) such that ξnΔ. We obtain

P(S1,1<1μ1CMΔ(1ξ)C12μ1NαΔμ1)ϵ1(1)(M2+2)n(2Cv¯Δ+1)2Mnϵ1(1)(M2+2)log Nlog(1/ξ)+1N2M log Nlog(1/ξ)+2Mev¯2 log2 NC2(M2+2)log Nlog(1/ξ)+1N2M log Nlog(1/ξ)+2M=Nv¯2 log NC2+2M log Nlog(1/ξ)+2M(M2+2)log Nlog(1/ξ)+1Nv¯2 log NC2+3M log Nlog(1/ξ)+2M+1,
where the third inequality holds because ϵ1(n+1)=max{ϵ1(n)(M2+2)(2Cv¯Δ+1)2M,ev¯2 log2 NC2} in Lemma 4 implies ϵ1(1)ev¯2 log2NC2 and the last inequality holds because NM2+2.

Recalling C=2v¯2 log(1/ξ)3M+(3M+4) log(1/ξ) and noting N1/ξ, we have

P(S1,11μ1CMΔ(1ξ)CΔμ112μ1Nα)=P(S1,1λμ1CMΔ(1ξ)CΔμ1+12μ1Nα)(1N)M+8,
which implies
P(S1,1<s1,m*6ΔC)(1N)M+8,
because N0.5α2μ1CMC(1ξ)log N. □

The result in Lemma 5 established that

S1,1s1,1*6ΔC=λv16ΔC,
with probability 1(1N)M+8.

Combining with Lemma 2, we next prove that S1,ms1,m*Ω(Δ),m2 holds with a high probability. Applying Lemma 2 iteratively for S1,m,m2, we have

L1,m(n)=vmv1L1,1(n)5(m1)vmΔC=vmv1(λv16ΔC)5(m1)vmΔC=λvm(6μ1vm+5(m1)vm)ΔC,
and S1,mL1,m(n) holds with the probability ϵm(n). Note ϵm(n)ϵM(n),m and ϵM(n) is bounded as follows:
ϵM(n)Mϵ1(n)(Cv¯Δ+1)M1=M(1N)M+8(Cv¯Δ+1)M11N3.

Therefore, we have proved the lower bound in the theorem.

Define the event K={S1,ms1,m*+θm log NN,m}. We have P(Kc)MN3 according to the union bound. We now establish the upper bound in Theorem 1 as follows:

1=P(S1,m1rmS1,r)P(S1,m1rmS1,r|K)+P(Kc)P(S1,m1rm(s1,r*+θr log NN))+MN3.

The proof is completed because 1rmMs1,r*=s1,m*+1Nα.

7. Proof of Theorem 2

Theorem 1 shows that S1,m is “close” to s1,m* with a high probability. However, it is not clear whether the average total queue length or the waiting probability is small under an LB-zero policy because Theorem 2 alone does not quantify the expected total queue length E[m=1bSi] and the waiting probability. To establish Theorem 2, we first prove an important lemma on the upper bound of the average total queue, which is used to establish the waiting probability in Theorem 2 by the Markov inequality. The proof of this lemma can be found in Sections 7.17.3.

Lemma 6.

Define wm=(1pm)μm, wu=maxmwm, wl=minmwm, μmax=maxmμm, ζ=4wubwl((1wl1wu)mθmwm+1wl+6), and k=mθmwmwu+(1+wl4wub)ζmθm. Under a load balancing policy in LB-zero, the following bound holds:

E[max{i=1bSiλk log NN,0}]5μmax+2N log N,
when N satisfies
min{2kμ1,m=1Mθm,C(1ξ)2μ1CM}N0.5αlog Nmax{log(1ξ),2μ11ξ,4bwlζ,Cμ1}.

Lemma 6 establishes an upper bound on the average total queue length. Recall Theorem 1 indicates the service rate under an LB-zero policy in Π is close to arrival rate λN at steady state because m=1M(1pm)S1,mm=1M(1pm)s1,m*=λ. Therefore, it is reasonable to couple the distributed load balancing system with a simple centralized server system with a similar arrival rate and service rate. This coupling will be done via Stein’s method (Braverman et al. 2016, Ying 2016). Stein’s method allows us to understand the key performance metrics (e.g., average queue length) of a complicated load balancing system from the performance of a simple fluid system (to be introduced in the next section). Formally, we study the generator difference between the distributed load balancing system and a simple centralized system within a small state space identified by ISSP. This idea of coupling a simple (and almost trivial) fluid model, without ISSP, has been also used in Liu and Ying (2020, 2021) and Liu et al. (2021). We will introduce it next so the paper is self-contained. Generator coupling in Section 7.1 and state space peeling in Section 7.2 are used to prove Lemma 6.

7.1. Generator Coupling with a Single Server System

Denote Δ=log NN. We consider a single server queue with arrival rate λ and service rate λ+Δ. The fluid model with respect to the queue length x is

x˙=dxdt=Δ.(18)

Let function g(x) be the solution of the following Stein’s equation or Poisson equation (Ying 2016) for the fluid system above and distance function h(x) such that

dg(x)dt=g(x)(Δ)=h(x),x,(19)
where g(x)=dg(x)dx. Because (19) has a very simple form, both g and g can be easily solved, which is different from other applications of Stein’s method, for example, Braverman et al. (2016), where establishing the gradient bounds is a key difficulty.

To analyze the total queue length at steady state under an LB-zero policy in Π, we choose a truncated distance function:

h(i=1bSi)=max{i=1bSiη,0},  η=λ+kΔ,
where k is a positive constant. The distance h(i=1bSi) can be viewed as a proxy to measure the total queue length (Ni=1bSi) at steady state.

To couple the one-dimensional fluid system in (18) with the b × M-dimensional stochastic system, we define

f(s)=g(i=1bsi)=g(i=1bm=1Msi,m).(20)

Note f(s) is bounded for sS(N), and we imply the generator of stochastic system G defined in (2)–(4) on function f and have the basic adjoint relationship for the stationary distribution S such that

E[Gf(S)]=E[Gg(i=1bm=1MSi,m)]=0.(21)

Combining (19) and (21), we connect the performance metric h(·) with the generator difference between the simple single-server system and G as follows:

E[h(i=1bm=1MSi,m)]=E[g(i=1bm=1MSi,m)(Δ)Gg(i=1bm=1MSi,m)].(22)

In the following lemma, we provide an upper bound on (22) that includes two terms: the first term is from the gradient bounds and the second term is from ISSP. The proof of this lemma can be found in Appendix D.

Lemma 7.

Define the regions T={x|x>η+1N} and denote the normalized service rate D1=m=1M(1pm)μmS1,m, then we have

E[h(i=1bSi)]J1+5μmax+λN log N,(23)
with
J1=E[g(i=1bSi)(λAb(S)λΔ+D1)Ii=1bSiT].(24)

To establish Lemma 6 and Theorem 2 based on the previous lemma, we need to provide the upper bounds on (24), which are related to the difference between the normalized arrival rate and the normalized service rate, which will be bounded based on the ISSP result that shows the normalized service rate at the steady state is close to the zero-waiting equilibrium value.

7.2. State Space Peeling on m=1M(1pm)S1,m

We analyze J1 in (24) by splitting it into two cases and show it is O(1N1.5 log N) in Section 7.3:

J1=E[1Δh(i=1bSi)(λAb(S)+λ+ΔD1)Ii=1bSi>η+1N]E[1Δh(i=1bSi)(λ+ΔD1)Ii=1bSi>η+1N],(25)
where the equality is due to the definition of g in Stein’s Equation (19), and the inequality holds because 1Δh(i=1bSi)Ii=1bSi>η+1N0. We focus on
(λ+Δm=1M(1pm)μms1,m)Ii=1bsi>η+1N,(26)
where we recall η=λ+kΔ, and d1=m=1M(1pm)μms1,m is the total service rate when the system is in the state s. Although we have established S1,ms1,m* in Theorem 1, we might have a trivial upper bound of (25), that is, E[h(i=1bSi)Ii=1bSi>η+1N], because λ+ΔD1 could be greater than Δ. In fact, we need one more state space peeling to show (25) is nonpositive.

We define two regions Sssp1 and Sssp2:

Sssp1={s|s1λ+(kζ6)Δ,s1,ms1,m*θmΔ},Sssp2={s | i=1bsiλ+kΔ},
where Sssp1 is the region with sufficient many busy servers and Sssp2 is the region with bounded total queue length. We further define a region
Sssp=Sssp1Sssp2,
and consider two cases: sSssp and sSssp, where
  • Case 1: In Lemma E.1, we show any sSssp1 satisfies

    m=1M(1pm)μms1,mλ+Δ.

    It implies (λ+Δm=1M(1pm)μms1,m)Ii=1bsi>η+1N0 for any sSssp1. For any sSssp2, we have

    Ii=1bsi>η+1N=0.

    It implies (λ+Δm=1M(1pm)μms1,m)Ii=1bsi>η+1N=0 for any sSssp2.

  • Case 2: In Lemma F.1, we show that

    P(SSssp)2N2
    using an ISSP approach on S1 and i=2bSi.

Therefore, (25) are nonpositive under sSssp and O(1N1.5 log N) under sSssp, respectively, as shown in Section 7.3.

7.3. Proving Lemma 6

Recall (25) =E[1Δh(i=1bSi)(λ+ΔD1)Ii=1bSi>η+1N]. Based on the two regions sSssp and sSssp, we split (25) into these two regions as follows:

(25)=E[1Δ(i=1bSiη)(λ+ΔD1)ISSsspIi=1bSi>η+1N]+E[1Δ(i=1bSiη)(λ+ΔD1)ISSsspIi=1bSi>η+1N].(27)

The first item in (27) is negative because Lemma E.1 shows λ+ΔD10 for any SSssp1 and (λ+ΔD1)Ii=1bSi>η+1N=0 for any SSssp2. Therefore, we have

(25)E[1Δ(i=1bSiη)(λ+ΔD1)ISSsspIi=1bSi>η+1N]2bN1.5 log N,(28)
where the last inequality in (28) holds because the average total number of jobs per server is at most b and (λ+ΔD1)ISSsspIi=1bSi>η+1N<1.

By combining (23) and (28), we can now establish Lemma 6 in the following:

E[max{i=1bSiη,0}]2bN1.5 log N+5μmax+λN log N5μmax+2N log N.

7.4. Proving Theorem 2

Once we have Lemma 6, we can prove Theorem 2 with the property of LB-zero and the Markov inequality. For an LB-zero policy in Π, the waiting probability satisfies

P(W)=P(W|i=1bSi11Nα log N)P(i=1bSi11Nα log N)+P(W|i=1bSi>11Nα log N)P(i=1bSi>11Nα log N)P(W|i=1bSi<11Nα log N)+P(i=1bSi>11Nα log N),
where the first term is bounded by 1N because of the definition of LB-zero. For the second term, we have
P(i=1bSi>11Nα log N)P(max{i=1bSiλk log NN,0}>1Nα(11log N)k log NN)E[max{i=1bSiλk log NN,0}]1Nα(11log N)k log NNE[max{i=1bSiλk log NN,0}]12Nα10μmax+4N0.5α log N,
where the second inequality holds because of the Markov inequality; the third inequality holds because log N2 and N0.5αlog N2k; and the last inequality holds because of Lemma 6.

Finally, we remark that we choose k=Ω(b) to prove Lemma F.2, which is the technical reason we assumed b is finite. We, however, believe our results hold even for b=.

8. Simulations

In this section, we confirm our theoretical results of ISSP in Theorem 1 and the large system insensitivity in Theorem 2 with simulations. We considered two policies, JSQ and JIQ, and λ=1Nα. We conjecture that our results hold even for α=0.5 because it holds for any α<0.5. To confirm this, we used α=0.5 in our experiments (the additional experiments with α=0.3 and α=0.4 can be found in Appendix G). We set the buffer size b = 10, and in our simulations, no blocking events were observed.

8.1. Large System Insensitivity Under JSQ and JIQ

We first studied the average total queue length (per server) E[i=1bSi] and the waiting probability P(W) under a Coxian-4 service time distribution with the parameters p=[0.5,0.5,0.5,1.0] and μ=[1.875,1.875,1.875,1.875]. We plotted E[i=1bSi] and P(W) versus the number of servers N. The results are obtained with 10 trials, and each trial has 107 steps. From Figure 7, the waiting probability tends to zero when N increases as we expected and JIQ almost has the identical performance as JSQ. We then investigated E[i=1bSi] and P(W) versus Coxian-M with various number of phases M and fixed N=104. In particular, we consider Coxian-M with p=[p1,p2,,1] and μ=[μ1,μ2,,μM], where pm=0.5,1mM1 and μ¯=μm,m (identical service times). We plotted E[i=1bSi] and P(W) versus M. From Figure 8, we can observe that the average queue length and the waiting probability remain roughly the same under different Ms, which confirms the insensitivity.

Figure 7. Asymptotic Zero Waiting Under JSQ and JIQ with Coxian M
Notes. (a) Average queue length per server. (b) Waiting probability.
Figure 8. Large System Insensitivity Under JSQ and JIQ with Coxian M
Notes. (a) Average queue length per server. (b) Waiting probability.

8.2. ISSP Under JSQ and JIQ

In this section, we investigated ISSP by studying the trajectory of S1,m(t),m under JSQ and JIQ. We considered n = 10,000 and a Coxian-4 service time distribution with p=[0.5,0.5,0.5,1.0] and μ=[1.875,1.875,1.875,1.875]. We plotted S1,m(t) of JSQ and JIQ in Figure 9. The results are obtained with 10 trials, and each trial has 106 steps. We observed that S1,m(t) under both policies concentrates around dash lines s1,m*,m, which confirms the high probability bounds in one. The system was initialized with the zero-waiting equilibrium instead of the empty state in our simulations.

Figure 9. Evolution of the System States Under JSQ and JIQ
Notes. (a) Trajectories under JSQ. (b) Trajectories under JIQ.

We also provide additional experiments in Appendix G. These additional results justify the finite buffer assumption and demonstrate the performance of LB-zero under different traffic intensities and the service time distributions with different variations.

9. Conclusions and Discussions

In this paper, we studied a distributed queueing system under Coxian service time distributions in the sub-Halfin-Whitt regime. We established that a set of load balancing policies, named LB-zero, achieves asymptotic zero-waiting, that is, insensitive in the large-system regime. To tackle the nonmonotonicity under general service time distributions, we developed a technique, called iterative state-space peeling (ISSP), which iteratively removes the low-probability states, and results in a small state-space that can be analyzed using a simple mean-field model. This ISSP approach may be used for other problems as well. One possible application is to study load-balancing in many server systems with heterogeneous servers or jobs belonging to multiple priority classes. For heterogeneous servers, we can use ISSP to identify the “typical” load of each type of the servers; and for jobs with different priorities, we can use ISSP to identify the “typical” distribution of job types in the system. In the reduced state space based on the typical load of the typical distribution at the steady state, the steady-state performance of the many server system may become tractable like in this paper.

Acknowledgments

A conference version of this paper was published as a two-page extended abstract in ACM Sigmetrics/IFIP performance 2022 in Liu et al. (2022). The submission is the full version, including all details and technical proofs. This work was done when K. Gong was at the University of Michigan, Ann Arbor.

Appendix A. Definition of the Constants and Tail Probability

We introduce the positive constants that are used throughout the paper:

am=μmp1μ1+μm2mMbm=(1am)(1+r=m+1Mvrv1)amvmv12mMcm=5(1am)r=m+1M(r1)vr+5amr=2m1μrvrμm+5(m2)amvm+5am2mMξ=m=2Mbmj=m+1Maj,  v¯=minm vm,CM=m=2Mcmj=m+1Maj,  C=2v¯2 log(1/ξ)3M+(3M+4) log(1/ξ).

We will prove the constants am, bm, cm, m2, and CM are positive in the next lemma, and 0<ξ<1 in Lemmas A.1 and A.2. We also introduce the iterative tail probabilities:

ϵ1(n+1)=elog2 NC2+(CΔ+1)σM(n)ϵm(n+1)=evm2 log2 NC2+(CvmΔ+1)ϵm1(n+1)σm(n+1)=elog2 NC2+(CΔ+1)(σm1(n+1)+m=1Mϵm(n+1))
with initial values ϵm(0)=σm(0)=0,m.

The following two lemmas show that the constants am, bm, cm, (m2,) and CM are positive, and 0<ξ<1.

Lemma A.1.

The constants am,bm,cm,m2, and CM are positive.

Note 0<am<1,2mM holds by the definition. Therefore, it is easy to verify cm,m2, and CM are positive.

Next, we prove bm,m2, is positive as follows:

bm=(1am)(1+r=m+1Mvrv1)amvmv1=1amamvmv1+(1am)r=m+1Mvrv1=p1μ1p1μ1+μm(1i=2m1pi)+(1am)r=m+1Mvrv1>0,
where the first equality holds by the definition of bm; the third equality by substituting the definition of am and vm; the last inequality holds because i=2m1pi1,m2 and 0<am<1,m2.

Lemma A.2.

1ξ=μ1m=2Mam.

Recall the definition of ξ=m=2Mbmj=m+1Maj. We have

1m=2Mbmj=m+1Maj=1m=2M((1am)(1+r=m+1Mvrv1)amvmv1)j=m+1Maj=1m=2M(1am)j=m+1Majm=2M((1am)r=m+1Mvrv1amvmv1)j=m+1Maj=j=2Majm=2M(r=m+1Mvrv1amr=mMvrv1)j=m+1Maj=j=2Majm=2Mr=m+1Mvrv1j=m+1Maj+m=2Mr=mMvrv1j=mMaj=j=2Maj+m=2Mvmv1j=2Maj=j=2Maj+1v1v1j=2Maj=μ1m=2Mam.

Appendix B. Proof of Corollary 1

According to Theorem 1, we have for a large N,

P(θm log NNS1,ms1,m*1Nαrmθr log NN)1MN3.

It implies

P(|S1,ms1,m*|1Nα)1MN3,
for a large N such that N0.5α/log Nmax(θm,rmθr).

Moreover, let the event E={S1,m||S1,ms1,m*|<1/Nα} and its complementary Ec={S1,m||S1,ms1,m*|1/Nα}, we have

E[|S1,ms1,m*|]=E[|S1,ms1,m*||E]×P(E)+E[|S1,ms1,m*||Ec]×P(Ec)1/Nα+P(Ec)1/Nα+M/N3.

Appendix C. Proof of the Lemmas for Theorem 1

We first prove Lemmas 14 used in ISSP.

C.1. Tail Bound from Wang et al. (2018)

We introduce lemma 10 from Wang et al. (2018), which is an extension of the tail bound in Bertsimas et al. (2001) and is the key to establishing ISSP. Lemma C.1 allows us to apply the Lyapunov drift analysis to iteratively reduce the state space.

Lemma C.1.

Let (S(t):t0) be a continuous-time Markov chain over a finite state space S and is irreducible, so it has a unique stationary distribution π, that is, S()π. Consider a Lyapunov function V:SR+ and define the drift of V at a state sS as

V(s)=sS:ssqs,s(V(s)V(s)),
where qs,s is the transition rate from s to s. Assume
νmaxmaxs,sS:qs,s>0|V(s)V(s)|<   and   q¯maxsS(qs,s)<
and define
qmaxmaxsSsS:V(s)<V(s)qs,s.

Assume there exists a set E with B > 0, γ>0,δ0 such that the following conditions hold

  • (i) V(s)γ when V(s)B and sE.

  • (ii) V(s)δ when V(s)B and sE.

Then

P(V(S())B+2νmaxj)αj+βP(S()E), jN,
with
α=qmaxνmaxqmaxνmax+γ   and   β=δγ+1.

According to Lemma C.1, the critical step in establishing the tail bound is to construct proper Lyapunov functions. In the following sections, we construct a sequence of Lyapunov functions and apply Lemma C.1 to prove Lemmas 14. In the following proofs, we ignore the iteration number n for a clean notation.

C.2. Proof of Lemma 1: Lower Bound on L1,1(n+1) Given m=2MS1,mUM(n)

Lemma 1.

Given

P(m=2MS1,m>UM(n))σM(n),
we have
P(S1,1<L1,1(n+1))ϵ1(n+1),
where
L1,1(n+1)=min{s1,1*6ΔC,1UM(n)1ξ2μ1Nα6ΔC}.

To prove Lemma 1 using Lemma C.1, we consider the following Lyapunov function:

V(s)=L˜1,1s1,1,(C.1)
where L˜1,1=min{11ξ2μ1NαUM,s1,1*} and define
E={s | m=2Ms1,mUM}.

When V(s)=L˜1,1s1,12ΔC and sE, we have

s1=m=1Ms1,mUM+L˜1,12ΔC=11ξ2μ1Nα2ΔC11Nα log N,
where the last inequality holds due to log N2μ11ξ. Therefore, the drift of V(s) satisfies
V(s)=λ(1A1(s))+μ1s1,1m(1pm)μms2,m(a)1Nλ+μ1s1,1(b)1Nλ+μ1(L˜1,12ΔC)=1N(λμ1L˜1,1)2μ1ΔC(c)1N2μ1ΔC(d)μ1ΔC,(C.2)
where
  • (a) holds because A1(s)1N when s111Nα log N for a LB-zero policy in Π and s2,m0;

  • (b) holds because V(s)=L˜1,1s1,12ΔC;

  • (c) holds because L˜1,1s1,1*=λμ1; and

  • (d) holds because log NCμ1.

Moreover, we have for any sS

V(s)=λ(1A1(s))+μ1s1,1m(1pm)μms2,mμ1.

Define γ=μ1ΔC. The maximum drift in (C.2) is μ1, and we define δ=μ1. We now apply Lemma C.1 with j=2N log NC. Because qmax=μ1N and νmax=1N, we have

α=11+ΔC   and   β=CΔ+1,
and
P(S1,1<L1,1(n+1))P(S1,1L1,1(n+1))=(a)P(V(S)2ΔC+2νmaxj)(b)(11+ΔC)2N log NC+βP(SE)(c)(1Δ2C)2N log NC+βσM(n)elog2 NC2+βσM(n),
where
  • (a) holds by substituting νmax=1N and j=2N log NC;

  • (b) holds based on Lemma C.1; and

  • (c) holds because 1C1Δ and the assumption of the lemma on P(SE).

C.3. Proof of Lemma 2: Lower Bound on S1,m Given S1,m1L1,m1 for m2

Lemma 2.

Consider m2. Given

P(S1,m1<L1,m1(n+1))ϵm1(n+1),
we have
P(S1,m<L1,m(n+1))ϵm(n+1),
where
L1,m(n+1)=vmvm1L1,m1(n+1)5vmCΔ.

To prove Lemma 2, consider Lyapunov function

V(s)=vmvm1L1,m1s1,m.(C.3)

Define

E={s|s1,m1L1,m1}.

Given V(s)vmCΔ, we have

s1,mvmvm1L1,m1vmCΔ.

Therefore, the drift of V(s) when V(s)vmCΔ and sE is

V(s)=μms1,mpm1μm1s1,m1=(a)μm(s1,mvmvm1s1,m1)(b)μm(s1,mvmvm1Lm1)(c)μmvmCΔ,(C.4)
where
  • (a) holds according to the definition of vm=i=1m1piμm;

  • (b) holds because s1,m1L1,m1; and

  • (c) holds because s1,mvmvm1L1,m1vmCΔ.

Moreover, we have for any sS

V(s)=μms1,mpm1μm1s1,m1μm.

Define γ=μmvmCΔ. The maximum drift in (C.4) is μm, and we define δ=μm. Combining qmax=μmN and νmax=1N, we have

α=11+vmCΔ   and   β=CvmΔ+1.

Applying Lemma C.1 with j=2vmN log NC, we have

P(S1,m<L1,m(n+1))(a)P(V(S)vmCΔ+2νmaxj)(b)(μmμm+μmvmCΔ)2vmN log NC+βP(SE)(c)(1vm2CΔ)2vmN log NC+βϵm1evm2 log2 NC2+βϵm1,
where
  • (a) holds by substituting νmax=1N and j=2vmN log NC;

  • (b) holds based on Lemma C.1; and

  • (c) holds because vmC1Δ.

C.4. Proof of Lemma 3: Upper Bound on r=2mS1,r Given r=2m1S1,rUm1,m2 and S1,mLm,m1

Lemma 3.

Consider m2. Given

P(r=2m1S1,rUm1(n+1))σm1(n+1),P(S1,r<L1,r(n+1))ϵr(n+1)1rM,
we have
P(r=2mS1,rUm(n+1))σm(n+1),
where
Um(n+1)=1ambmL1,1(n+1)+amUm1(n+1)+cmCΔ.

Consider Lyapunov function

V(s)=r=2ms1,rBm,(C.5)
where
Bm=p1μ1(1r=m+1ML1,r)r=2m1(1pr)μrL1,r+μmUm1p1μ1+μm,
and define
E={s|r=2m1s1,rUm1, and  s1,rL1,r,r1}.

Given V(s)p1μ1p1μ1+μmΔC and sE, we have

V(s)=r=2m(pr1μr1s1,r1μrs1,r)=p1μ1s1,1μms1,mr=2m1(1pr)μrs1,r(a)p1μ1p1μ1r=2Ms1,rμms1,mr=2m1(1pr)μrs1,r=p1μ1p1μ1r=2Ms1,rμmr=2ms1,r+μmr=2m1s1,rr=2m1(1pr)μrs1,r=p1μ1(p1μ1+μm)r=2ms1,rp1μ1r=m+1Ms1,rr=2m1(1pr)μrs1,r+μmr=2m1s1,r(b)p1μ1(1r=m+1ML1,r)(p1μ1+μm)Bmr=2m1(1pr)μrL1,r+μmUm1p1μ1ΔC=(c)p1μ1ΔC,(C.6)
where
  • (a) holds because s1,1=s1r=2Ms1,r and s11;

  • (b) holds because s1,rL1,r for any 1rM, r=2m1s1,rUm1 and r=2ms1,rBm+p1μ1p1μ1+μmΔC implied by V(s)p1μ1p1μ1+μmΔC; and

  • (c) holds by the definition of Bm=p1μ1(1r=m+1ML1,r)r=2m1(1pr)μrL1,r+μmUm1p1μ1+μm.

Moreover, we have for any sS,

V(s)=p1μ1s1,1μms1,mr=2m1(1pr)μrs1,rp1μ1s1,1p1μ1.

We now apply Lemma C.1 with j=2N log NC. Define γ=p1μ1ΔC. Maximum drift in (C.5) is p1μ1, and we define δ=p1μ1. Because qmax=p1μ1N and νmax=1N, we have

α=11+ΔC   and   β=CΔ+1,
and
P(V(S)p1μ1p1μ1+μmΔC+2νmaxj)=(a)P(m=2rS1,mBrp1μ1p1μ1+μmΔC+4ΔC)(b)(11+ΔC)2N log NC+βP(SE)(c)(1Δ2C)2N log NC+β(σm1+m=1Mϵm)elog2 NC2+β(σm1+m=1Mϵm),
where
  • (a) holds by substituting νmax=1N and j=2N log NC;

  • (b) holds based on Lemma C.1; and

  • (c) holds because 1C1Δ and union bounds on P(SE).

Now we prove Um=Bm+(p1μ1p1μ1+μm+4)ΔC, which serves the upper bound on r=2mS1,r, and we represent Um with L1,1. Recall the definition of L1,m from the previous section that

L1,m=vmvm1L1,m15vmCΔ,m2,(C.7)
which implies that
L1,m=vmv1L1,15(m1)vmCΔ,m2.(C.8)

Therefore, we have

r=m+1ML1,r=r=m+1Mvrv1L1,1r=m+1M5(r1)vrCΔ,(C.9)
and
r=2m1(1pr)μrL1,r=r=2m1pr1μr1L1,r1prμrL1,r5μrvrCΔ=p1μ1μmL1,m+5μmvmCΔr=2m15μrvrCΔ=(p1μ1μmvmv1)L1,1r=2m15μrvrCΔ+5(m2)μmvmCΔ(C.10)
where the first and second equalities hold by substituting (C.7) and the last equality holds by substituting (C.8). Finally, we have
Bm+(p1μ1p1μ1+μm+4)ΔC(C.11)
=p1μ1(1r=m+1MLr)r=2m1(1pr)μrL1,r+μmUm1p1μ1+μm+(p1μ1p1μ1+μm+4)ΔC(C.12)
=p1μ1(p1μ1μmvmv1+p1μ1r=m+1Mvrv1)L1,1+μmUm1p1μ1+μm+cmCΔ(C.13)
=p1μ1p1μ1+μm(p1μ1p1μ1+μm(1+r=m+1Mvrv1)μmp1μ1+μmvmv1)L1,1+μmp1μ1+μmUm1+cmCΔ(C.14)
=1ambmL1,1+amUm1+cmCΔ(C.15)
=Um,(C.16)
where
cm=5p1μ1r=m+1M(r1)vrp1μ1+μm+5r=2m1μrvr5(m2)μmvmp1μ1+μm+p1μ1p1μ1+μm+4.

C.5. Proof of Lemma 4: Convergence of L1,1(n)

In this section, we show that L1,1(n) approaches s1,1* as n increases (with a gap no larger than 6ΔC). The key intuition to prove the results is based on the mean-field equilibrium and verify if L1,1(n) can also increase and approach its equilibrium.

Lemma 4.

Given P(S1,1<L1,1(n))ϵ1(n) and L1,1(n)s1,1*6ΔC, we have

P(S1,1<L1,1(n+1))ϵ1(n+1),
where
L1,1(n+1)=1μ1CMΔC(1ξ)12μ1Nα+ξ(L1,1(n)1μ1+CMΔC(1ξ)+12μ1Nα)
and ϵ1(n+1)=max{ϵ1(n)(M2+2)(2Cv¯Δ+1)2M,ev¯2 log2 NC2}. Furthermore, L1,1(n+1)>L1,1(n) holds when L1,1(n)s1,1*6ΔC.

Starting from L1,1(n)s1,1*6ΔC, we can apply Lemma A.1 to obtain lower bounds L1,m(n) for m2 and then apply Lemma A.2 to obtain upper bounds Um(n) for all m2, including UM(n). Then from UM(n), we obtain new lower bound L1,1(n+1). This iterative process implies that UM(n) and L1,1(n+1) are both a function of L1,1(n), as shown below. Recall that in Lemma 3, we obtained

Um=1ambmL1,1+amUm1+cmΔC.

By recursively substituting Um, we can write UM as a function of L1,1 as follows:

UM=m=2M(1am)j=m+1MajL1,1m=2Mbmj=m+1Maj+ΔCm=2Mcmj=m+1Maj.

Let us consider

L1,1(n+1)=11ξ2μ1NαUM(n)6ΔC=m=2Mam+L1,1m=2Mbmj=m+1MajΔC(m=2Mcmj=m+1Maj+6)1ξ2μ1Nα,
where we use m=2M(1am)j=m+1Maj=m=2M(j=m+1Majj=mMaj)=1m=2Mam. In Lemma A.2, we showed 1ξ=μ1m=2Mam. We now center L1,1 around 1μ1CMΔC(1ξ)12μ1Nα and have
L1,1(n+1)1μ1+CMΔC(1ξ)+12μ1Nα=ξ(L1,1(n)1μ1+CMΔC(1ξ)+12μ1Nα),
where ξ=m=2Mbmj=m+1Maj and CM=m=2Mcmj=m+1Maj+6.

Next we study the probability of ϵ1(n+1) given ϵ1(n). From Lemma 2, we have

ϵm=evm2 log2 NC2+(CvmΔ+1)ϵm1ev¯2 log2 NC2+(Cv¯Δ+1)ϵm1.

By expanding the previous inequality from ϵM until ϵ1, it implies that

ϵMm=2Mev¯2 log2 NC2(Cv¯Δ+1)Mm+ϵ1(Cv¯Δ+1)M1(m=2Mev¯2 log2 NC2+ϵ1)(Cv¯Δ+1)M1Mϵ1(Cv¯Δ+1)M1,
where the inequality holds because ϵ1ev¯2 log2 NC2. From Lemma 3, we have
σm=elog2 NC2+(CΔ+1)(σm1+m=1Mϵm)elog2 NC2+MϵM+(CΔ+1)σm1,
which implies that
σM(elog2 NC2+MϵM)(CΔ+1)M(elog2 NC2+M2ϵ1(Cv¯Δ+1)M)(CΔ+1)M1ϵ1(M2+1)(Cv¯Δ+1)2M1.

Therefore, we have

elog2 NC2+(CΔ+1)σMelog2 NC2+ϵ1(M2+1)(Cv¯Δ+1)2Mϵ1(M2+2)(Cv¯Δ+1)2M=ϵ1(n+1).

Last, we prove the “monontocity” improvement of {L1,1(n)}n by studying

L1,1(n+1)L1,1(n)=(1ξ)(1μ1CMΔC(1ξ)12μ1NαL1,1(n)),
which is positive for L1,1(n)<λμ16ΔC<1μ1CMΔC(1ξ)12μ1Nα.

Appendix D. Proof of Lemma 7

According to the definition of ej,m and f(s) in (20), we have

f(s+ej,m)=g(i=1bm=1Msi,m+1N)
and
f(sej,m)=g(i=1bm=1Msi,m1N)
for any 1jb. Therefore,
Gg(i=1bm=1Msi,m)=Nλ(1Ab(S))(g(i=1bm=1Msi,m+1N)g(i=1bm=1Msi,m))+N(m=1M(1pm)μms1,m)(g(i=1bm=1Msi,m1N)g(i=1bm=1Msi,m)),
where the first term represents the transitions when a job arrives, and the second term represents the transitions when a job departures from the system. Note (1pm)μms1,m is the rate at which jobs leave the system when in phase m in the state s. Therefore, m=1M(1pm)μms1,m is the total departure rate. Define d1=m=1M(1pm)μms1,m and its stochastic correspondence D1=m=1M(1pm)μmS1,m for simple notations.

Substituting the generator equation to (22), we have

E[h(i=1bm=1MSi,m)]=E[g(i=1bm=1MSi,m)(Δ)Nλ(1Ab(S))(g(i=1bm=1MSi,m+1N)g(i=1bm=1MSi,m))ND1(g(i=1bm=1MSi,m1N)g(i=1bm=1MSi,m))].(D.1)

According to (19), it is easy to verify

g(x)=g(x)=0.

Also, when x>η+1N,

g(x)=xηΔ,(D.2)
so for x>η+1N,
g(x)=1Δ.(D.3)

By using mean-value theorem in the region T1={x|η1Nxη+1N} and Taylor theorem in the region T2={x|x>η+1N}, we have

g(x+1N)g(x)=(g(x+1N)g(x))(IxT1+IxT2)=g(ξ)NIxT1+(g(x)N+g(ζ)2N2)IxT2(D.4)
g(x1N)g(x)=(g(x1N)g(x))(IxT1+IxT2)=g(ξ˜)NIxT1+(g(x)N+g(ζ˜)2N2)IxT2,(D.5)
where ξ,ζ(x,x+1N) and ξ˜,ζ˜(x1N,x). Substitute (D.4) and (D.5) into the generator difference in (D.1), we have
E[h(i=1bSi)]=J1+J2+J3,(D.6)
with
J1=E[g(i=1bSi)(λAb(S)λΔ+D1)Ii=1bSiT2],(D.7)
J2=E[(g(i=1bSi)(log NN)λ(1Ab(S))g(ξ)+D1g(ξ˜))Ii=1bSiT1],(D.8)
J3=E[12N(λ(1Ab(S))g(ζ)+D1g(ζ˜))Ii=1bSiT2].(D.9)

In (D.8) and (D.9), we have that

ξ,ζ(i=1bSi,i=1bSi+1N) and ξ˜,ζ˜(i=1bSi1N,i=1bSi)
are random variables whose values depend on i=1bSi. We do not include i=1bSi in the notation for simplicity. The proof of Lemma 7 is completed by upper bounding J2 and J3, for which, we establish gradient bounds on g and g in Lemmas D.1 and D.2.

Lemma D.1.

Given x[η2N,η+2N], we have

|g(x)|2N log N.

From the definition of g function in (19), we have

g(x)=max{xη,0}log NN.

Hence, for any x[η2N,η+2N], we have

|g(x)||xη|log NN2Nlog NN=2N log N.

Lemma D.2.

For x>η, we have

|g(x)|Nlog N.

From the definition of g function in (19), we have

g(x)=max{xη,0}log NN.

For x>η, we have

g(x)=xηlog NN,
which implies
|g(x)|=|1log NN|=Nlog N.

Based on gradient bounds in Lemmas D.1 and D.2 and m(1pm)μms1,mμmaxs1μmax, we have

J2+J3E[(g(i=1bSi)(log NN)+λ|g(ξ)|+μmax|g(ξ˜)|)Ii=1bSiT1]+E[1N(λ|g(η)|+μmax|g(η˜)|)Ii=1bSiT2]4μmaxN log N+λ+μmaxNNlog N=5μmax+λN log N.

Appendix E. Lemma E.1 and Proof

Lemma E.1.

For any sSssp1,

(λ+Δm=1M(1pm)μms1,m)Ii=1bsi>λ+kΔ+1N0.

We consider the following linear programming problem:

mins1,mSssp1 m=1M(1pm)μms1,m,
with Sssp1 defined by
Sssp1={s|s1λ+(kζ6)Δ, s1,ms1,m*θmΔ}.

Recall wm=(1pm)μm. The minimum value is achieved when the maximum mass is allocated to m* such that wm*=wl=minmwm. Therefore, we have

m=1Mwms1,m(a)mm*Mwm(s1,m*θmΔ)+wm*(s1,m**+(kζ6+mm*Mθm)Δ)=(b)λ+wl(kζ6+mθm)ΔmwmθmΔ=(c)λ+Δ,
where
  • (a) holds because s1λ+(kζ6)Δ and s1,m,mm* takes L1,m=s1,m*θmΔ;

  • (b) holds because mwms1,m*=λ; and

  • (c) holds because wl(kζ6+mθm)mwmθm=1 given carefully chosen ζ=4wubwl[(1wl1wu)mθmwm+1wl+6] and k=mθmwmwu+(1+wl4wub)ζmθm.

Appendix F. Lemma F.1 and Proof

Lemma F.1.

For a large N, we have

P(SSssp)2N2.

The proof of Lemma F.1 again relies on iterative state space peeling, which is based on Theorem 1 and Lemma F.2.

Lemma F.2

(Lower Bound on S1 via i=2bSi).

P(min{λ+kΔS1,i=2bSi}(ζ+6)Δ)11N2,
where ζ=4wubwl[(1wl1wu)mwmθm+1wl+6] and k=mwmθmwu+(1+wl4bwu)ζmθm.

Based on Theorem 1 and Lemma F.2, we define sets S˜1 and S˜2 such that

S˜1={s | s1,ms1,m*θmΔ}(F.1)
S˜2={s|min{ηs1,i=2bsi}(ζ+6)Δ}.(F.2)

According to the union bound and Theorem 1 and Lemma F.2, we have

P(SS˜1S˜2)MN3+1N22N2.

We note that S˜1S˜2 is a subset of Sssp. This is because for any s that satisfies

min{λ+kΔs1,i=2bsi}(ζ+6)Δ,
we either have
λ+kΔs1(ζ+6)Δ,
which implies
s1λ+(kζ6)Δ;
or
i=2bsiηs1,
which implies
i=1bsiη.

Note that

S˜1{s|s1λ+(kζ6)Δ}=Sssp1
and
S˜1{s | i=1bsiη}Sssp2.

We therefore have

S˜1S˜2Sssp,
and
P(SSssp)P(SS˜1S˜2)2N2,
so Lemma F.1 holds.

Next, we prove Lemma F.2.

F.1. Proof of Lemma F.2

Recall wu=max1mM(1pm)μm, wl=min1mM(1pm)μm, and Lm=s1,m*θmΔ. Let ζ=4wubwl((1wl1wu)mwmθm+1wl+6) and k=mwmθmwu+(1+wl4bwu)ζmθm.

Consider Lyapunov function

V(s)=min{λ+kΔs1,i=2bsi}(F.3)
and define
E={s|s1,mLm,1mM}.

When V(s)ζΔ, the following two inequalities hold:

s1λ+(kζ)Δ11ξ2μ1Nα,(F.4)
i=2bsiζΔ.(F.5)

We have two observations based on (F.4) and (F.5):

  • (F.4) implies that A1(s)1N under any LB-zero policy in Π;

  • (F.5) implies that s2ζΔb because s2s3sb, and we have

    m=1M(1pm)μms2,mwls2wlc1Δb,(F.6)
    where a finite buffer size is required such that the lower bound wls2wlc1Δb is meaningful.

We next study the Lyapunov drift when V(s)ζΔ and sE by considering two cases:

  • Suppose λ+kΔs1i=2bsiζΔ. In this case, V(s)=i=2bsi and

    V(s)λ(A1(s)Ab(s))m=1M(1pm)μms2,m(a)1Nm=1M(1pm)μms2,m(b)1Nwlc1Δb(c)wlc1Δ2b,(F.7)
    where
    • ○ (a) holds because A1(s)1N under any policy in Π;

    • ○ (b) holds because of (F.6); and

    • ○ (c) holds because log N4bwlc1.

  • Suppose i=2bsi>λ+kΔs1ζΔ. In this case, V(s)=λ+kΔs1 and

    V(s)λ(1A1(s))+m=1M(1pm)μms1,mm=1M(1pm)μms2,m1Nλ+wus1m=1M(wuwm)s1,mm=1Mwms2,m(F.8)
    (a)1Nλ+wu(s1m=1MLm)+m=1MwmLmm=1Mwms2,m=(b)1N+(wu(kζ+m=1Mθm)m=1Mwmθm)Δm=1Mwmμms2,m(c)1N+(wu(kζ+m=1Mθm)m=1Mwmθm)Δwlc1Δb=1N3wlc1Δ4b(d)wlc1Δ2b,(F.9)
    where
    • ○ (a) holds because s1,mLm,m1;

    • ○ (b) holds because s1λ+(kζ)Δ and Lm=s1,m*θmΔ,m1;

    • ○ (c) holds because wu(kζ+m=1Mθm)m=1Mwmθm=wlc14b given k and ζ; and

    • ○ (d) holds because log N4bwlc1.

    Next, we further show V(s)wu based on the upper bounds (F.7) and (F.8).

  • Consider the upper bound in (F.7). We have

    V(s)λ(A1(s)Ab(s))m=1M(1pm)μms2,m1wu,
    where 1wu holds because m=1Mvm=1.

  • Consider the upper bound in (F.8). We have

    V(s)λ(1A1(s))+m=1M(1pm)μms1,mm=1M(1pm)μms2,mm=1M(1pm)μms1,mwu,
    where the last inequality holds because ms1,m=s11.

We now apply Lemma A.2. Define γ=wlζΔ2b and δ=wu. Combining qmax=wuN and νmax=1N, we have

α=wuwu+wlζΔ2b   and   β=2wubwlζΔ+1.

Choosing j=3N log N, we have

P(V(S)ζΔ+2νmaxj)=(a)P(V(S)(ζ+6)Δ)(b)(11+wlζΔ2wub)3N log N+βP(SE)(1wlc1Δ3wub)3N log N+βP(SE)(d)ewlc1wublog2 N+(2wubwlζΔ+1)P(SE)(d)ewlc1wublog2 N+(2wubwlζΔ+1)MN3(e)1N2,
where
  • (a) holds by substituting νmax=1N and j=3N log N;

  • (b) holds based on Lemma A.2;

  • (c) holds because wlc1wub1Δ;

  • (d) holds by union bounds on P(SE); and

  • (e) holds because wlc1wub24 and 2(2MbwuwlζΔ+M)N.

Appendix G. Additional Experiments

In this section, we provide additional experiments justifying our theoretical results. Specifically, we verify if the assumption of the finite buffer is proper for LB-zero, test LB-zero under the different traffic intensity levels, and the service times distributions with varying coefficients of variation.

G.1. Finite Buffer Assumption

We run the experiments for JIQ with N=100, b=10, and α=0.5 under Coxian 4 (this setup intuitively is most likely to introduce large queue lengths). The results are plotted in Figure G.1, where we observe even S6,m,m are extremely small and S9,m is always zero. This implies a small buffer size is sufficient for “zero-waiting” load balancing.

Figure G.1. Trajectory of States for Coxian 4 with n = 100 and α=0.5 Under JIQ
Notes. (a) The trajectory of S3,m. (b) The trajectory of S6,m. (c) The trajectory of S9,m.

G.2. Varying Traffic Intensity

We run the experiments for LB-zero under the different traffic intensity besides α=0.5. We choose α=0.3 and α=0.4 that satisfy the heavy-traffic assumptions. The buffer size is still set to be 10. The results are shown in Figures G.2 and G.3, respectively, where we observe the similar asymptotic zero waiting results as in the case of α=0.5 in Figure 7. Moreover, it is shown that the waiting probabilities become smaller as α decreases.

Figure G.2. Asymptotic Zero Waiting Under JSQ and JIQ with α=0.3
Notes. (a) Average queue length per server. (b) Waiting probability.
Figure G.3. Asymptotic Zero Waiting Under JSQ and JIQ with α=0.4
Notes. (a) Average queue length per server. (b) Waiting probability.

G.3. Varying Coefficients of Variation

We run the experiments for LB-zero under service time distributions with varying coefficients of variation (COV). In particular, we considered the hyper-exponential service with varying COV=(1,5,51,101) when α=0.4 in Figure G.4. The buffer size is set to a slightly larger value b = 50 to ensure almost no job is blocked. In fact, we did not observe any blocking events in the experiment. The results demonstrate that the waiting probability becomes larger as COV increases and that JSQ achieves a smaller average queue length per server than JIQ. Interestingly, we observe JSQ has a larger waiting probability than JIQ as COV increases. The intuition is that JSQ behaves like a single server queue system due to the effect of resource pooling, so when the variance is relatively large, a “large job” is more likely to block small jobs (head of line blocking), which results in a large waiting probability but with small waiting time.

Figure G.4. JSQ and JIQ with Different COV
Notes. (a) Average queue length per server. (b) Waiting probability.

References

  • Aghajani R, Li X, Ramanan K (2017) The PDE method for the analysis of randomized load balancing networks. Proc. ACM Measurement Anal. Comput. Systems, vol. 1 (ACM, New York), 1–28.Google Scholar
  • Akamai (2017) The state of online retail performance report, Cambridge, MA.Google Scholar
  • Banerjee S, Mukherjee D (2018) Join-the-shortest queue diffusion limit in Halfin-Whitt regime: Tail asymptotics and scaling of extrema. Preprint, submitted September 28, https://arxiv.org/abs/1803.03306.Google Scholar
  • Bertsimas D, Gamarnik D, Tsitsiklis JN (2001) Performance of multiclass markovian queueing networks via piecewise linear lyapunov functions. Ann. Appl. Probabilities 11(4):1384–1428.Google Scholar
  • Bonald T, Jonckheere M, Proutiere A (2004) Insensitive load balancing. Performance Evaluation Rev. 32(1):367–377.Google Scholar
  • Bramson M, Lu Y, Prabhakar B (2012) Asymptotic independence of queues under randomized load balancing. Queueing Systems 71(3):247–292.Google Scholar
  • Braverman A (2020) Steady-state analysis of the join-the-shortest-queue model in the Halfin-Whitt regime. Math. Oper. Res. 45(3):1069–1103.LinkGoogle Scholar
  • Braverman A, Dai JG, Feng J (2016) Stein’s method for steady-state diffusion approximations: An introduction through the Erlang-A and Erlang-C models. Stochastic Systems 6:301–366.LinkGoogle Scholar
  • Burman DY (1981) Insensitivity in queueing systems. Adv. Appl. Probabilities 13(4):846–859.Google Scholar
  • Eryilmaz A, Srikant R (2012) Asymptotically tight steady-state queue length bounds implied by drift conditions. Queueing Systems 72(3–4):311–359.Google Scholar
  • Eschenfeldt P, Gamarnik D (2018) Join the shortest queue with many servers. The heavy-traffic asymptotics. Math. Oper. Res. 43(3):867–886.LinkGoogle Scholar
  • Foss S, Stolyar AL (2017) Large-scale join-idle-queue system with general service times. J. Appl. Probabilities 54(4):995–1007.Google Scholar
  • Gast N (2017) Expected values estimated via mean-field approximation are 1/n-accurate. Proc. ACM Measurement Anal. Comput. Systems, vol. 1 (ACM, New York), 1–26.Google Scholar
  • Gupta V, Walton N (2019) Load balancing in the nondegenerate slowdown regime. Oper. Res. 67(1):281–294.LinkGoogle Scholar
  • Gupta V, Harchol Balter M, Sigman K, Whitt W (2007) Analysis of join-the-shortest-queue routing for web server farms. Performance Evaluation 64(9–12):1062–1081.Google Scholar
  • Hellemans T, Van Houdt B (2018) On the power-of-d-choices with least loaded server selection. Proc. ACM Measurement Anal. Comput. Systems, vol. 2 (ACM, New York), 1–22.Google Scholar
  • Hong Y, Wang W (2021) Sharp waiting-time bounds for multiserver jobs. Preprint, submitted September 11, https://arxiv.org/abs/2109.05343.Google Scholar
  • Jonckheere M, Prabhu B (2018) Asymptotics of insensitive load balancing and blocking phases. Queueing Systems 88:243–278.Google Scholar
  • Kielanski G, Van Houdt B (2021) On the asymptotic insensitivity of the supermarket model in processor sharing systems. Proc. ACM Measurement Anal. Comput. Systems, vol. 5 (ACM, New York), 1–28.Google Scholar
  • Liu X, Ying L (2018) On achieving zero delay with power-of-d-choices load balancing. Proc. IEEE Internat. Conf. Computer Comm., vol. 6 (IEEE, Piscataway, NJ), 909–916.Google Scholar
  • Liu X, Ying L (2020) Steady-state analysis of load balancing algorithms in the sub-Halfin-Whitt regime. J. Appl. Probabilities 57(2):578–596.Google Scholar
  • Liu X, Ying L (2021) Universal scaling of distributed queues under load balancing in the super-Halfin-Whitt regime. IEEE/ACM Trans. Networks 30(1):190–201.Google Scholar
  • Liu X, Gong K, Ying L (2021) Steady-state analysis of load balancing with Coxian-2 distributed service times. Naval Res. Logist. 69(1):57–75.Google Scholar
  • Liu X, Gong K, Ying L (2022) Large-system insensitivity of zero-waiting load balancing algorithms. Proc. ACM SIGMETRICS/IFIP PERFORMANCE Joint Internat. Conf. Measurement and Modeling of Comput. Systems (ACM, New York), 101–102.Google Scholar
  • Lu Y, Xie Q, Kliot G, Geller A, Larus JR, Greenberg A (2011) Join-idle-queue: A novel load balancing algorithm for dynamically scalable web services. Performance Evaluation 68(11):1056–1071.Google Scholar
  • Maguluri ST, Srikant R (2016) Heavy traffic queue length behavior in a switch under the maxweight algorithm. Stochastic Systems 6(1):211–250.LinkGoogle Scholar
  • Mitzenmacher M (1996) The power of two choices in randomized load balancing. PhD thesis, University of California, Berkeley, CA.Google Scholar
  • Mukherjee D, Borst SC, van Leeuwaarden JS (2018) Asymptotically optimal load balancing topologies. Proc. ACM Measurement Anal. Comput. Systems (ACM, New York), 14:1–14:29.Google Scholar
  • Mukherjee D, Borst SC, van Leeuwaarden JSH, Whiting PA (2016) Universality of power-of-d load balancing in many-server systems. Preprint, submitted December 2, https://arxiv.org/abs/1612.00723.Google Scholar
  • Rutten D, Mukherjee D (2022) Load balancing under strict compatibility constraints. Math. Oper. Res. 48(1):227–256.Google Scholar
  • Schelling TC (1978) Micromotives and Macrobehavior (Norton, New York).Google Scholar
  • Stolyar A (2015) Pull-based load distribution in large-scale heterogeneous service systems. Queueing Systems 80(4):341–361.Google Scholar
  • Van Houdt B (2019) Global attraction of ODE-based mean field models with hyperexponential job sizes. Proc. ACM Measurement Anal. Comput. Systems, vol. 3 (ACM, New York), 1–23.Google Scholar
  • Vasantam T, Mukhopadhyay A, Mazumdar RR (2019) Insensitivity of the mean field limit of loss systems under SQ(d) routeing. Adv. Appl. Probabilities 51(4):1027–1066.Google Scholar
  • Vvedenskaya ND, Dobrushin RL, Karpelevich FI (1996) Queueing system with selection of the shortest of two queues: An asymptotic approach. Problemy Peredachi Informatsii 32(1):20–34.Google Scholar
  • Wang W, Xie Q, Harchol-Balter M (2021) Zero queueing for multi-server jobs. Proc. ACM Measurement Anal. Comput. Systems, vol. 5 (ACM, New York), 1–25.Google Scholar
  • Wang W, Maguluri ST, Srikant R, Ying L (2018) Heavy-traffic delay insensitivity in connection-level models of data transfer with proportionally fair bandwidth sharing. Performance Evaluation Rev. 45(3):232–245.Google Scholar
  • Weng W, Wang W (2020) Achieving zero asymptotic queueing delay for parallel jobs. Proc. ACM Measurement Anal. Comput. Systems, vol. 4 (ACM, New York), 1–36.Google Scholar
  • Weng W, Zhou X, Srikant R (2020) Optimal load balancing with locality constraints. Proc. ACM Measurement Anal. Comput. Systems, vol. 4 (ACM, New York), 1–37.Google Scholar
  • Whittle P (1985) Partial balance and insensitivity. J. Appl. Probabilities 22(1):168–176.Google Scholar
  • Winston W (1977) Optimality of the shortest line discipline. J. Appl. Probab. 14(1):181–189.Google Scholar
  • Xie Q, Dong X, Lu Y, Srikant R (2015) Power of d choices for large-scale bin packing: A loss model. Proc. Ann. ACM SIGMETRICS Conf. (ACM, New York), 321–334.Google Scholar
  • Ying L (2016) On the approximation error of mean-field models. Proc. Ann. ACM SIGMETRICS Conf. (ACM, New York), 285–297.Google Scholar
  • Ying L, Srikant R, Kang X (2015) The power of slightly more than one sample in randomized load balancing. Proc. IEEE Internat. Conf. Computer Comm. (IEEE, Piscataway, NJ), 1131–1139.Google Scholar
  • Zachary S (2007) A note on insensitivity in stochastic networks. J. Appl. Probabilities 44(1):238–248.Google Scholar