Large Model Service Outages: Causes and Resilience Architecture Practices
This article examines why online large language model services return "server busy" errors during traffic spikes or dependency disruptions, using a partial outage lasting about 1 hour and 49 minutes as a generic engineering case. It breaks down the user request path, explains the bottlenecks behind LLM inference overload, and shows how to build observability with queue latency, TTFT, and bucketed metrics. It then covers fault tolerance and graceful degradation, capacity and elasticity planning, incident drills and postmortems, and a practical developer checklist for keeping services observable, degradable, scalable, and recoverable.
1. Incident Breakdown: What a “Partial Outage” Actually Means
One afternoon, some users of an AI coding and chat tool found that their sessions would not return responses, with the interface repeatedly showing “server busy, please try again later.” In the historical events on its public status page, the provider recorded a “partial web/API outage” lasting about 1 hour and 49 minutes, after which the status returned to “all systems operational.”
Three keywords in this description are worth noting for developers:
- “Partial” rather than “complete”: This means the service was not fully unavailable. Instead, certain access methods, certain regions, certain model routes, or a proportion of tenants were affected. Partial outages are often harder to diagnose than full outages, because average monitoring metrics may still look healthy.
- “Web/API” appearing together: This means both the frontend interaction path and the backend call path were affected, usually pointing to a shared dependency (gateway, authentication, quota, model scheduling) rather than a single page issue.
- A clear start and end time: The status page provided an alignable time window, which establishes a baseline for post-incident review, impact assessment, and SLA calculation.
It should be emphasized that this article does not evaluate the product capabilities of any specific vendor. Instead, it abstracts the event into a general engineering problem: how an online large model service can remain predictable, degradable, and recoverable during traffic peaks or dependency jitter.
2. Why Large Model Services Are More Prone to “Busy” Messages
The bottlenecks of traditional web services are usually CPU, memory, and database connections. Online inference of large models has more complex bottlenecks, mainly combining the following:
- GPU memory and batch scheduling: Inference requests need to occupy GPU memory cache. Batch size, sequence length, and concurrency together determine throughput. When the proportion of long-text requests rises, memory fragmentation and queue latency can amplify rapidly.
- Cold starts in elastic scaling: Scaling compute instances is not instantaneous. Loading model weights, warming caches, and running health checks all take time. Traffic spikes are often steeper than the scaling curve.
- Multi-tenant quotas and priorities: When free and paid, internal and external traffic share a resource pool, a small number of abnormal calls can squeeze out overall capacity if there is no clear priority and quota isolation.
- Long-tail request amplification: Generative tasks have high latency variance. A small number of extremely long outputs can occupy slots for a long time, creating head-of-line blocking.
- Long dependency chains: If side dependencies such as authentication, risk control, content safety, logging, and metering jitter, the main path can also appear “busy.”
Therefore, “server busy” is essentially an overload protection signal. It does not necessarily mean the system has crashed; more often, the system is protecting itself. The real capability to build is making this protection explainable, tiered, and recoverable.
3. The User-Side Perception Path: From Click to Timeout
To shorten diagnosis time, first map the journey of a request. A typical chat request goes through:
- Client/web → access gateway → authentication and quota → request orchestration → model scheduling → inference execution → content safety post-processing → streaming response → metering and log persistence.
Jitter in any segment will show up as “busy” on the interface. It is recommended to define independent observability metrics for each hop, rather than only looking at overall success rate:
- Gateway layer: QPS, concurrent connections, 5xx/429 ratio, P95/P99 latency;
- Scheduling layer: queue time, queue depth, batch utilization, slot occupancy;
- Inference layer: time to first token (TTFT), latency per token, generated length distribution, GPU memory level;
- Side layer: authentication failure rate, content safety timeout rate, log write latency.
When the status page shows a “partial outage,” the most valuable action is to slice by dimension: by access method, by region, by tenant, by model specification, by request length. Averages hide problems; percentiles and buckets expose them.
4. Observability: Making “Busy” More Than a Black Box
A reusable minimal metric and log structure is shown below (only illustrating field design, not bound to any specific product interface):
{"trace_id": "b7f2...","route": "chat/completions","tenant_class": "standard","region": "cn-north","queue_ms": 820,"ttft_ms": 1450,"total_ms": 6300,"prompt_tokens": 1800,"completion_tokens": 512,"outcome": "overload_shed","retryable": true}
Additional recommendations:
- Set separate alerts for queue time and time to first token, not only success-rate alerts;
- Count “degraded/throttled” requests separately, as they are the earliest signal of insufficient capacity;
- Establish a time-alignment mechanism between the status page and internal dashboards; external announcements and internal events must come from the same source;
- Keep percentile statistics of request length and generated length as input for capacity planning.
5. Fault Tolerance and Degradation: Turning “Unavailable” into “Available but Limited”
The core of high availability is not never failing, but still providing predictable service during failures. Actionable tiered strategies include:
- Priority queues: Paid/critical business goes first, while low-priority tasks enter a delayed queue;
- Admission control: Limit concurrency at the entrance with a token bucket to avoid internal avalanches;
- Degraded output: Shorten the maximum generation length during peaks and disable non-essential high-cost capabilities;
- Result caching and semantic caching: Reuse results for high-frequency similar requests to cut peak pressure;
- Asynchronous processing: Convert non-real-time tasks into a submit-callback model, using a message queue to smooth peaks;
- Client-side backoff retry: Apply exponential backoff only to retryable errors to avoid retry storms.
A generic client backoff example:
import random, timedef call_with_backoff(fn, max_attempts=3, base=0.5, cap=4.0):for attempt in range(max_attempts):try:return fn()except RetryableOverload as e:if attempt == max_attempts - 1:raisesleep = min(cap, base * (2 ** attempt)) + random.uniform(0, 0.2)time.sleep(sleep)
The key point is: retry only on clearly defined overload errors, and add jitter. Otherwise, clients can amplify local jitter into global congestion.
6. Capacity and Elasticity: Keeping the Scaling Curve Ahead of the Traffic Curve
Capacity planning needs three inputs: historical peak QPS, request length distribution, and generation length distribution. Based on these, you can estimate the required concurrent slots and GPU memory scale, and reserve a safety level (a common practice is to reserve 20%–30% headroom for bursts).
Elasticity recommendations:
- Pre-warming: Perform scheduled scaling and cache warming for predictable peaks (such as on the hour or at the start of an event);
- Metric-driven scaling: Use queue time and time to first token as scaling signals, which are closer to real experience than CPU utilization;
- Isolated resource pools: Separate long-text requests from high-concurrency short requests to avoid mutual interference;
- Continuous load testing: Load test by replaying real traffic distributions, rather than only running average loads.
7. Drills and Postmortems: Compressing 109 Minutes
A partial outage of 1 hour and 49 minutes often exposes not a single point of failure, but slow detection, slow diagnosis, and slow decision-making. It is recommended to establish three-stage goals:
- Detection: Rely on both side metrics and user feedback to confirm the scope of a “partial outage” within minutes;
- Diagnosis: Use bucketed dashboards to lock down the affected dimension (access method/region/tenant/model specification) within about ten minutes;
- Decision: Pre-set degradation switches and announcement templates to reduce the cost of on-the-spot discussion.
During postmortems, stick to “focus on the issue, not the person.” Outputs must be actionable: which metrics to add, which thresholds to adjust, which degradation path to fill in, and who is responsible for acceptance and by when.
8. A Checklist for Developers
- Are separate alerts set for queue latency and time to first token;
- Are retryable and non-retryable errors distinguished, with backoff and jitter on the client;
- Are entrance rate limiting, priority queues, and degradation switches in place;
- Are long-text requests isolated and subject to length limits;
- Is continuous load testing done with real traffic distributions;
- Are the status page and internal events kept from the same source and time-aligned;
- Does the architecture support asynchronous processing and result caching to smooth peaks.
9. Conclusion
“Server busy, please try again later” should not be treated as a meaningless message, but as capacity and resilience feedback from the system. For developers, what needs to be built is not a fantasy of zero failures, but an engineering system that is observable, degradable, scalable, and reviewable. When these capabilities are in place, even if another short partial outage occurs, the business can maintain availability at minimal cost and keep recovery time within a shorter, stable range.
