LLM Platform Outage Post-Mortem: A 10-Hour Web Chat Service Failure

    This post-mortem examines a 10-hour outage on an AI assistant platform, where the failure was isolated to the Web Chat Service rather than the inference backend. It breaks down what the Web Chat Service includes, explains why a brief recovery followed by a relapse is the most dangerous signal, and outlines the platform engineering work required to prevent a repeat: capacity planning and load testing, statelessness and externalized state, layered rate limiting with graceful degradation, end-to-end observability, and failure drills. A pre-release checklist for the next model launch is included.

    1. What Actually Happened: A Stretched “Click to Chat” Path

    An AI assistant platform experienced a service disruption lasting more than ten hours, from the evening into the next morning. According to the official status page timeline, the web and mobile chat entry points began failing around 9:30 p.m., briefly recovered a little over two hours later, degraded again in the early morning, and were not marked resolved until around 10:30 a.m. the next day.

    Two details in that timeline stand out.

    First, the affected component listed by the operator was not a vague “site-wide outage” but the Web Chat Service — the chat entry layer for web and mobile. Second, this was not a pre-announced maintenance window but a recurring failure: a short recovery followed by renewed degradation indicates the trigger was never actually removed, only that load temporarily fell.

    If the model is the chef in a kitchen, what failed here was closer to the runner and the front hall. The kitchen was still serving dishes, and the inference capability on the API side did not collapse systemically, but the entire path from opening the page to seeing an answer was blocked.

    This distinction is critical. Inference resource pressure typically shows up as slower responses, longer queue times, generation that stops midway, or a uniform “busy” message at peak. Entry and session layer failures show up as failed logins, pages that load for a long time, sessions that cannot be established, refreshes that drop the connection, and renewed interruptions after recovery. The root causes, remediation, and capacity models for the two are completely different, and conflating them leads to scaling in the wrong direction — adding more inference cards, with the problem unchanged.

    Since the operator did not disclose a deeper root cause, it is not possible to assert whether content delivery, web application firewall, caching, database, or gateway was the failing layer. But the symptom profile supports a high-confidence structural judgment: the component under the most pressure was not the model but the front-end services responsible for traffic distribution and identity verification.

    2. What the Web Chat Service Actually Includes

    The Web Chat Service typically covers seven subsystems, and degradation in any one of them presents as “chat is unavailable”:

    • Entry gateway: TLS termination, route matching, connection count management, timeouts and retries;
    • Authentication and login: token issuance, validation, refresh, signup and risk checks;
    • Session persistence: session identifiers, sticky routing, externalized state;
    • Context reads and writes: history message persistence, loading of very long contexts;
    • Long-lived connection management: streaming push channel, heartbeats, reconnection;
    • Regional scheduling: nearest-point access, cross-region failover, traffic switching;
    • Rate limiting and quotas: multi-dimensional limits per tenant, per endpoint, and per account.

    A typical incident unfolds in a very similar way: within a certain time window, new session creation, restoration of old sessions, page refreshes, and login validation all spike at once. The first thing pushed to its limit is not the inference cluster but the front-end services that distribute traffic and verify identity. These are usually a combination of short-lived connections, strong state, and write amplification, making them the most likely to form a queuing avalanche under a traffic spike.

    3. Why “Recovered Once, Then Relapsed” Is the Most Dangerous Signal

    A brief recovery is often misread as self-healing. A more likely explanation is that nighttime traffic naturally fell, pressure dropped below the threshold, and the system looked healthy; then in the early morning a new traffic pattern appeared (batch jobs, users in other time zones, scheduled crawls and retries) and broke through the same weak point again.

    This is a reminder that capacity problems cannot be judged by averages alone — you must look at spike shape and amplification factors:

    • Retry amplification: retries at both the client and the gateway can multiply 1x traffic into several times that;
    • Front-end polling amplification: page refreshes and session recovery stack on top of polling, multiplying write requests;
    • Long-context amplification: the more context a single request carries, the greater the pressure on cache and bandwidth;
    • Cold-start amplification: newly scaled instances need to warm caches and connection pools, and are actually slower at first.

    4. Platform Foundation Plan

    1. Capacity Planning and Routine Load Testing

    Work backward from “peak concurrent sessions × per-session request rate × amplification factor” to derive entry-layer QPS and connection counts, and reserve 1.5–2x headroom. Load tests must cover mixed scenarios rather than a single endpoint:

    1. Scenario A Login spike: login/refresh/validation = 6 : 3 : 1
    2. Scenario B Session recovery: history reads + incremental fetch, 30% long context
    3. Scenario C Streaming output: 100k-level concurrent long connections, 5% heartbeat and reconnection

    2. Statelessness and Externalized State

    Session and context state should be externalized to cache and persistent storage as much as possible, so the access layer can be stateless, horizontally scaled, and have faulty instances removed quickly. Sticky routing should be an optimization only, not a correctness dependency.

    3. Layered Rate Limiting and Graceful Degradation

    Set quotas at three dimensions — gateway, service, and account — and predefine a degradation order: first disable non-core personalization and recommendation slots, then reduce the length of loaded history context, and finally queue non-critical tenants. The core principle is to make the system “slow but available” under overload rather than “entirely unavailable.”

    1. # Example: layered rate limiting and degradation switches
    2. gateway:
    3. global_qps: 50000
    4. per_account_qps: 5
    5. retry:
    6. max_attempts: 1 # suppress retry amplification
    7. backoff: exponential
    8. degrade:
    9. - name: history_short
    10. max_context_messages: 20
    11. - name: non_core_feature_off

    4. Observability and Fault Localization

    Use a unified TraceID across all four segments — gateway, authentication, session, and inference. Metrics should include at minimum access success rate, authentication failure rate, session establishment latency P99, long-connection drop rate, and queue wait time. With segmented metrics, you can determine within a minute whether “the front hall is clogged or the kitchen is slow.”

    5. Drills and Capacity Contingency Plans

    Run fault injection regularly: remove an availability zone, extend dependency timeouts, inject cache invalidation. Turn “how long scaling takes, how long warming takes, how many sessions a switchover drops” into quantifiable numbers and write them into the plan.

    5. Pre-Release Checklist for the Next Model Launch

    • Has full-chain load testing of the entry layer been completed, with the report retained;
    • Is minute-level elastic scaling with a warming mechanism in place;
    • Are there independent degradation switches for the login, session, and streaming segments;
    • Has the stacking of client and gateway retries been suppressed;
    • Is there a fixed template for the status page and user communication;
    • Are stability metrics included in the release admission gate.

    6. Conclusion

    The value of a ten-hour interruption is that it exposes the structural risk of “strong model, weak platform” in advance. For a platform operator, model performance determines the ceiling while engineering stability determines the floor; what users perceive is never a benchmark score but whether they can open the chat box at all. Building the access, session, and scheduling layers into a foundation that is scalable, degradable, and observable is the real prerequisite for absorbing the shock of the next generation of models.