Many-Server Asymptotics for Join-the-Shortest-Queue in the Super-Halfin-Whitt Scaling Window

Zhisheng Zhao, Sayan Banerjee, Debankur MukherjeeMathematics 2021

Abstract

The Join-the-Shortest Queue (JSQ) policy is a classical benchmark for the performance of many-server queueing systems due to its strong optimality properties. While the exact analysis of the JSQ policy is an open question to date, even under Markovian assumption on the service requirements, recently, there has been a significant progress in understanding its many-server asymptotic behavior since the work of Eschenfeldt and Gamarnik (2018). In this paper, we analyze the many-server limits of the JSQ policy in the super-Halfin-Whitt scaling window when load per server $\lambda_N$ scales with the system size $N$ as $\lim_{N\rightarrow\infty}N^\alpha(1-\lambda_N)=\beta$ for $\alpha\in (1/2, 1)$ and $\beta>0$. We establish that the centered and scaled total queue length process converges to a certain Bessel process with negative drift and the associated centered and scaled steady-state total queue length, indexed by $N$, converges to a $\mathrm{Gamma}(2,\beta)$ distribution. Both the transient and steady-state limit laws are universal in the sense that they do not depend on the value of the scaling parameter $\alpha$, and exhibit fundamentally different qualitative behavior from both the Halfin-Whitt regime ($\alpha= 1/2$) and the Non-degenerate Slowdown (NDS) regime ($\alpha=1$).

Introduction

In large-scale data centers and cloud networks, task assignment strategies are critical for performance. The Join-the-Shortest Queue (JSQ) policy is considered the gold standard: arriving tasks are sent to the server with the shortest queue. Despite its intuitive optimality, JSQ is notoriously difficult to analyze mathematically as the number of servers ($N$) grows toward infinity.

Queueing theorists categorize system behavior based on "heavy traffic" regimes, where the system load is near capacity. The most prominent is the Halfin-Whitt regime, where spare capacity scales as $\sqrt{N}$. However, as systems become more congested, they enter the Super-Halfin-Whitt (SHW) regime, where spare capacity is even smaller, specifically $O(N^{1/2-\epsilon})$. This paper characterizes JSQ behavior in this challenging window.

Summary of asymptotic regimes for the Join-the-Shortest Queue (JSQ) policy.

A central question is whether a system with $N$ parallel queues under JSQ behaves like a single centralized queue (an M/M/N system) in this crowded state. While one might expect the two to converge as idle servers vanish, this research demonstrates a surprising divergence.

Methodology

The study employs a rigorous probabilistic framework to track the "occupancy process"—the distribution of servers with varying queue lengths. The methodology includes:

  1. Diffusion Limits: Scaling the total queue length by $N^{1/2+\epsilon}$ and accelerating time by $N^{2\epsilon}$ to observe the process's asymptotic shape.
  2. Martingale Decomposition: Decomposing system dynamics into predictable drifts and random noise to derive a Stochastic Differential Equation (SDE).
  3. Regenerative Process Theory: Utilizing renewal theory to analyze long-term steady-state behavior by examining "excursions" from specific states.
  4. State-Space Collapse: Demonstrating that while the number of idle servers is small, their rapid evolution exerts a non-trivial "local time" push on the total queue length.

The analysis uses the standard M/M/N queueing model:

  • Arrivals: Poisson process with rate $\lambda(N)$.
  • Service: Independent, exponentially distributed times (mean 1).
  • Scaling: Load per server $\lambda_N$ satisfies $N^\alpha(1 - \lambda_N) \to \beta$ for $\alpha \in (1/2, 1)$.

Key Insights and Results

The research yields several critical insights into the nature of JSQ in the SHW regime:

The "Local Time" Push

Even when the number of idle servers is negligible relative to the total queue, their rapid fluctuation creates a "repulsive" drift. This drift prevents the total queue length from hitting zero, causing it to behave like a 2-dimensional Bessel process.

Universality and the Cost of Decentralization

The derived limit laws—the Bessel process and the Gamma distribution—are universal. They depend on the spare capacity parameter $\beta$ but are independent of the specific scaling exponent $\alpha$ within the SHW window.

Crucially, this reveals the "cost" of parallelism. In a centralized M/M/N system in this regime, the scaled queue length follows an Exponential($\beta$) distribution. In JSQ, it follows a $\text{Gamma}(2, \beta)$ distribution. Since a $\text{Gamma}(2, \beta)$ is the sum of two independent Exponential($\beta$) variables, the JSQ system effectively maintains double the expected waiting tasks compared to a centralized one.

Mathematical Convergence

  • Process Convergence: The centered and scaled total queue length $X^{(N)}(t)$ converges weakly to the SDE: $$dX(t) = \left( \frac{1}{X(t)} - \beta \right)dt + \sqrt{2}dW(t)$$
  • Steady-State Distribution: The long-term total queue length converges to a $\text{Gamma}(2, \beta)$ distribution with density $f(x) = \beta^2 x e^{-\beta x}$.
  • Waiting Time: The mean waiting time $W^{(N)}$ scales as: $$\lim_{N \to \infty} N^{1/2-\epsilon} \mathbb{E}[W^{(N)}] = \frac{2}{\beta}$$

Conclusion and Future Directions

This work identifies a regime where JSQ behavior is fundamentally different from both the Halfin-Whitt and NDS regimes. However, several avenues for future research remain:

  • Tail Bound Optimality: The current exponents in tail probability bounds for the steady state may be improvable.
  • Phase Transition Boundaries: Identifying the exact scaling point where JSQ finally collapses to behave like a centralized system (known to occur at $\alpha > 2$).
  • Buffer Constraints: Investigating how finite buffers in real-world systems might introduce new boundary effects.

Summary updated

BibTeX
@inproceedings{zhao2021many,
  author = {Zhisheng Zhao and Sayan Banerjee and Debankur Mukherjee},
  title = {{Many-Server Asymptotics for Join-the-Shortest-Queue in the Super-Halfin-Whitt Scaling Window}},
  booktitle = {Mathematics},
  year = {2021},
}
Figure