LLM Service Outage Postmortem: A 10-Hour Cascading Failure and How to Build Resilience

    This postmortem breaks down a nearly 10-hour large language model service outage that spread layer by layer from the access layer to authentication, inference, and model routing. It reconstructs the timeline using server-side metrics, traces how an infrastructure failure penetrated the application layer, and presents architecture and response improvements such as cell-based fault isolation, multi-region active-active setups, circuit breaking with retry budgets, multi-backend model routing, and independent observability. Readers will find practical guidance on client-side safeguards, drills, and resilience metrics to turn a full outage into a partial degradation.

    1. Event Overview: A Typical Cascading Service Outage

    In early March 2026, an AI platform experienced a widespread service outage lasting nearly ten hours. The failure was not a single point but spread layer by layer along the path of access layer → authentication chain → inference service → model routing. First, the web app, developer console, and intelligent coding tool all saw error rates spike at the same time. Then a large number of API endpoints failed. Next, the primary large model produced concentrated errors. After the team applied an emergency fix, the system state fluctuated several times, and another lightweight model ran into problems late at night. Full recovery did not come until the early hours of the next day.

    From an engineering perspective, this type of event has three key characteristics:

    • Mismatch between symptoms and root cause: It was initially judged to be an ordinary login/logout path anomaly, and the investigation was locked onto the user session layer, while the real root cause lay in lower-level compute and network dependencies.
    • Failure domain crossing tenant boundaries: After a fire broke out in an underlying data center and power was cut, the impact was not limited to a single platform; multiple services in the same region fluctuated simultaneously.
    • Non-linear recovery: The repeated state changes show that the system lacked a clear “degraded steady state.” When dependencies had not fully recovered, retries and traffic backflow breached not-yet-recovered resources a second time.

    2. Timeline Reconstruction: Turning “Chaos” into Analyzable Data

    The first step of any postmortem is always to establish a unified timeline, and it must be anchored primarily on server-side metrics rather than user feedback. It is recommended to collect at least the following dimensions:

    1. Error rate, P99 latency, and timeout ratio for each access entry point;
    2. Success rate of the authentication and token validation chain;
    3. Queueing time of the inference gateway and number of times the concurrency limit was triggered;
    4. Backend weights and failure distribution at the model routing layer;
    5. Health status changes on the dependency side (compute region, network availability zone).

    The illustrative timeline structure is as follows (pseudocode, only expressing the recording method):

    1. timeline = [
    2. {"t": "T+0m", "scope": "web/console/ide-plugin", "symptom": "5xx spike", "action": "investigate session chain"},
    3. {"t": "T+41m", "scope": "api-gateway", "symptom": "partial endpoint failures", "action": "scale out + rate limit"},
    4. {"t": "T+2h46m","scope": "primary-model", "symptom": "concentrated errors", "action": "emergency fix"},
    5. {"t": "T+4h06m","scope": "lightweight-model", "symptom": "errors rebound", "action": "shift traffic to backup pool"},
    6. {"t": "T+9h27m","scope": "all", "symptom": "metrics stabilize", "action": "gradually backfill traffic"},
    7. ]

    With a timeline in place, you can answer the three most valuable questions in a postmortem: At which layer did the failure begin? Which change or external event was the turning point? Which recovery action actually made the metrics converge?

    3. Root Cause Analysis: How Infrastructure Risk Penetrates to the Application Layer

    According to an external report, a data center operated by a cloud provider in the Middle East was struck by an unidentified object, causing sparks and a fire. The fire department cut the power, and an availability zone (with a code name shaped like xxx-az2) was damaged. Restoring connectivity took several hours, while other availability zones in the same region remained operational. The lesson for upper-layer applications is: availability-zone-level disaster recovery does not equal region-level disaster recovery, and region-level disaster recovery does not equal “business can continue.”

    Risk penetration usually follows four paths:

    • Compute path: The hosts running inference instances lost power, instances became unavailable in batches, and cold starts and image pulls further amplified latency amid congestion.
    • Network path: Cross-zone call bandwidth was constrained, long connections were reset, and retry storms pushed up queueing across the entire chain.
    • Dependency path: Sidecar services such as authentication, quota, metering, and logging, if deployed in the same domain as the primary compute, failed simultaneously.
    • Cognitive path: If the monitoring dashboard itself is deployed in the same failure domain, an observation blind spot of “not being able to see the failure” appears.

    4. Architecture Improvements: Turning Uncontrollable Risk into Measurable Resilience

    1. Cell-Based Architecture and Fault Domain Isolation

    Split access, authentication, inference, and routing by cell, with closed loops inside each cell and no synchronous cross-cell dependencies. When a single cell fails, the impact is confined to a fixed proportion of traffic.

    2. Multi-Region and Multi-AZ Active-Active

    • Control plane (configuration, release, quota) is redundant across regions to avoid a single-region control plane failure making the whole system inoperable;
    • Data plane is distributed across regions by weight, with a preset “one-click weight reduction” switch;
    • Define RTO/RPO explicitly and validate them with manual drills, rather than leaving them only in documentation.

    3. Circuit Breaking, Rate Limiting, and Bulkhead Isolation

    Set concurrency bulkheads and queue limits for model calls to prevent slow requests from dragging down the entire gateway:

    1. resilience:
    2. circuit_breaker: {error_rate: 0.3, window: 30s, open: 60s, half_open_probe: 5}
    3. bulkhead: {max_concurrent: 200, queue: 50, reject_strategy: fast_fail}
    4. retry: {max_attempts: 2, backoff: exponential, jitter: true, budget_ratio: 0.1}

    The key is the retry budget: when the global retry ratio exceeds the threshold, stop retrying immediately to prevent “the more you retry, the more unavailable it becomes.”

    4. Multi-Backend Fallback for Model Routing

    Abstract models of different sizes and versions into a unified inference interface, and have the routing layer dynamically adjust weights by health. When the primary model is abnormal, automatically switch to the lightweight model to ensure “capability degradation but service availability.”

    1. def route(req, backends):
    2. for b in backends.weighted_by_health():
    3. if b.capacity_left() and b.latency_p99 < req.slo:
    4. return b.invoke(req)
    5. return fallback.reply(req) # Fallback: queue prompt or simplified capability

    5. Observability and High Availability of Observability Itself

    The metrics, logs, and alerting chain must be deployed across failure domains, and an “out-of-band channel” (independent network and independent account system) must be retained to ensure that operations and observation are still possible when the primary path is unavailable.

    5. Incident Response: Compressing Ten Hours into Minutes

    • Tiered playbooks: Bind fixed action checklists by impact scope (single AZ / single region / global) to avoid on-the-spot discussion.
    • Single command and fixed cadence: Set up an incident commander and synchronize status at fixed intervals to reduce information noise.
    • Change freeze: Prohibit non-essential releases during the incident to prevent overlapping changes from masking the root cause.
    • Backfill strategy: During recovery, use small-step ramp-up (e.g., 5% → 20% → 50% → 100%), with an observation window and automatic rollback conditions at each step.
    • External communication: Update the status page and developer announcements in sync, clarifying the impact scope, mitigation measures, and estimated time to reduce secondary pressure from blind client retries.

    6. Client-Side and Business-Side Self-Rescue Design

    Beyond platform-side resilience, callers also need engineering safeguards:

    1. Exponential backoff with jitter, respecting the rate-limiting and retry hints returned by the server;
    2. Idempotency key design for requests to avoid duplicate billing or duplicate writes caused by retries;
    3. Local caching and result reuse to provide offline availability for non-real-time scenarios;
    4. Multi-provider or multi-region access abstraction, switchable at the configuration layer rather than requiring code changes;
    5. Degraded user experience, such as queue prompts, asynchronous tasking, and later result push.

    7. Drills and Metrics: Resilience Must Be Continuously Validated

    It is recommended to include the following metrics in routine assessment: fault injection coverage (by failure domain), mean time to detect (MTTD), mean time to recover (MTTR), degradation trigger accuracy, retry amplification factor, and cross-region switchover time. Execute at least one region-level power-cut drill and one dependency-flapping drill per quarter, and write the drill conclusions back into the playbooks and capacity planning.

    8. Conclusion

    This nearly ten-hour outage shows that in an AI service system that depends on public cloud infrastructure, single-point redundancy is no longer enough to support the promised availability. What truly determines recovery speed is whether fault domains are clearly divided, whether degradation paths exist in advance, whether retries are controlled, and whether observability is independent. Only by precipitating these capabilities into engineering standards that can be drilled and measured can a “full-scale strike” be converged into a “partial degradation” under unpredictable external shocks.