Automation · Parallelism & Concurrency
Rate Limiting
Cheat sheet · https://pcornel.dk/topic.php?topic=5993
Answer
Rate limiting caps how many requests or tasks run per second, respecting API limits and HTTP 429 responses, so automation does not get throttled or overload targets.
Remember
- Respect 429 and Retry-After.
- Throttle requests.
- Batch where possible.
First checks
- Client-side rate limiter (token bucket) — throttling
- API limit headers monitored — awareness
- Backoff on 429 — handling
Verify in this order
requests → rate limiter → API within limits
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5993