spring-cloud-gateway icon indicating copy to clipboard operation
spring-cloud-gateway copied to clipboard

RetryGatewayFilterFactory: Add random jitter to backoff calculation

Open bpeterson3134 opened this issue 10 months ago • 1 comments

Is your feature request related to a problem? Please describe. The current RetryGatewayFilterFactory does not use any randomness to the jitter factor in the backoff calculation (its a constant value). Requesting to add randomness to the jitter factor to prevent thundering herd problems and improving resiliency.

Describe the solution you'd like Calculate jitter factor randomly for the backoff calculation

Describe alternatives you've considered None

Additional context None

bpeterson3134 avatar Feb 28 '25 15:02 bpeterson3134

I'd like to lend a hand with this. Perhaps a percentage based jitter to exist in BackoffConfig found here .

darth-raijin avatar Mar 02 '25 13:03 darth-raijin

Can I work on this issue? Please assign it to me.

mehrdadbozorgmehr avatar Jul 31 '25 19:07 mehrdadbozorgmehr

Sorry, this was closed via #3713

spencergibb avatar Jul 31 '25 20:07 spencergibb