LLM Service Stability Under High Concurrency: Lessons from a 10-Hour Outage
This article analyzes a 10-hour, two-stage outage that affected the chat entry service of a large model platform. It breaks down likely root causes across the gateway, authentication, context storage, long-lived connection, and scheduling layers, then outlines capacity planning, stateless architecture, multi-zone isolation, canary releases, tiered degradation, fine-grained rate limiting, retry governance, and observability practices. Developers will find a practical checklist for keeping LLM chat entry points stable under peak traffic.
1. Incident Review: What a 10-Hour Outage Reveals
A large model platform experienced a service disruption lasting more than ten hours, from evening peak through the following morning. According to the public status page timeline, the failure had a clear two-stage pattern. The first stage began around 21:35, when the web and mobile chat entry points became unavailable; service briefly recovered about two hours later. The second stage began around 00:20 the next day, when performance degraded again, and it was not marked resolved until 10:33 that morning.
Three details in this timeline are worth repeated attention from developers.
First, the failure was recurring, not a one-off event. A brief recovery followed by a relapse usually means the initial response only addressed the symptoms—for example, restarting some instances or shifting traffic away—without removing the trigger. Once traffic or load crossed the threshold again, the problem naturally returned.
Second, the officially identified affected component was the chat entry service, not a vague “site-wide” outage. This is critical: it narrows the failure scope to the Web Chat Service layer, meaning the conversation entry point for web and mobile clients.
Third, this was not a pre-announced planned maintenance window but an unplanned, continuous failure. Planned maintenance typically has a window, a notice, and traffic pre-draining; an unplanned failure means monitoring detected it late, diagnosis was slow, and the decision chain was long.
The so-called chat entry service covers far more than “a single chat box page.” It includes at least seven subsystems: the entry gateway, identity authentication, session persistence, context read/write, long-lived connection management, regional scheduling, and rate limiting and quota policies. From the moment a user opens the page, completes login, enters a conversation, restores the previous context, and sees content stream out token by token, any slowdown anywhere in this chain leads users to the same conclusion—“the service is down.”
2. Layered Root Cause Analysis: The Failure Is Likely Not in the Model Itself
Calling out the entry layer separately means the official response has already pointed to an investigation direction. Model inference is resource-intensive but relatively self-contained, whereas the entry layer is distributed, stateful, and tightly coupled, with far richer failure modes.
Gateway layer. Typical issues include connection pile-up, unreasonable timeout configurations, and retry storms. When upstream responses slow down, default retries on clients and gateways multiply request volume, creating a positive feedback loop.
Authentication and session layer. Once token validation or externalized session state becomes a hotspot, all requests queue at the same place. If session state sits on a single node or on storage with significant primary-replica lag, jitter is amplified across the whole system.
Context read/write layer. Context in conversational applications grows continuously; long sessions create large keys and hot shard problems. Read amplification during peak hours directly shows up as tail latency spikes.
Long-lived connection management layer. Streaming output depends on a large number of long-lived connections. Connection setup and maintenance overhead, heartbeat and idle-reclamation policies, and per-instance connection limits can all become capacity ceilings.
Scheduling and rate limiting layer. If regional scheduling lacks health awareness, it keeps pushing traffic toward already unhealthy instances. If rate limiting only has a coarse global switch and lacks fine-grained quotas per tenant and per API, it results in one-size-fits-all rejections.
A simplified illustration (showing only the relationship between retries and timeouts, not any specific product interface):
User request -> Entry gateway -> Auth/session -> Context store -> Scheduler -> Inference cluster| | | |timeout 3s timeout 1s timeout 2s queue limit Nretry 2x no retry no retry rejection = fail fast
As long as any intermediate layer’s timeout exceeds the upstream timeout and the retry count is greater than one, the system enters an amplification loop under high load. This is the structural reason the outage took ten hours to converge.
3. Capacity and Architecture: Stopping the Shockwave at the Door
Capacity planning should be based on peak multiples, not averages. Conversational workloads are strongly time-dependent, and evening peaks are often several times the average. A sound approach is to load-test to determine the safe watermark per instance, reserve redundancy based on peak forecasts, and keep an elastic resource pool that can scale out quickly.
Statelessness is the prerequisite for elasticity. The entry gateway and scheduling layer must be stateless, and session and context must be externalized to horizontally scalable storage, to support minute-level scaling.
Multi-availability-zone and cell-based architecture. Partition users by region or hash into independent cells so failures are contained within a cell and avoid global cascading. Within a cell, add multi-AZ redundancy so a single-zone anomaly does not affect the whole.
Dependency tiering. Clearly separate strong dependencies (authentication, entry) from weak dependencies (historical context loading, personalized recommendations), and allow degraded responses when weak dependencies are unavailable.
4. Stability Engineering: Canary, Degradation, and Rate Limiting
Canary release and automatic rollback. Roll out any change to a small percentage first, observe golden signals (latency, error rate, saturation, traffic) before expanding, and roll back automatically when metrics breach thresholds, avoiding “one change, global outage.”
Tiered degradation. Predefine degradation switches, such as disabling non-core context completion, lowering the maximum output length, switching to a smaller-parameter model, or changing streaming output to a single response. Degradation should take effect with one click and support canary rollout.
Fine-grained rate limiting and priority queues. Set quotas by tenant, API, and call source; route paid and high-priority requests through separate queues to ensure the core path is not crowded out.
Retry governance. Use exponential backoff with jitter uniformly on clients and servers, and set a retry budget to avoid retry storms:
backoff = min(base * 2^attempt, cap) + random_jitterif retry_requests / total_requests > 0.1, pause retries and enter circuit breaking
5. Observability and Incident Response: Compressing Ten Hours into Ten Minutes
Metrics, logs, and distributed tracing form the foundation for shortening diagnosis time. The entry layer must carry full-link identifiers, correlating time spent across the gateway, session, storage, and inference segments by request ID.
Alerting should be based on user-perceivable service quality, not machine metrics alone. Trigger alerts when error rate, time to first byte, or success rate falls below thresholds, and pair them with clear runbooks and designated owners.
Incident reviews must produce actionable items. For recurring failures, especially, ask: why did the first mitigation not eliminate the root cause? What was the trigger? How can it be identified within five minutes next time?
6. A Preparation Checklist for the Next Shockwave
For larger-scale traffic and more complex inference workloads, self-check in the following order: whether the entry and scheduling layers are fully stateless; whether session and context storage is horizontally scalable with hotspots addressed; whether timeouts and retries are aligned across the full chain; whether cell-based isolation and multi-AZ redundancy are in place; whether degradation switches cover both core and non-core paths; whether rate limiting is enforced at the tenant level; whether monitoring covers golden signals with automatic rollback; and whether a real failure drill is conducted every quarter.
Stability is not a one-time project but a continuously invested engineering pipeline. Treating the entry layer as a first-class citizen and treating every anomaly as a free audit report of architectural defects is the right way to turn a “ten-hour crash” into capital for the next major version leap.
