Block-Structured Supermarket Models

Quan-Lin Li, John C. S. Lui

Abstract

This paper presents a rigorous mathematical framework for analyzing randomized load balancing in large-scale systems characterized by complex arrival and service patterns. By extending the classical "supermarket model" to incorporate Markovian Arrival Processes (MAPs) and Phase-type (PH) distributions, the authors demonstrate that the "power of $d$ choices" remains robust under non-Poisson and non-exponential conditions. Using a combination of mean-field theory and matrix-analytic methods, the study provides a computable approach to determining system stability and performance metrics, confirming the doubly exponential decay of queue lengths in generalized environments.

Introduction

In modern data centers and manufacturing systems, load balancing is critical for efficiency. The "supermarket model" is a well-known strategy where an arriving task selects $d$ servers at random and joins the one with the shortest queue. While classical analysis often assumes Poisson arrivals and exponential service times for mathematical tractability, real-world traffic is frequently bursty or correlated, and service times vary significantly. This paper addresses the challenge of analyzing these complex systems where the state space becomes "infinite-dimensional" due to the internal phases of arrival and service processes.

System Model and Methods

The authors propose a generalized supermarket model that replaces simple stochastic assumptions with more versatile distributions. The arrival process is modeled as a Markovian Arrival Process (MAP), which can capture correlation and burstiness. Service times follow Phase-type (PH) distributions, which can approximate any positive distribution with arbitrary precision.

The block-structured supermarket model illustrating MAP arrivals, the routing policy of $d$ choices, and PH service processes.

To analyze this system, the authors employ three primary mathematical pillars:

  1. Matrix-Analytic Methods: These are used to represent complex system states as blocks within large matrices, transforming abstract probability problems into solvable linear algebra equations.
  2. Mean-Field Theory: Instead of tracking $N$ individual servers, the model examines the fraction of servers in specific states. As $N \to \infty$, the random behavior converges to a deterministic trajectory defined by differential equations.
  3. Operator Semigroups: This advanced calculus framework ensures the existence and uniqueness of the mean-field limit, providing the rigorous foundation for the theory.

A key technical innovation is the invariance of environment factors, which simplifies the massive system of equations into a manageable vector form, facilitating the calculation of steady-state solutions.

Key Results and Insights

The research yields several significant findings regarding the performance and stability of randomized load balancing:

  • Robustness of the "Power of $d$ Choices": The core benefit of randomized load balancing—the doubly exponential decay of queue lengths—persists even with complex arrival and service processes. Specifically, the stationary queue length distribution follows the tail $\pi_k e = \rho^{\frac{d^k-1}{d-1}}$, where $\rho$ is the traffic intensity.
  • Stability Conditions: The system is proven to be stable as long as the traffic intensity $\rho = \lambda/\mu < 1$.
  • Matrix-Product Solutions: The authors demonstrate that the system's "fixed point" (steady state) can be expressed in a matrix-product form. This makes performance metrics like mean stationary queue length and expected sojourn time computationally accessible.
  • Numerical Validation: Using synthetic parameters such as Erlang-$n$ distributions, the authors show that while the specific distribution shape affects performance, the choice of $d > 1$ remains the most dominant factor in reducing long queues.

Limitations and Future Work

While the model is powerful, it relies on the "mean-field limit," which assumes a very large number of servers ($N \to \infty$). While appropriate for cloud-scale data centers, it may lose accuracy for smaller server clusters. Additionally, the computational cost of the matrix-analytic method increases with the number of phases in the arrival and service distributions.

Future research directions include extending the framework to renewal processes, heavy-tailed distributions (common in internet traffic), and bulk arrival scenarios where tasks arrive in groups rather than individually.

Summary updated

BibTeX
@article{li2016block,
  author = {Quan-Lin Li and John C. S. Lui},
  title = {{Block-Structured Supermarket Models}},
  journal = {Discret. Event Dyn. Syst.},
  year = {2016},
  doi = {10.1007/s10626-014-0199-1},
}
Figure