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 distributed rate limiting support #24

Closed
astubbs opened this issue Nov 5, 2020 · 2 comments
Closed

Add distributed rate limiting support #24

astubbs opened this issue Nov 5, 2020 · 2 comments
Labels
enhancement New feature or request medium

Comments

@astubbs
Copy link
Contributor

astubbs commented Nov 5, 2020

Use a central cache to share rate limit info amongst processing cluster, to implement coordination of rate limit exhaustion to prevent accidental overrun while effectively exhausting the available credits.

https://dzone.com/articles/introduction-jcache-jsr-107
https://github.com/vladimir-bukhtoyarov/bucket4j
vs
https://github.com/mokies/ratelimitj

resilience4j doesn't support distriubted rate limiting: resilience4j/resilience4j#350 (comment)

@astubbs astubbs added the enhancement New feature or request label Nov 10, 2020
@astubbs astubbs added the medium label Dec 14, 2020
@astubbs
Copy link
Contributor Author

astubbs commented Oct 6, 2021

Had a quick look at it - something like this with Reactor and BucketJ should work.

@johnbyrnejb
Copy link
Contributor

Closing Issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request medium
Projects
None yet
Development

No branches or pull requests

2 participants