Heavy-Traffic Limits for Queues with Many Exponential Servers: The Scaled Stationary M/M/n Queue Length Converges to a Hybrid Exponential–Normal LawResearch Paper
Why many-server queues in heavy traffic
Telephone exchanges, call centers, hospital wards and cloud server pools are queues with a large number of parallel servers. For such systems two classical approximations pull in opposite directions. Holding fixed and letting the traffic intensity gives the conventional heavy-traffic limit, in which almost every customer waits. Letting grow with fixed below one gives a limit in which almost nobody waits. Real systems sit in between: a positive fraction of customers wait, and waits are short. Halfin and Whitt (Operations Research 29 (1981) 567–588) identified the scaling that produces this middle regime and the limit laws it yields. The scaling is now called the Halfin–Whitt or quality-and-efficiency-driven (QED) regime, and it underlies square-root staffing: run servers for an offered load of Erlangs. Borst, Mandelbaum and Reiman (Operations Research 52 (2004) 17–34) built staffing rules for large call centers on it.
Timeline. Erlang (1917) gave the delay probability of the M/M/s queue. Iglehart (1965) proved diffusion limits for M/M/s queues with the number of servers growing and the traffic intensity fixed. Halfin and Whitt (1981) proved that the delay probability has a limit strictly between 0 and 1 exactly when converges to a positive constant (their Proposition 1), derived the limit of the stationary queue length (Theorem 1), and extended the process-level limit to GI/M/s queues. Later work extended the regime to many-server queues with general service times and abandonment.
Setting
An M/M/s queue has Poisson arrivals at rate , servers, and exponential service times with rate . Its traffic intensity is . The number of customers in the system (waiting or in service) is a birth–death process on with birth rate and death rate in state . When , converges in distribution to , whose law is the unique probability distribution solving the balance equations of this chain. The probability of delay is the Erlang-C formula.
The mission studies a sequence of such queues: queue has servers, the fixed service rate , and arrival rate with and . Its stationary queue length is , and the scaled queue length is
Throughout, and denote the standard normal distribution function and density, and for
The standing assumption of the paper's Section 2 is the heavy-traffic condition
Formalization targets
Goal: Theorem 1
Under (2.2), with ,
The limit is exponential with rate above zero and a normal law truncated at zero below it, with masses and .
Milestones, in the order the paper proves them
- The stationary law (1.1)–(1.3) of one M/M/s queue, and the identification (1.2) of with the Erlang-C formula.
- Lemma 1: recursions expressing the partial moments and through lower ones and .
- Proposition 1: if and only if (2.2) holds, and then .
- Proposition 2: for and with ,
and for with ,
- Corollary 1: the first four moments and the variance of converge to explicit functions of and , for example .
Significance
Theorem 1 is the stationary half of the Halfin–Whitt regime. It turns the Erlang-C formula, a ratio of sums with terms that is opaque for large , into a two-parameter description of congestion: is the fraction of customers who wait, is the scaled safety margin of servers, and the conditional laws above give the distribution of the number waiting and of the number of idle servers. Proposition 1 and Theorem 1 are what square-root staffing rules evaluate; Corollary 1 supplies the mean and variance used in the paper's numerical approximations.
All results of this mission are proved in the paper, by direct calculation from (1.1)–(1.3), Stirling's formula and the central limit theorem for Poisson variables. None has a machine-checked proof. Proposition 1 and the two Section 1 facts are posed on the platform as open theorems from the Gross et al. queueing textbook series; this mission adds the conditional and local limits, the weak-convergence theorem and the moment results on the same definitions, so that a closed development would give a fully checked derivation of the Halfin–Whitt limit from the balance equations.
Difficulty
The stationary law is explicit, so nothing here needs a stochastic process. The difficulty is analytic and uniform: each statement is a limit of ratios of sums of or infinitely many terms, below and a geometric tail above , in which and at linked rates. The lower half needs a central limit theorem for Poisson laws whose parameter moves with and is evaluated at a moving point; the local limits (2.10) and (2.12) need Stirling's formula with explicit control of to second order. Weak convergence then needs tightness, or a direct argument from the conditional limits, and the moment limits need uniform integrability, which the fixed- moment recursions do not give by themselves. Holding fixed, or taking limits in and one after the other, gives degenerate answers ( or ); the two limits must be taken together.
Formalization scope
The Lean development lives in the namespace HalfinWhitt81.Stationary. The law of is a sequence p n : ℕ → ℝ satisfying IsSteadyState (fun _ => lam n) (mmcDeath μ n) (p n) of the referenced definition QueueingFundamentals.BirthDeath.Balance (nonnegative, summing to one, solving the balance equations of the M/M/n chain); the Erlang-C formula and are erlangC and halfinWhittAlpha of QueueingFundamentals.BirthDeath.Erlang, and , are Mathlib's cdf (gaussianReal 0 1) and gaussianPDFReal 0 1. These, and the three open theorems for (1.1)–(1.3), (1.2) and Proposition 1, come from the Gross et al. (2008) series and are referenced, not restated. The related Borst–Mandelbaum–Reiman items (DimCallCenters.*.lemma_4_1, for the continuous extension of Erlang-C) state a different result and are not used.
Conventions committed to:
- hypotheses on queue (rates, steady state, or ) are imposed for , and only limits are asserted; is kept as a hypothesis although it follows from (2.2);
- the standing assumption "(2.1) or, equivalently, (2.2)" is the hypothesis (2.2) with , and is written as , equal to the limit in (2.1) by Proposition 1;
- probabilities of are sums of
p n(probLE,probGE,probEqInt); a conditional probability with is the ratio ; isInt.floor, with for ; - uses : the page's (2.13) prints , a misprint; (2.12) prints the limit , a misprint for , which is what is formalized;
- "" is stated as: there is a Borel probability measure on with the three properties of Theorem 1 such that for every bounded continuous ; the exponential clause is for and the normal clause for ;
- infinite sums whose convergence is not implied by the hypotheses (the moment series of Lemma 1 and Corollary 1) have their convergence in the conclusion.
The goal cannot be met trivially: the law of is the M/M/n steady state, not a free sequence; the limit measure is asserted to exist together with its three properties and the convergence, so no vacuous "for every " reading is possible; and the statement alone is Proposition 1, already posed.
A complete development needs: the closed form of the M/M/n steady state, Poisson central limit and local limit theorems with a moving parameter, Stirling's formula with error terms, a criterion for weak convergence from convergence of distribution functions, and uniform integrability for the moments. The Poisson limit theorems and the weak-convergence criterion are reusable beyond this mission. Proofs of the referenced open theorems, of individual milestones, and alternative routes to Theorem 1 (moment convergence, or the process-level limit) are all welcome.
Selected references
- S. Halfin and W. Whitt, Heavy-Traffic Limits for Queues with Many Exponential Servers, Operations Research 29(3) (1981) 567–588. https://doi.org/10.1287/opre.29.3.567
- R. B. Cooper, Introduction to Queueing Theory, Macmillan, 1972 (the source cited for (1.1)–(1.3)).
- D. L. Iglehart, Limiting Diffusion Approximations for the Many Server Queue and the Repairman Problem, Journal of Applied Probability 2(2) (1965) 429–441.
- S. Borst, A. Mandelbaum and M. I. Reiman, Dimensioning Large Call Centers, Operations Research 52(1) (2004) 17–34. https://doi.org/10.1287/opre.1030.0081
- D. Gross, J. F. Shortle, J. M. Thompson and C. M. Harris, Fundamentals of Queueing Theory, 4th ed., Wiley, 2008 (§2.4: the Erlang-C formula and the Halfin–Whitt limit).