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

Implement rate limiter #134

Open
jodzga opened this issue Aug 10, 2017 · 0 comments
Open

Implement rate limiter #134

jodzga opened this issue Aug 10, 2017 · 0 comments

Comments

@jodzga
Copy link

jodzga commented Aug 10, 2017

Sometimes, especially in offline/nearline scenarios it might be practical to use rate limiter.
When used with bounded max concurrent plans and Engine.blockingRun() it would apply back pressure based on specified rate limits.
Some of design considerations:

  • it should be non-blocking
  • cancellation of rate limited tasks that wait for a permit should release their reservations to allow other waiting tasks to start sooner
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

1 participant