Why LLM Services Hit Compute Limits During Peak Demand

    This article explains why large language model platforms restrict new sign-ups during peak traffic. It shows that concurrency is bounded by compute throughput rather than GPU memory alone, breaks inference into compute-bound prefill and memory-bound decode phases, and describes how platforms manage limited KV cache through tiered retention and eviction.

    1. Why Pausing Sign-Ups Is About Queueing, Not Selling Out

    When a large language model platform pauses new membership sign-ups during peak hours, people often assume the servers simply ran out of capacity because too many users showed up. That explanation is only half right. A more accurate one is that the concurrency ceiling of an inference service is determined by how much compute can be consumed per unit of time. To avoid a collapse in experience for paying users, the platform uses admission control to keep new requests outside the door.

    Understanding this requires one core idea: the bottleneck resource in conversational inference is compute—the effective throughput of accelerator cards—while memory capacity is more of a constraint than the deciding factor. The original text says that the amount of accelerator resources determines how many users can be served simultaneously at peak. In engineering terms, this can be stated more precisely: what determines the peak is the total number of decode steps completed per second, and the number of accelerator cards is only one multiplier in that figure.

    2. A Single Conversation Has Two Distinct Phases

    Large language model inference is usually split into two phases with completely different resource profiles.

    The prefill phase processes the entire user prompt, and the keys and values for all input positions must be computed at once. This phase is compute-intensive: the matrices are large and highly parallel, so accelerator utilization is easy to saturate. The longer the input, the more prefill time grows in a roughly linear fashion.

    The decode phase generates output tokens one at a time. Each step adds the keys and values for only one new position, yet it must read all historical keys and values along with the model weights. This phase is memory-intensive and constrained by memory bandwidth, so the compute units often sit idle waiting for data.

    Putting both phases in the same service instance causes interference: when a long-input prefill task is inserted, every session that is generating output token by token stalls at the same time. This is the direct reason many platforms slow down first and then fail during peak hours.

    The following illustrative scheduling pseudocode shows the trade-off:

    1. # Simplified illustration: only one long prefill task is allowed in the batch
    2. def schedule_step(running, waiting):
    3. batch = running
    4. if prefill_budget_left():
    5. batch += admit_one_prefill(waiting, max_new_tokens=1024)
    6. step(batch) # one forward pass, producing the next token for each session
    7. evict_finished(batch) # release cache immediately for finished sessions
    8. return batch

    3. Why Slightly Less Memory Is Not a Big Problem

    The original judgment holds up in engineering terms because caches in conversational scenarios are disposable.

    Session key-value caches occupy memory, but the vast majority of sessions are one-off: “What’s the weather tomorrow?” or “What happened on a certain date?” Users ask and leave. Even for long conversations, users rarely return to the same session frequently within the same day. So a platform does not need to keep the cache for every active session permanently and can adopt a tiered strategy:

    • Prioritize keeping the caches of sessions that are actively decoding;
    • When memory is tight, evict cold sessions by last activity time;
    • For evicted sessions, offload their context to object storage or a local SSD and reload it when the user returns;
    • If the cache has been completely discarded, run prefill again over the full history, at the cost of that