LLM Service Availability Postmortems and Quota Governance
A practical guide to running LLM service postmortems: separating confirmed facts from inference, turning outages into measurable metrics, and bringing silent quota changes under change management with canary rollout, observability, and rollback.
1. Separate the Fact Layer from the Judgment Layer
The easiest mistake in a technical postmortem is writing “the cause I suspect” as “the confirmed fact.” The most valuable move in the original discussion was someone going back to the official status page and reducing a repeatedly retold “long outage” to a performance degradation of the web and chat services that lasted just over twenty minutes. That move deserves to be institutionalized.
Split information into three layers, and keep a separate record for each:
- Fact layer: status page entries, monitoring metric curves, change ticket IDs, release record timestamps.
- Inference layer: possible triggers, estimated blast radius, similarity to past incidents.
- Conclusion layer: root cause, responsibility boundaries, action items and acceptance criteria.
The reason for layering is that coincidences like “both dates were the fifteenth” are easily merged into a single event as a story spreads. The engineering answer to this drift is not to ask everyone to be more careful, but to make every conclusion traceable back to a verifiable record.
Incident ID: INC-YYYYMMDD-01Fact: status page recorded 22min performance degradation, recoveredInference: long-context sessions consumed inference resources and triggered protectionConclusion: to be filled after root cause analysis review
2. Break “It Crashed” into Measurable Technical Metrics
“It crashed” is user language, not engineering language. To evaluate an availability event, first translate it into metrics: error rate, time to first byte, end-to-end latency percentiles, queueing time, rate-limit trigger count, and the state of degradation switches. Only once it is expressed in metrics can severity be compared.
A practical grading approach:
| Level | Criteria (example) | Typical action |
|---|---|---|
| P1 | Core-path error rate rises significantly and persists | Full response, status page update |
| P2 | Latency percentiles degrade, some capabilities downgraded | Rate limiting, scale-out, announcement |
| P3 | Single point or localized experience impaired | Ticket follow-up, observation |
What needs emphasis is that a short performance degradation and a long outage have different real-world impact on users, and different implications for system capacity. The former usually points to momentary resource contention or dependency jitter; the latter is more likely capacity planning or a policy change. Conflating the two sends improvement work in the wrong direction.
3. What Really Matters Is Not Those Twenty Minutes, but the Policy Change That Took Effect Silently
The most insightful part of the original text is the observation that a quota adjustment appeared alongside the incident: a cap on single-input length, a cap on cumulative context per session, no longer retaining over-long inactive sessions, and a limit on total daily usage — with no announcement, and nothing in the changelog.
From a platform engineering perspective, this kind of change matters far more than a brief jitter, for three reasons:
- It directly changes the product contract users perceive, and is part of the external commitment.
- It is usually driven by the cost model rather than by an incident, so it never shows up in an incident postmortem.
- It lacks a change announcement, so users can only reverse-engineer the rules from error messages, which comes at a very high trust cost.
The recommendation is to bring “quotas and limits” under change management at the same level as code: any threshold adjustment should have a change ticket, canary scope, effective time, rollback plan, and an external notice template.
quota_change:id: CHG-2024-1113-07scope: [web, client]items:single_input_tokens: 40000session_total_tokens: 148000idle_session_expiry: 7drollout: canary 5% -> 50% -> 100%rollback: feature_flag offnotice: must be published before taking effect
4. Cost Structure Determines the Shape of Rate-Limiting Policy
Long context is expensive because inference cost is not tied only to output length. Attention computation grows with context length, caching consumes GPU and memory, and session persistence brings stateful resource residency. As a result, a usage pattern of “chat for a long time, pay almost nothing, extremely long context per request” becomes the worst tier of traffic in cost per unit of revenue.
There are four common responses, each with a cost:
- Global slowdown and queueing: fair, but slows down all users together.
- Adding compute: direct results, but long lead time and high cost.
- Behavior-based tiered rate limiting: controllable cost, but easily read as “screening users.”
- Guiding migration to a more cost-controllable vehicle: requires ecosystem capacity to absorb it, otherwise it just pushes users away.
The acuity of the original text is in pointing out that if the goal were only to migrate users, locking down the web client while opening up the client would create the gap and migration would happen naturally; tightening both ends at the same time indicates the primary goal is to contain cost first. This judgment is methodologically sound — looking at where a policy applies force is closer to the real intent than reading the official wording.
5. A Minimal Checklist for Observability and Governance
To turn the analysis above into engineering action, start with these items:
- Establish a unified status narrative: the status page, monitoring alerts, and support scripts all reference the same incident facts.
- Metrics first: build a separate dashboard for long-context scenarios, observing context length distribution and cost percentiles.
- Make session lifecycle explicit: write the retention policy for inactive sessions into the product documentation rather than hiding it in error messages.
- Tiered quotas: set limits across three dimensions — input length, cumulative session usage, and daily total — and provide clear usage visibility.
- Usable migration path: the ability to export and re-import historical sessions is a prerequisite for lowering the friction of rate limiting; in order, fix the channel first, then tighten quotas.
- Change announcement and rollback: threshold adjustments should have canary rollout and a switch, avoiding a one-shot full rollout.
if session.idle_days > 7 and session.total_tokens > threshold:mark_archived()notify_user(reason="policy", exportable=True)
6. Conclusion
The key to evaluating this kind of event is not arguing about “how long it was down,” but whether three things can be kept separate: the real incident, capacity constraints, and business policy. A short performance degradation needs a metrics-based postmortem; a quota adjustment that takes effect silently needs change management and public notice; and tiered rate limiting under cost pressure should be as transparent in its rules, as migratable in its paths, and as rollback-able in its impact as possible. Get these three right, and user experience and platform cost no longer have to be traded against each other.
