You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add jitter to exponential backoff in job queue retry #16318
This means concurrent jobs that fail at the same time will all retry at exactly the same intervals (2^n * delay), creating a thundering herd effect on the queue backend.
This preserves the exponential growth curve while adding ±50% randomization, which is standard practice for distributed retry (AWS, Google Cloud, and most resilience libraries recommend this).
Why this matters
In production job queues with many workers, deterministic backoff causes retry storms — all failed jobs retry simultaneously, overloading the backend at predictable intervals. Jitter breaks the synchronization and spreads load.
Impact
Additive change, no API modification
Existing behavior preserved within ±50% timing variance
No new dependencies
The fixed backoff type is unaffected (only exponential changes)
Happy to submit a PR if this approach looks right.
Activity
chore: add six more upstream fixes and regression coverage
fix: address 24 Payload read, schema, version and tooling reports (#9)
chore: resolve six more upstream payload reports