LLM Partial Outages: Causes and Stability Engineering Practices
This article examines why partial outages in large language model services are more dangerous than full downtime, using a real platform's incident patterns, availability metrics, and MTTR data as evidence. It explains how peak-hour traffic amplifies limited failures, why a strong MTTR does not guarantee SLA compliance, and how to design fault tolerance with an access layer, retry logic, fallback, and asynchronous processing. It also provides an observability and operations checklist for measuring availability per request rather than by global averages.
1. Why Partial Outages Deserve More Attention Than Full Downtime
A conversational AI and code generation platform recently experienced several service disruptions, prompting a wave of user reports asking whether the service had gone down entirely. From a technical standpoint, the platform was not fully unavailable. This was a classic partial outage: the primary inference service, public APIs, visual understanding, deep thinking, and deep research capabilities were still responding normally, and the real request success rate over the past 24 hours stayed above 99.9%. Only a few high-throughput model versions were partially interrupted.
The danger of this type of failure lies in its invisibility. During a full outage, traffic fails naturally and triggers alerts. A partial outage, by contrast, shows up as timeouts on some instances, errors for some tenants, and a sharp drop in generation speed for long-text requests. If monitoring only collects global averages, the metrics still look healthy while users are already experiencing continuous failures. The first principle of stability engineering is therefore this: measure availability from the perspective of individual requests, not global averages.
2. Timing Patterns: Failures Are Amplified by Peak Business Hours
A review of two recent waves of user reports on this platform reveals a common pattern: the technical duration of each incident was short, but the business impact was amplified by peak hours.
- The first occurred on a weekday afternoon. The disruption was intermittent over a little more than four hours, with about one and a half hours of complete unavailability, during which pages failed to load, connections dropped, and API availability was extremely low.
- The second occurred only a day later, around 9 p.m., when multiple model services experienced severe request processing failures in succession, lasting just over half an hour at most.
Afternoons are peak hours for retrieval, proposal writing, and batch API calls from business systems. Evenings are when developers code and work overtime. This means business impact = technical outage duration × business weight of the time window. The engineering implication is clear: change releases, canary rollouts of model versions, and capacity expansions should proactively avoid peak business windows, and SLOs during peak hours should be set more strictly.
3. Reading the Metrics: A Fast Median, but an Average That Still Falls Short
Over the past 30 days, the platform experienced 46 incidents of varying severity, more than one per day on average. On the worst day, full-day availability dropped to 64.58%, accompanied by a significant decline in response generation speed. There were also cases where the error rate for retrieval requests exceeded 20%, login validation failed, and model response latency rose. The median mean time to repair (MTTR) was about 13 minutes, which looks excellent, yet overall availability over the 30 days was only 96.43%.
This reflects a common misreading of metrics: a strong MTTR does not mean the SLA is met. Availability is a time-weighted result. As long as failures are frequent enough, monthly availability will still be dragged down even if every repair is fast. The error budget can be estimated roughly as follows:
Total monthly time = 30 × 24 × 60 = 43200 minutes99.9% target allowed downtime ≈ 43.2 minutes/month99.95% target allowed downtime ≈ 21.6 minutes/monthActual 96.43% downtime ≈ 1543 minutes/month
The conclusion is that the focus must shift from “repairing quickly” to “failing less often”, and governance must move upstream to change control and failure prevention.
4. Architecture: Keeping External Model Dependencies from Becoming a Single Point of Failure
For consumers of these services, rather than expecting upstream providers to never fail, it is better to build fault tolerance into your own system. A four-layer design is recommended:
- Access layer: A unified gateway handles authentication, rate limiting, retries, and logging instrumentation, keeping call details out of scattered business code.
- Fault tolerance layer: Distinguish retryable errors (timeouts, connection resets, rate limiting) from non-retryable errors (invalid parameters, content compliance rejections), and apply exponential backoff retries only to the former.
- Fallback layer: When the primary model is unavailable, switch to a backup model or a rule-based fallback response to keep the pipeline responsive.
- Asynchronous layer: Move time-consuming tasks such as long-text generation and deep research to a message queue for asynchronous processing, with the frontend polling or subscribing to results, so that a dropped long-lived connection does not propagate directly to the user.
Illustrative circuit breaker and fallback logic:
def call_model(req):if breaker.is_open():return fallback(req) # Fallback: cached answer / lightweight model / template responsetry:resp = client.invoke(req, timeout=8)breaker.record_success()return respexcept RetryableError:breaker.record_failure() # Enter half-open probing after consecutive failures reach the thresholdreturn fallback(req)
It is also important to establish multi-provider and multi-version redundancy, making the model identifier a configuration item rather than a hard-coded value, so that switching becomes a configuration push rather than a new release.
5. Observability and Operations Checklist
- Metrics: Track success rate, time to first token, and generation speed separately by model, by tenant, and by API, and never rely on global averages alone.
- Alerts: Run error rate, P99 latency, and rate-limit rejection counts in parallel, with dynamic thresholds tuned for peak business hours.
- Logging and tracing: Use a unified trace_id across the gateway and business services to quickly determine whether an issue originates upstream or from your own rate limiting.
- Drills: Perform fault injection and fallback drills regularly to verify that fallback paths actually work.
- Reviews: Produce monthly stability reports based on error budget consumption to drive capacity and architecture improvements.
6. Conclusion
Frequent but quickly repaired partial outages are a typical state for large model services during a period of rapid expansion. For developers and enterprise users, the rational response is not to wait for upstream perfection, but to incorporate retries, circuit breaking, fallback, asynchronous processing, and multi-active redundancy into the standard architecture, using engineering practices to isolate external uncertainty from the business.
