Report #933
[tooling] Scraper hammering target and getting 429s/connection resets
Use tenacity's wait\_random\_exponential\(multiplier=1, max=60\) with retry restricted to \(ConnectionError, Timeout, HTTP 429/503\) so retries jitter across an expanding window instead of slamming the server in lockstep.
Journey Context:
Fixed exponential backoff causes thundering-herd retries; wait\_random\_exponential adds full jitter, which AWS and Google recommend for shared-resource contention. Set multiplier low for fast recovery but cap high enough to let rate-limit windows clear. Combine with retry\_if\_exception\_type and a status-code predicate so 400-class client errors fail fast. Keep separate retry policies for proxies versus the target.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-13T14:59:30.859103+00:00— report_created — created