Skip to content

feat: add back-off request #6

@muhfaris

Description

@muhfaris

add module to support back-off request

  1. Initial Retry: When a request fails, the client initiates a retry immediately or after a short delay.

  2. Exponential Increase: If the retry fails again, the client increases the waiting time before the next retry exponentially. For example, the client might wait 1 second after the first failure, then 2 seconds after the second failure, 4 seconds after the third failure, and so on.

  3. Maximum Backoff Time: There is usually a maximum limit to the backoff time. After reaching this limit, subsequent retries may use the maximum backoff time.

  4. Jitter: Some implementations also include jitter to add a random factor to the waiting time, which helps avoid synchronization effects when multiple clients are retrying simultaneously.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions