Skip to content

Exponential backoff with jitter retry? #3549

Closed
@JimNero009

Description

@JimNero009

Hello,

I've been seeing some intermittent TImeout errors with our Redis instance. I can't find any underlying reason why that might be, so I was just going to add a retry mechanism to our configuration (we currently have none).

Being in the AWS world a fair bit, a recommended strategy there is for an exponential backoff with jitter. I notice that in this library you have a wide range of strategies, but not that one. EqualJitterBackoff seems quite close but not exactly the same.

I was interested in why this is? Do you feel actually the range you already have cover all reasonable usecases already? In which case, would you suggest I use those over creating a new class for this (which I would be happy to contribute back)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions