Skip to content

Jitter framework-level AWS retry delays - #453

Merged
GrahamCampbell merged 2 commits into
4.xfrom
jitter-aws-retry-delays
Sep 6, 2026
Merged

Jitter framework-level AWS retry delays#453
GrahamCampbell merged 2 commits into
4.xfrom
jitter-aws-retry-delays

Conversation

@GrahamCampbell

Copy link
Copy Markdown
Contributor

The framework-level retry helper waits a fixed five seconds between attempts, so the many deploys that a single throttling event affects all retry in lockstep and are throttled again together. v3 spread its retries across a four to seven second window. This applies the same spread to the helper by jittering each wait uniformly between 0.8 and 1.4 times the base delay, which keeps the four to seven second window for throttling retries, and logs the actual wait. The transient network retry picks up the same jitter, which is harmless. Tests that shorten the delay to a millisecond are unaffected.

@GrahamCampbell
GrahamCampbell merged commit 7a6ffca into 4.x Sep 6, 2026
8 checks passed
@GrahamCampbell
GrahamCampbell deleted the jitter-aws-retry-delays branch September 6, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant