Abstract
This paper studies load balancing for many-server ($N$ servers) systems. Each server has a buffer of size $b-1,$ and can have at most one job in service and $b-1$ jobs in the buffer. The service time of a job follows the Coxian-2 distribution. We focus on steady-state performance of load balancing policies in the heavy traffic regime such that the normalized load of system is $\lambda = 1 - N^{-\alpha}$ for $0 < \alpha < 0.5.$ We show that a large class of load balancing policies, including Join-the-Shortest-Queue (JSQ) and Join-the-Idle-Queue (JIQ), achieve asymptotic zero waiting.
Introduction
In modern cloud computing environments, minimizing latency is a critical objective. Data centers employ load balancers to distribute incoming tasks across thousands of servers to ensure efficient resource utilization and low response times. While analyzing these systems is relatively straightforward under the assumption of exponential service times, real-world tasks often exhibit more complex, non-exponential behavior.
This paper addresses the challenge of analyzing load balancing policies in systems where service times follow a Coxian-2 distribution. This distribution is more realistic as it can approximate a wide variety of general distributions by fitting their first three moments. However, it introduces a significant mathematical hurdle: the loss of the "monotonicity property." In simpler models, fewer jobs always imply a less busy system. With Coxian-2, a server with one job in a long-duration phase might be "busier" than a server with multiple jobs in short-duration phases.
The Coxian-2 Service Model
The Coxian-2 distribution models service as a two-phase process. As shown in the diagram below, a job enters Phase 1 with a service rate $\mu_1$. Upon completion, it either exits the system with probability $1-p$ or proceeds to Phase 2 with rate $\mu_2$ with probability $p$.
This multi-phase nature means the state of a server is no longer just the number of jobs in its queue, but also the current phase of the job in service. This increased dimensionality makes traditional steady-state analysis difficult.
Methodology: Iterative State Space Collapse
To overcome the lack of monotonicity and the complexity of the state space, the authors introduce a novel iterative state space collapse (SSC) method combined with Stein’s method.
Stein’s method provides a framework to bound the distance between the complex $N$-server stochastic system and a simpler 1D fluid limit model. The iterative SSC approach "refines" the state space step-by-step. Instead of trying to prove the entire system's convergence at once, the authors first bound the behavior of Phase 2 jobs, then use those bounds to constrain Phase 1 jobs. This process continues until they demonstrate that the system "collapses" into a region where it behaves like a predictable fluid model, even in the heavy traffic regime where the load $\lambda$ approaches 1 as $N$ grows.
Key Results
The study focuses on a set of policies (Set $\Pi$) that prioritize idle servers, including Join-the-Shortest-Queue (JSQ), Join-the-Idle-Queue (JIQ), and Power-of-d-choices (Pod). The primary findings include:
- Asymptotic Zero Waiting: As the number of servers $N$ increases, the probability that an incoming job must wait in a queue vanishes. For JIQ, this probability is $O(1 / (N^{0.5-\alpha} \log N))$.
- Optimal Queue Lengths: The average number of jobs per server is shown to be nearly optimal, specifically $\lambda + O(\log N / \sqrt{N})$.
- Robustness: Because the Coxian-2 distribution can approximate general distributions, these results suggest that "idle-first" load balancing policies are robust across diverse real-world workloads.
Conclusion
This work provides a rigorous theoretical foundation for the effectiveness of common load-balancing algorithms in large-scale systems with complex job characteristics. By developing the iterative SSC method, the authors have created a tool that can handle non-monotonic systems, opening doors for future analysis of even more complex service distributions (e.g., Coxian-M) and different traffic regimes like the Halfin-Whitt regime.
Summary updated