Capacity and Stability Lessons from Large Model Serving Outages

    This article examines why large language model (LLM) inference services often suffer cascading failures during peak load, and how to address them. It reframes user-reported "crashes" as measurable availability degradation, explains how shared infrastructure and retry amplification turn a single disruption into a multi-model outage, and outlines capacity planning and stability practices such as request tiering, rate limiting, circuit breaking, observability, canary releases, and clear user communication.

    In recent years, users have repeatedly reported service disruptions from an AI assistant: rising request failure rates during certain periods, an unavailable login flow, and multiple model versions returning errors within a short window. Laid out on a timeline, the problem does not look like a single point of failure. It looks more like a shared infrastructure layer reacting under pressure and triggering a chain reaction. Setting aside the specifics of any one product, this article looks at such incidents from the architectural perspective of a general-purpose LLM inference service, covering the technical causes and the methods for addressing them.

    1. Abstracting the Symptoms: From “Crash” to Availability Degradation

    What users call a “crash” usually maps to three observable signals in an engineering context: a rise in the request error rate, a sharp deterioration in time to first token (TTFT) and overall tail latency (P99), and timeouts on some paths that trigger retry amplification. The time window in the original reports shows two characteristics. First, the anomalies spanned two calendar days and multiple time periods, which suggests this was not a one-off jitter. Second, multiple model endpoints went down one after another within a very short window, which suggests the failure domains may overlap.

    A shared definition is therefore needed first: availability = successful requests / total requests. It is also important to distinguish “hard failures” (explicit error codes) from “soft failures” (timeouts, truncation, degraded responses). Only once the metrics are clearly defined can the subsequent capacity and dependency analysis rest on a solid foundation.

    2. Why Failures Cascade: Shared Dependencies and Amplification

    An LLM inference service typically consists of an ingress layer, authentication and login, scheduling and queuing, the model runtime, cache and vector retrieval, and logging and monitoring. Multiple model versions often share the same scheduling and storage foundation, which explains why several endpoints can fail within minutes of each other.

    There are four common amplification paths:

    1. Resource contention: long-context requests consume large amounts of GPU memory and compute, stretching the queue time for short requests; after timing out, clients retry, which further worsens the queue.
    2. Dependency propagation: a hiccup in the login or authentication component can make all model endpoints unavailable at once, regardless of the models themselves.
    3. High capacity watermark: when the steady-state watermark is already near the limit, any burst of traffic breaks through the buffer and creates an avalanche.
    4. Stacked changes: releases, scaling operations, and rate-limiting policy adjustments happening at the same time make the failure boundary hard to define.

    The queuing and degradation logic can be expressed schematically like this:

    1. def handle(request, limiter, breaker, queue):
    2. if breaker.is_open():
    3. return degrade(request) # Fail fast to avoid a retry storm
    4. if not limiter.acquire(request.tenant):
    5. return reject(429) # Rate-limit at ingress to protect the backend
    6. try:
    7. return queue.submit(request, timeout=8)
    8. except TimeoutError:
    9. breaker.record_failure()
    10. return degrade(request)

    The key point is “fail fast + bounded queuing + explicit degradation,” not unlimited retries.

    3. The Capacity Perspective: Why LLMs Run Tight More Easily

    Unlike traditional stateless services, the unit cost of an inference service is determined jointly by parameter size, context length, and concurrency. The longer the context, the greater the pressure on GPU memory and bandwidth; the higher the concurrency, the more complex queuing and batch scheduling become. If there is no lightweight tier of models to absorb high-frequency short requests, the heavyweight models get occupied by large numbers of simple tasks, dragging down overall throughput.

    Capacity planning therefore involves three steps:

    • Tiering: classify requests by complexity, routing simple tasks to a lightweight tier and complex tasks to a heavyweight tier;
    • Rate limiting: set quotas by tenant and by endpoint to prevent a single caller from crowding out global resources;
    • Load testing: apply stepped load using a context-length distribution close to real traffic to find the inflection point rather than the average.

    4. A Stability Checklist

    1. Observability: collect error rates, latency percentiles, queue length, GPU memory, and batch hit rate in a unified way, and build dashboards with two dimensions, by model and by tenant.
    2. Alert tiering: distinguish “single-endpoint jitter” from “shared-dependency anomalies,” and escalate the latter directly to high priority.
    3. Circuit breaking and isolation: apply bulkhead isolation across different model endpoints so one endpoint cannot drag down the whole system.
    4. Canary and rollback: release model weights, inference configuration, and rate-limiting policies separately so each can be rolled back independently.
    5. Degradation plans: provide fallback paths such as cached results, trimmed context, and switching to a lightweight tier, along with clear user-facing notices.
    6. Capacity redundancy: reserve burst buffer and regularly rehearse scaling and dependency fault injection.

    5. User Communication and Expectation Management

    Beyond recovery on the technical side, transparency on the status page matters just as much: clearly stating the impact scope, start time, current progress, and workarounds can significantly reduce repeat inquiries and retry traffic. For developer users, it helps to provide error-code semantics and a recommended retry strategy (exponential backoff plus jitter) so that clients do not become an amplification source.

    Conclusion

    Cascading anomalies across multiple inference models within a short window are usually, in essence, a chain reaction of a shared foundation under a high watermark, rather than an isolated defect in one model. Making tiered routing, rate limiting and circuit breaking, observability, and canary rollback default capabilities is what keeps the overall system available when traffic peaks and version iterations overlap. For consumers of these services, understanding error codes and retry boundaries is likewise part of building a stable application.