Pcornel
Automation · Automation Troubleshooting

Rate Limit

Cheat sheet · https://pcornel.dk/topic.php?topic=6052

Back to the Topic

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

BoundaryHealthy evidenceSuspicious evidence
Symptom / scopeTime window, immutable source/run identity, effective inputs and exact targets are explicitFloating source, changed inputs or ambiguous targets destroy reproducibility
First failed boundaryTransport/auth/dependency/render/operation evidence identifies the earliest divergenceInvestigation starts at the final error and skips earlier unproven boundaries
Effective outcomeController result is paired with target read-back and workload/service acceptanceGreen execution state or changed symptom substitutes for effective-state verification
Recovery / closureMinimal change restores the original test and regression/partial-state checks are cleanBroad 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

Confirmation

Confirm action

Continue?