LLM Service Outage Postmortem: A 10-Hour Incident Breakdown

    This article reviews a 10-hour outage of an AI coding tool's LLM service, where an initial hard failure was followed by a long tail of degraded performance. It explains why large model services are harder to recover, then covers tiered incident response, four layers of observability with a unified timeline, capacity planning with staged degradation, and multi-AZ recovery practices. Readers will find reusable checklists, a severity escalation example, and guidance for enterprise users evaluating LLM service reliability.

    1. Incident Overview: A Typical Long-Running Online Service Outage

    The service status page of an AI coding tool recorded a widespread incident. On the first evening, around 21:35, both the web and mobile clients experienced service anomalies. The team began investigating and marked the issue resolved about 1 hour and 48 minutes later, at 23:23. Then, at 00:20 the next day, a performance anomaly appeared. A fix was deployed at 01:24, but the service was not fully restored until 08:35 the next morning. According to the official status page, the second incident lasted approximately 10 hours and 13 minutes from start to recovery.

    Abstracting the timeline reveals a highly representative pattern: the first failure was “unavailable,” and the second was “available but very slow.” The former is immediately caught by monitoring; the latter tends to oscillate around alert thresholds, which significantly lengthens the time needed to locate the cause. This is the most common structure behind long-running incidents, and it is the core engineering problem this article focuses on.

    Stage Time Nature of the Symptom Engineering Implication
    First anomaly 21:35 Failed requests, unreachable entry point Triggers a P0 response
    First recovery 23:23 Functionality available Root cause not closed out
    Second anomaly 00:20 Performance degradation, rising timeouts Capacity or dependency issue
    Fix deployed 01:24 Change released Observation window begins
    Full recovery 08:35 Metrics back to baseline Roughly 10 hours 13 minutes total

    2. Why Incidents in LLM-Based Services Are Harder to Converge

    Traditional web services have a relatively deterministic request path. Online LLM services add several extra variables, which makes “slow” harder to handle than “down.”

    1. Queueing behavior of inference resources. Inference latency is strongly correlated with batching strategy and context length. Longer inputs and higher concurrency cause queueing delay to rise non-linearly. Under a traffic spike, the system often does not fail outright; it simply slows down overall.
    2. Amplification from long-lived connections and streaming output. Streaming responses keep a single request occupying a connection for longer, so connection pool and gateway concurrency limits are reached more easily, and a local failure spreads globally.
    3. Multi-tier caching and state consistency. Session context, result caches, and authentication state live in different stores. Inconsistency at any layer shows up as “some users can use it, some cannot.”
    4. A longer dependency chain. Any jitter in shared components such as vector retrieval, object storage, message queues, logging, or monitoring and alerting propagates and amplifies along the call chain.

    The core of handling these incidents is therefore not “restart and scale out,” but first determining whether the problem is capacity, dependencies, or a change.

    3. A Reusable Tiered Response Mechanism

    The largest cost of a long-running incident is decision cost. It is advisable to make response levels explicit and to agree on escalation conditions in advance.

    • P0 Unavailable: Core entry-point success rate below 95%. Escalate if it does not recover within 5 minutes, assign an incident commander role, and unify external communication.
    • P1 Severe Degradation: Success rate is normal but P99 latency exceeds 3x baseline. Enter a dual track of observation and diagnosis, and freeze unrelated changes.
    • P2 Localized Impact: A single availability zone or a single tenant is affected. Handle through the normal ticketing flow.

    At minimum, define three roles: the commander (the single decision point), the executor (changes and rollbacks), and the scribe (maintaining the timeline and external status updates). In practice, a great deal of time is lost to “multiple people acting at once and nobody holding the full picture.”

    1. # Escalation policy example
    2. severity:
    3. P0:
    4. success_rate_below: 0.95
    5. escalate_after_min: 5
    6. actions: [freeze_deploy, page_oncall, open_status_page]
    7. P1:
    8. p99_latency_multiplier: 3
    9. escalate_after_min: 15
    10. actions: [freeze_deploy, enable_degradation]

    4. Observability: The Key to Compressing 10 Hours into 30 Minutes

    With only a single “service unavailable” signal, diagnosis is guesswork. Four layers of metrics are needed:

    1. Entry layer: success rate, status code distribution, gateway concurrency and connection counts.
    2. Inference layer: queueing time, batch size, time to first byte, and the distribution of per-request context length.
    3. Dependency layer: error rate, timeout rate, and connection pool utilization for storage and retrieval components.
    4. Change layer: release events, configuration changes, and traffic curves aligned to the same timeline.

    The key practice is a unified timeline. Overlaying release records, scaling records, and alert records on a single chart makes the correlation between most secondary failures and a specific change visible within minutes. Independent alerts should also be set for “slow,” rather than relying only on success rate.

    5. Capacity Planning and Degradation: Giving “Slow” a Controllable Exit

    Capacity must be estimated from both peak concurrency and average context length, with a reserved headroom buffer. More practically, prepare tiered degradation switches that shed load progressively based on user value and request cost:

    1. Normal: full capabilities + long context
    2. Degradation 1: shorter context window, lower sampling length
    3. Degradation 2: disable non-core extended capabilities, keep only basic generation
    4. Degradation 3: queue with a clear estimated wait time, reject new sessions but keep existing ones

    The purpose of degradation is to preserve the success rate and the experience of existing sessions and avoid a full-blown avalanche. All switches must take effect within seconds and support canary rollback.

    6. Disaster Recovery and Restoration: Shortening the Last Mile

    A fix was deployed at 01:24 but recovery did not complete until 08:35, which indicates a long tail between the fix taking effect and capacity being restored. Possible improvements include:

    • Multi-availability-zone deployment, with health checks automatically removing unhealthy nodes;
    • Warm-up and batched scale-out, to avoid a cold start causing secondary jitter;
    • Externalized state, so sessions and caches are not bound to a single instance and context is not lost on restart;
    • Regular failure drills, making rollback, traffic shifting, and degradation scriptable operations;
    • Transparent external status, using a unified status page to sync progress and reduce the extra load from repeated inquiries.

    7. Recommendations for Consumers

    When enterprise users evaluate this kind of service, they can focus on four points: whether there is a clear status-synchronization channel; whether degradation and rate limiting behave predictably; whether multi-availability-zone disaster recovery is in place; and whether there is a postmortem with closed-out improvement items. Architecturally, it is advisable to make timeout and retry handling idempotent on critical paths and to keep a switchable backup capability, avoiding single-point dependencies.

    8. Conclusion

    This roughly ten-hour outage exposed, at its core, insufficient ability to detect and converge “performance-degradation incidents.” Doing four things solidly—tiered response, observability with a unified timeline, tiered degradation, and multi-availability-zone disaster recovery—means long-running incidents no longer depend on luck, but become an engineering problem that is measurable, drillable, and able to converge.