Rate Limit
Cheat sheet · https://pcornel.dk/topic.php?topic=6052
Answer
Rate Limit isolates throttling and quota exhaustion by identifying the limiter, key/scope, window, remaining budget and retry contract, then reducing request pressure or scheduling rather than treating throttling as random failure.
Remember
- 429 ≠ service unavailable.
- Backoff in each worker ≠ aggregate request rate is controlled.
- Retry-After observed once ≠ fixed delay is always correct.
- Higher quota ≠ inefficient request fan-out is solved.
First checks
curl -sS -D - -o /dev/null <api> | grep -i -e ratelimit -e retry-after— limits- Concurrency of automation — cause
- Backoff implementation — handling
Verify in this order
requests → limit → 429 → backoff
Where it usually breaks
Rate-limit evidence proves a provider or intermediary applied throttling to a scope; it does not prove capacity is otherwise healthy or that increasing quota is the right correction.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Rate Limit troubleshooting proof-boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Symptom / scope | Time window, immutable source/run identity, effective inputs and exact targets are explicit | Floating source, changed inputs or ambiguous targets destroy reproducibility |
| First failed boundary | Transport/auth/dependency/render/operation evidence identifies the earliest divergence | Investigation starts at the final error and skips earlier unproven boundaries |
| Effective outcome | Controller result is paired with target read-back and workload/service acceptance | Green execution state or changed symptom substitutes for effective-state verification |
| Recovery / closure | Minimal change restores the original test and regression/partial-state checks are clean | Broad retry or unrelated edits make the incident non-reproducible and hide residual state |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6052