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

Rate limiting headers middleware #82

Open
baywet opened this issue Sep 29, 2022 · 0 comments
Open

Rate limiting headers middleware #82

baywet opened this issue Sep 29, 2022 · 0 comments
Assignees

Comments

@baywet
Copy link
Member

baywet commented Sep 29, 2022

Creating this issue on a very good suggestion from @jansenbe.

With the rate limiting RFC reaching maturity and the existing headers sent back by identity services we could either augment the retry handler or add a new handler all together which would use that information to artificially slow down requests based on a quota consumption percentage.
The rationale is that cooling down before hitting the ceiling usually gives you a better throughput than hitting the ceiling and waiting for the retry after time (some services penalize you for eating up all your quota).

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

No branches or pull requests

2 participants