Join-the-Shortest Queue diffusion limit in Halfin–Whitt regime: Sensitivity on the heavy-traffic parameter

Sayan Banerjee, Debankur MukherjeeThe Annals of Applied Probability 2020 · DOI

Abstract

Consider a system of $N$ parallel single-server queues with unit-exponential service time distribution and a single dispatcher where tasks arrive as a Poisson process of rate $\lambda (N)$. When a task arrives, the dispatcher assigns it to one of the servers according to the Join-the-Shortest Queue (JSQ) policy. This paper performs a thorough analysis of the bulk behavior of the stationary distribution of the limiting diffusion process in the Halfin–Whitt regime, where $(N-\lambda (N))/\sqrt{N}\to \beta >0$. We discover that the system exhibits different qualitative behavior depending on the value of the heavy-traffic parameter $\beta$, and obtain precise asymptotic laws as $\beta$ tends to 0 and $\infty$.

Introduction

In large-scale data centers, efficient load balancing is critical for performance. The Join-the-Shortest Queue (JSQ) policy is widely regarded as a gold standard because it minimizes delays by routing tasks to the server with the fewest pending jobs. To understand JSQ in massive systems, researchers analyze the Halfin-Whitt (or QED) regime, where the number of servers $N$ and the arrival rate $\lambda(N)$ both scale to infinity such that the spare capacity is proportional to $\beta\sqrt{N}$.

While previous studies identified the complex 2D diffusion process describing this limit and established its ergodicity and tail properties, the "bulk" behavior—such as the average number of waiting jobs—remained mathematically intractable. This work provides the first rigorous analysis of these steady-state moments and their sensitivity to the parameter $\beta$.

Methodology

The analysis of the non-elliptic 2D diffusion process requires a combination of advanced probabilistic techniques:

  1. Regenerative Approach: The authors decompose the process into "cycles" based on regeneration times. By analyzing behavior within a single cycle, they infer long-term steady-state properties.
  2. Stochastic Bounding: The complex process is "sandwiched" between simpler, analytically tractable processes, such as Reflected Brownian Motion with drift and Ornstein-Uhlenbeck (OU) processes.
  3. Hitting Time Estimates: Precise estimates are derived for the time the system takes to reach specific thresholds, such as when the second queue length $Q_2$ returns to zero.
  4. Method of Moments: Using Ito’s formula, the authors prove distributional convergence by matching the scaled moments of the JSQ system with those of known distributions (e.g., Gamma or Normal).

Results: Sensitivity to the Heavy-Traffic Parameter $\beta$

The most significant finding is that JSQ's performance is not just quantitatively but qualitatively sensitive to $\beta$. Numerical simulations illustrate these transitions across different traffic intensities.

Figure 1: Histograms of the occupancy measures -Q1(inf) and Q2(inf) for beta = 0.1, 1, and 3.

Small-$\beta$ Regime (Heavy Traffic)

As $\beta \to 0$, the scaled waiting task count $\beta Q_2(\infty)$ converges in distribution to a Gamma(2) distribution. This is a surprising result, as the centralized M/M/N counterpart (perfect pooling) converges to a unit-mean exponential distribution. This implies a "factor of 2" penalty for distributed operation under JSQ in extreme heavy traffic.

Large-$\beta$ Regime (Light Traffic)

When $\beta$ is large, the system exhibits an intermittency phenomenon. Most of the time, the second queue is nearly empty ($Q_2 \approx 0$), but rare spikes occur that take exponentially long to dissipate. This leads to a "condensation of mass" near zero.

Figure 2: Histogram for Q2(inf) at beta = 3, showing the concentration of mass near zero characteristic of the intermittency phenomenon.

Additionally, the centered idle-server count $(Q_1(\infty) + \beta)$ converges to a standard Normal distribution, indicating that the system behaves like an OU process in this regime.

Conclusion

This paper provides a complete characterization of the bulk behavior of JSQ in the Halfin-Whitt regime. By identifying the different asymptotic laws for small and large $\beta$, it clarifies the "cost" of distributed load balancing and the complex dynamics of queue fluctuations. Future work may extend these results to non-exponential service times or explore the precise mathematical nature of the transition in the intermediate $\beta \approx 1$ regime.

Summary updated

BibTeX
@article{banerjee2020join,
  author = {Sayan Banerjee and Debankur Mukherjee},
  title = {{Join-the-Shortest Queue diffusion limit in Halfin–Whitt regime: Sensitivity on the heavy-traffic parameter}},
  journal = {The Annals of Applied Probability},
  year = {2020},
  doi = {10.1214/19-aap1496},
}
Figure