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

Exponential backoff when customers hit rate limits #536

Open
ferristocrat opened this issue Feb 7, 2024 · 3 comments
Open

Exponential backoff when customers hit rate limits #536

ferristocrat opened this issue Feb 7, 2024 · 3 comments

Comments

@ferristocrat
Copy link
Contributor

Describe the feature or problem you'd like to solve

Gateway-mt should use exponentially increasing backoff times on 429 responses. Using 120 as a default kills performance for those that hit it where as otherwise they would have only needed to slow down a little.

Propose a Solution

Implement exponential backoff so that clients can slow their rate of requests, but not completely stop, so they can maintain good performance while staying within rate limits.

Additional context

@NiaStorj
Copy link

NiaStorj commented Jan 7, 2025

1/7/25:

From sprint planning we figured out that it would be best to validate the status code we are returning for rate limiting responses. Change the return status code to 503 to be compatible with existing SDK's

@pwilloughby pwilloughby transferred this issue from storj/storj Jan 8, 2025
@storj-gerrit
Copy link

storj-gerrit bot commented Jan 8, 2025

Change miniogw: change 429s to 503s mentions this issue.

@storj-gerrit
Copy link

storj-gerrit bot commented Jan 8, 2025

Change pkg/minio/api-router.go: change 429s to 503s mentions this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants