Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add backoff and jitter for bfx-api requests #420

Open
wants to merge 10 commits into
base: staging
Choose a base branch
from

Conversation

ZIMkaRU
Copy link
Member

@ZIMkaRU ZIMkaRU commented Jan 31, 2025

This PR adds exponential backoff and jitter for bfx-api requests to improve Rate Limit bypassing


Here we implement Decorrelated Jitter described in AWS article https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/ And add a small improvement to shift the starting point of jitter for each iteration. In practice, it helps better to move through the Rate Limit for the Sync and Tax Report

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