High Availability for LLM Inference: Lessons from the March 29 Service Disruption

    This article reviews a multi-day service disruption at a large model platform in late March 2026 and examines the engineering issues it exposed for LLM serving. It analyzes why LLM inference is harder to scale than traditional web services, especially due to KV cache memory pressure, fragmentation, and request scheduling. It then outlines practical architecture options: capacity planning, ingress queuing and elastic scaling, continuous batching and inference engine tuning, exact and semantic caching, and the need for monitoring, alerting, and failure drills. The parameters are presented as starting points that must be adjusted for the model, hardware, and load-test results.

    1. Event Review: What the Consecutive Disruptions Revealed

    Around March 29, 2026, a large model platform experienced service anomalies of varying severity over three consecutive days. Users frequently saw “server busy” or no-response messages on both the web and mobile app, and related discussions briefly trended on social media. The platform completed a fix on the evening of the first day, but recurrences appeared on the second and third days.

    According to public information available during the incident, the longest single interruption lasted more than ten hours. Specific time windows and statistical definitions should be based on the official status page; this article does not make additional estimates.

    From an engineering perspective, the value of such incidents lies in the common problems they expose. Traffic peaks for LLM services differ from those of ordinary web services. Once traffic exceeds capacity, the problem often manifests directly as an inference cluster unable to accept new requests. Online services serving large user bases usually target 99.9% availability or higher, with specific targets governed by the service-level agreement.

    2. Pain Point Analysis: Why LLM Inference Is Harder to Scale

    Traditional web service bottlenecks often appear in CPU or network bandwidth. LLM inference is more often limited by GPU memory and request scheduling.

    First, memory capacity and fragmentation. Each active generation session must maintain a KV Cache to store computed attention intermediate results. Its footprint grows with context length, and long conversations continuously consume GPU memory. Requests with the same prefix, such as the same system prompt, can theoretically share part of the cache, but without a corresponding management mechanism, they will occupy memory redundantly. A more common problem is fragmentation: total GPU memory may still appear to have free space, but the free blocks are scattered and cannot provide contiguous space for a new request, ultimately triggering an OOM (out-of-memory) error or rejecting new requests.

    Second, queuing and scheduling. LLMs generate output token by token, and request latency varies widely. With a simple FIFO (first-in, first-out) queue, a long-output request can occupy compute resources for a long time while later short requests wait. The longer the queue, the higher the tail latency. When wait time exceeds the client timeout threshold, users retry, and retries further increase load, eventually creating an avalanche.

    Scheduling strategies can be considered as follows:

    • FIFO: Simple to implement and suitable when request lengths are similar. Long requests slow down short ones.
    • Priority queue: Short requests or high-priority users are processed first. It is necessary to prevent low-priority requests from starving.
    • Continuous batching with fair scheduling: Dynamically insert requests at token granularity and set a maximum wait time for each request. This approach balances throughput and fairness but has the highest implementation complexity.

    3. Architecture Optimization: Executable Practices and Parameters

    The following parameters are starting values and need to be adjusted based on your own model, hardware, and load-test results.

    3.1 Capacity Planning

    First estimate peak demand. A commonly used formula is: required GPUs = peak requests per second × average output tokens ÷ stable output throughput per GPU (TPS). On top of this, reserve about 30% redundancy. Load testing should use a real request-length distribution; fixed-length synthetic requests tend to produce overly optimistic conclusions.

    3.2 Elastic Compute Pools and Traffic Peak Shaving

    Deploy a message queue or gateway queue at the ingress layer. Suggested parameters:

    • Maximum queue length: Determined by the acceptable backlog per instance. Once exceeded, return a queuing notice directly and stop accepting more requests.
    • Queue timeout: Set to the time to first token that users find acceptable, with a common starting point of 10 to 30 seconds.
    • Degradation strategy: When the queue is too long, switch to a smaller model, or return a short reply and explain the reason on the frontend.

    For autoscaling, HPA can use GPU utilization as a metric. For example, scale out when utilization exceeds 70% for two consecutive minutes, and set the scale-in cooldown to around ten minutes to avoid repeated instance starts and stops.

    3.3 Inference Engine Optimization

    Enable Continuous Batching to dynamically insert new requests during generation and improve GPU utilization. At the same time, adjust the following parameters:

    • Maximum concurrent sequences: Controls the number of requests running simultaneously. Setting it too high squeezes GPU memory; setting it too low wastes compute.
    • GPU memory reservation ratio: The proportion of GPU memory reserved for KV Cache. Many frameworks default to around 0.9, and it needs to be adjusted according to actual memory headroom.
    • PagedAttention block size: Smaller blocks reduce fragmentation, but management overhead increases.

    Specific parameter names and defaults depend on the inference framework and its version; refer to the corresponding documentation.

    3.4 Multi-Level and Semantic Caching

    For high-frequency repeated requests, you can add an exact cache at the gateway layer and a semantic cache at the inference layer. Semantic caching uses vector similarity to determine whether two questions are equivalent, and the similarity threshold can start at 0.9. If the threshold is too low, questions with different intents may be judged as the same and return an incorrect answer. Therefore, before launch, use a batch of human-labeled request pairs for offline validation, measure the false hit rate, and open the cache only after confirming that the rate is acceptable.

    Caches must have an expiration time, and the model version number must be included in the cache key. After a model upgrade, old caches should be invalidated as a whole. Content involving user privacy needs to be isolated in the cache by user or tenant.

    4. Defense Mechanisms: Monitoring, Alerting, and Failure Drills

    4.1 Metrics

    In addition to CPU,