Partial Outages vs. Full Crashes: How to Assess and Improve LLM Service Stability
When many users report failed page loads, request errors, and dropped connections at the same time, it looks like a "service crash" — but in most cases it is the concentrated exposure of a localized fault in one link or resource pool. For AI model services, answering "what is the current status" requires more than checking whether the homepage loads: you need to look at core request success rates, error code distribution, P95/P99 latency, feature-level availability, dependency health, and recent change records. A platform's primary service can be largely healthy while a high-speed channel, authentication path, code generation endpoint, or search-type requests remain partially degraded. These localized failures often hurt user experience longer than a brief full outage.
Why “Is It Down?” Is the Wrong Question
When users say a service is “down,” they may be describing very different symptoms: pages that won’t load, requests that hang, APIs returning errors, connections being reset, or tasks stuck in long queues. These can stem from entirely different technical causes: gateway rate limiting, authentication service issues, scheduling queue backlog, overloaded inference instances, storage or cache dependency jitter, network partitions, or defects introduced by a release.
A binary “up or down” judgment easily misreads a localized fault as a global incident — and just as easily lets teams skip root-cause analysis once things recover.
A more meaningful status assessment should cover at least four dimensions:
- Core path success rate: measured per API, model type, tenant, and region — not just as a global average.
- Latency percentiles: averages hide long tails. P95/P99 better reflect real experience during peak periods.
- Error code structure: timeouts, rate limiting, service unavailability, parameter errors, and dependency failures should be tracked separately. Retryable and non-retryable errors call for different handling strategies.
- Feature-level status: capabilities such as high-speed channels, long context, code generation, and vision understanding may share some infrastructure while degrading independently.
“Primary service is healthy” and “some features are partially down” can both be true at once. Developers should assess availability with end-to-end probes along their actual call paths, rather than relying on a single page or a single request.
Why Frequent Short Outages Hurt Productivity Tools Most
In casual chat scenarios, a ten-minute outage is a minor inconvenience — users retry later and move on. But when a platform is used to write code, research topics, generate deliverables, or serve production APIs, stability expectations rise sharply. A request failing mid-coding-session, a business API going down during afternoon work hours, or a task queue backing up at evening peak — even if each incident recovers quickly, repeated occurrences will make teams reluctant to hand over critical workloads.
The key concepts here are availability windows and error budgets. Availability is typically expressed as:
Monthly availability = 1 - downtime minutes / total minutes in month
As a common reference: 99.9% monthly availability allows roughly 43 minutes of downtime; 99.95% allows about 21 minutes; 99.99% allows about 4 minutes. A single outage of ten-plus minutes seems short, but several such incidents in a month will quickly exhaust the error budget. Worse, outages concentrated in working peak hours amplify business impact: the same ten minutes costs far more at 2 p.m. than at 3 a.m.
Fast recovery demonstrates incident response capability — but it does not substitute for the stability capability of “failing less often.” Median time to recovery, incident frequency, blast radius, peak-hour share, and repeat root-cause ratio should all be part of a stability assessment. A platform with very short average recovery times but frequent anomalies and recurring localized faults will still feel unreliable to users.
Platform-Side Governance: Observability, Isolation, and Degradation
Platform stability is not a single-point capability but a closed-loop system.
1. Build business-oriented observability.
Monitoring should not stop at host CPU and memory. Build golden signals around the request path: latency, traffic, errors, and saturation. Metrics should support drill-down by model type, API, tenant, region, and version; logs should be correlated by request ID; tracing should pinpoint each stage across gateway, scheduling, inference, and dependency calls. Synthetic probes can simulate real call paths and surface localized anomalies before users start reporting them. General-purpose infrastructure — such as the logging, monitoring, and container services offered by cloud providers like Baidu AI Cloud — can serve as the foundation for observability and elastic scheduling. But tools alone do not create stability; metric definitions, alert thresholds, and drill processes are what matter.
2. Plan capacity and isolate resources.
Peak capacity should not be sized on average load — it must account for P95/P99 request volume and queue depth. Different models, tenants, and priority tiers should be isolated into separate resource pools so a single hot tenant cannot drag down shared queues. Use separate queues for long tasks and short requests, reserve capacity for high-priority workloads, and apply watermark-based rate limiting and backpressure on traffic spikes to prevent retry storms from amplifying the failure.
3. Roll out changes gradually.
A large share of incidents are change-related. Releases should use canary deployment, progressive rollouts, batch traffic shifting, and automatic rollback; configuration changes likewise need validation and audit trails. Schedule high-risk changes away from peak hours and prepare rollback scripts and data compatibility plans. Run capacity load tests and fault injection before release, and watch key error codes and latency percentiles after release — not just whether instances are alive.
4. Design degradation, circuit breaking, and rate limiting.
Non-core features should be degradable — for example, disabling low-priority enhancements during peak hours to protect the core generation path. Callers must avoid unbounded retries; the platform should circuit-break on unhealthy dependencies and recover via half-open probing. Rate limits should differentiate by tenant, API, and priority so one misbehaving caller cannot fill the queue. Degradation strategies must be defined and rehearsed in advance — never improvised during an incident.
5. Close the loop on incident response and review.
Alerts should be tiered, on-call ownership explicit, and status updates should state impact scope, current progress, and temporary workarounds. After recovery, review the root cause, impact duration, detection method, mitigation actions, and prevention items. Repeat root causes should enter dedicated remediation tracks — not end at “fixed.”
Developer-Side Integration: Never Assume 100% Availability
For developers and enterprise teams depending on model services, stability is not only the platform’s responsibility — it also depends on the integration architecture.
1. Set sensible timeouts and retries.
Timeouts should cover connection, read, and total elapsed time. Retry only idempotent requests and retryable errors, using exponential backoff with random jitter, with a cap on total retries and total time budget. For non-idempotent operations, use idempotency keys or deduplication tables to prevent duplicate submissions.
2. Apply circuit breaking and fallbacks.
When error rates or latency exceed thresholds, open the circuit breaker briefly and route traffic to caches, queues, async compensation, or backup paths instead of letting requests pile up. A fallback path might be a backup region, an alternative model type, or a lighter degraded capability — but it must be validated ahead of time.
3. Go asynchronous where possible.
For long-running generation tasks, don’t hold a synchronous connection open. Submit tasks and poll status or receive callbacks; smooth batch workloads through queues, and implement checkpoint-and-resume plus compensation for failed tasks.
4. Define business-side SLOs.
Record error codes, latency, request IDs, and business outcomes for every call, and set tiered SLOs per API. Critical business paths should have end-to-end probes, with availability dashboards covering the last 24 hours and 30 days. That way, when the platform shows a localized anomaly, the team can quickly assess impact instead of waiting for user complaints.
Example pseudocode:
function callModel(request):for attempt in 0..maxRetries:if circuitBreaker.isOpen():return fallback(request)try:response = gateway.invoke(request, timeout=requestTimeout)if response.ok:circuitBreaker.recordSuccess()return responseif not isRetryable(response.error):breakcatch TimeoutError:passsleep(backoff(attempt) + randomJitter())circuitBreaker.recordFailure()return fallbackOrRaise(request)
The point of this logic is not specific parameters but the principles: controllable timeouts, bounded retries, stateful circuit breaking, and rehearsed fallbacks.
How to Answer “What’s the Current Status?”
When asked whether the service is down, respond in this order:
- Is the core service healthy? Have core API success rates and P99 latency returned to baseline?
- Are localized features still affected? Are high-speed channels, code generation, vision, or research capabilities partially degraded?
- Are incidents concentrated at peak? How are anomalies distributed over the last 24 hours and 30 days?
- What is the recovery quality? Per-incident recovery duration, repeat-failure ratio, and whether root causes are identified.
- How should users work around it? Retry, degradation, off-peak usage, asynchronous processing, or switching to backup paths.
For developers, the real danger is not a known outage but treating frequent short failures as random noise. The deeper a model service is woven into your business, the more stability must be treated as part of the product itself. Fast recovery deserves credit — but only by driving down incident frequency, blast radius, peak-hour share, and recurrence will users trust a platform with critical, long-term work. Platform teams need observability, capacity isolation, change governance, and degradation drills; developers need timeout and retry discipline, circuit breaking, async compensation, and business SLOs. Building both sides together is what turns “is it down?” discussions from emotional reactions into measurable, improvable stability engineering.
