Chiosa
Machine Learning

A queueing system follows changing capacity in LLM serving

Cap-and-Track: Optimizing LLM Inference Request Dispatch Across Shifting Capacity · arXiv:2611.24891

3 min
Updated

In plain words

Cap-and-Track is a design for sending language-model requests to changing backend capacity. A queue holds work that can wait. A capacity check promptly refuses excess requests, and the dispatcher uses those refusals to adjust how quickly it sends more.

In real-engine replay, requests blocked inside the model server eventually stopped completing within their timeouts. With the cap sending excess work to the queue, completed requests kept flowing. This result covers two request shapes in the tested replay setup.

The research

A fixed rate can leave inference capacity idle or send more work than a backend can accept, while output sizes are unknown in advance. For queued work that can wait, these results suggest dispatch can adapt to capacity signals instead of needing repeated rate retuning.

Cap-and-Track pairs durable priority queues and prompt capacity refusals with a dispatcher that adjusts its sending rate from those refusals.

Replay compared prompt refusal with blocking excess requests inside the server, then tested Track against fixed rates as capacity stayed stable and changed.

Goodput, requests completed within timeout, held with the cap; Track stayed near a fixed rate at stable capacity and followed a capacity cut and restoration.

In production A/Bs, classifier coverage and scores matched with 39 H100s versus 68. On equal zero-shot fleets, the shaper drained shared backlogs a median three hours sooner. These contrasts support capacity-aware dispatch in the tested workloads.

This is one implementation in Meta’s traffic shaper. Replay covered two request shapes on one A100 setup, and production A/Bs covered classifier and zero-shot workloads.

Interactive or agent-session traffic and the proposed scheduler with a shared flex pool were not evaluated; other production observations were not controlled comparisons.

What the evidence shows

  • Fixed rates go stale

    Cap-and-Track is a design for dispatching language-model requests across provider and internal backends. It addresses a moving target: request sizes are uncertain when work arrives, and backend capacity can change with congestion, preemptions or fleet resizing. A fixed sending rate can therefore become too high or too low as demand and capacity shift.

  • Refusal keeps work waiting

    The design pairs a durable priority queue with a capacity check that promptly refuses excess work, so it can wait outside execution for retry. In replay at about twice measured capacity, goodput—the rate of requests completed within their timeout—fell to zero without the cap for both classifier and generative request shapes; with the cap, it held steady. The comparison points to where excess work waits as a decisive factor in that test.

  • Dispatch follows capacity

    At stable capacity, Track’s goodput was 108.5 requests per second per host, between the two fixed-rate results.

    When one replica was removed for 10 minutes, fixed rates based on original capacity drew more refusals, while Track’s refusals fell as it adjusted; it regained full capacity within about five minutes of restoration.

  • Production shows trade-offs

    In a same-traffic production A/B for classifier requests, the shaper served the traffic with 39 H100s, compared with the precursor’s 68, with coverage and scores at parity. On equal-sized fleets for zero-shot work, it drained shared backlogs a median of three hours sooner.

    Together, these comparisons support the design’s use in the reported workloads, while the classifier result also came with longer waits for low-priority work at peak.

  • A bounded conclusion

    The results support the authors’ interpretation that refusal-driven dispatch can follow backend capacity changes without repeated capacity retuning in this implementation. The evidence includes controlled replay and same-traffic A/Bs, alongside observational production windows. Its scope is latency-tolerant queued work on the tested backends and workloads.

Deep

Next paperA pilot helps allocate compute when verifiers err