The G/GI/N Queue in the Halfin–Whitt Regime 3: The Number in a Non-Idling G/GI/N System Satisfies the Infinite-Server System Equation (2.8)Research Paper
Motivation
A many-server queue has identical servers, a stream of arriving customers, and a buffer in which customers wait when every server is busy. It models call centres, hospital wards and server farms, and the regime of practical interest is the Halfin–Whitt or quality-and-efficiency-driven regime, in which the number of servers grows with the arrival rate so that : servers are almost fully used, yet only a vanishing fraction of customers waits.
- Halfin and Whitt (1981, Oper. Res. 29) identified the regime and proved a diffusion limit for exponential service times ().
- Puhalskii and Reiman (2000, Adv. Appl. Probab. 32) treated phase-type service distributions ().
- Reed (2009, arXiv:0912.2837), the source of this mission, obtained the fluid and diffusion limits of the number in system for the queue with a general service-time distribution, assuming only a finite mean. Its approach rests on a sample-path identity, the system equation (2.8), which writes the number in system of the -server queue through quantities of an infinite-server queue fed by the same arrivals.
This mission formalizes that identity and the proposition that yields it.
Setting
Fix one realisation of the queue (Reed, §2, p. 6).
- There are servers. At time there are customers; the first are in service, with residual service times , and the other wait.
- Customers then arrive at times (with ); the arrival process is . Arrivals at time are counted in , so in general .
- The -th customer to enter service after time has service time . Service is first come first served, so the first of these are the initial waiting customers and the -th arrival has service time .
- is the waiting time of the -th arrival and that of the initial customer .
- is the service-time distribution, with tail , and the residual service-time distribution, with tail ; both are carried by .
The number in system is (2.2):
Centring each indicator at its (conditional) mean produces the terms
and , the analogous centred sum (2.5) over the customers who entered service after time . is the conditional mean number in a queue fed by the same arrivals.
A sample path is non-idling if for every
that is, the customers waiting at time are exactly those who have arrived and not yet entered service. This holds for every first-come-first-served -server path that never idles a server while a customer waits; the paper uses it at the start of the proof of Proposition 2.1 (p. 8).
Formalization targets
Goal: the system equation (2.8), p. 9
For a non-idling sample path and every ,
Milestones
- The first two equalities of the proof of Proposition 2.1 (p. 8): .
- The "reverse argument" of the proof (p. 9): .
- Proposition 2.1 (p. 8): for a non-idling path and ,
- The decomposition (2.7) (p. 7): .
Significance
The result. Equation (2.8) is the paper's starting point for both of its limit theorems. Writing with shows that the number in system is the image of the infinite-server quantities under the regulator map of the paper's §3, the unique solution of . The fluid limit (Theorem 4.1, p. 12) and the diffusion limit (Theorem 5.1, p. 23) then follow from limit theorems for the infinite-server terms and the continuity of that map. Without (2.8), the -server queue has no closed equation in terms of quantities whose limits are known.
Formalizing it. The identity is proved in the paper on pp. 7–9; to our knowledge it has not been machine-checked. This mission produces a sample-path model of the queue (initial customers, arrivals, FCFS service order, waiting times) together with the decomposition of its number in system, reusable for other many-server results stated pathwise. The limit theorems 4.1 and 5.1 themselves are weak-convergence statements in the Skorohod space and are not part of this mission; the regulator map (Proposition 3.1) is the subject of a separate mission of this series.
Difficulty
The decomposition (2.7) is bookkeeping. The content is Proposition 2.1, which converts a sum over customers of tail differences into an integral, against , of the number of waiting customers at earlier times. The step that needs care is the change of viewpoint from "customer 's service time falls in a window of length " to "customer is waiting at time ", after which the sum over customers must be recognised, at each time , as the waiting count of the non-idling identity, with the arrivals counted up to rather than . A second point is the treatment of an atom of at : the half-open windows and the closed integration range must match, and for is used whenever a customer is still waiting.
Formalization scope
- Paths are data, not random. A sample path is a structure holding , and the sequences , indexed from as in the paper. The arrival times are primary and is their counting function; for a counting process with this is the same data as the paper's . The encoding has infinitely many arrivals, finitely many in each bounded interval.
- Distributions are probability measures (for ) and (for ) on with no mass on , and for every real . The paper's i.i.d. assumptions and the mean- assumption on are not used by these pathwise identities and are omitted.
- Integrals are over the closed interval , an atom of at included; , a Stieltjes integral against the counting measure of arrivals, is the finite sum .
- Non-idling is a hypothesis on the sample path, exactly the identity displayed above. No hypothesis mentions (2.8), Proposition 2.1 or an integral against , and is not a free function: it is defined by (2.2). Integrability of is part of what must be proved, not assumed. The hypotheses are jointly satisfiable, so the goal is not vacuous.
- Needed infrastructure: finite sums, set integrals of indicator functions against a finite measure on , and the identity . All of it is in Mathlib.
Related platform items: WhittEfficiency.IS.* (the queue with Poisson arrivals, the infinite-server object behind ) and PalmQueueing.Palm.swiss_army_formula (a pathwise queueing identity of Palm calculus) are the nearest queueing results; neither is the object of this mission.
Selected references
- J. Reed, The G/GI/N queue in the Halfin–Whitt regime, Ann. Appl. Probab. 19(6), 2009, 2211–2269. arXiv:0912.2837v1. https://arxiv.org/abs/0912.2837 , https://doi.org/10.1214/09-AAP609
- S. Halfin and W. Whitt, Heavy-traffic limits for queues with many exponential servers, Oper. Res. 29, 1981, 567–588. https://doi.org/10.1287/opre.29.3.567 (MR629195)
- A. A. Puhalskii and M. I. Reiman, The multiclass GI/PH/N queue in the Halfin–Whitt regime, Adv. Appl. Probab. 32, 2000, 564–595. https://mathscinet.ams.org/mathscinet-getitem?mr=1778580