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

Leaky bucket #102

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Leaky bucket #102

wants to merge 2 commits into from

Conversation

robacarp
Copy link
Collaborator

@robacarp robacarp commented Nov 1, 2022

re #100
re #101

This implements a weak leaky bucket rate limiter. The most significant limitation is that implementing the rate limit on the job side means the queue will shuffle around jobs when the run speed is rate limited -- jobs are popped off the queue and then re-enqueued via the scheduler. This is probably better than nothing for those that need it.

  • tests

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

Successfully merging this pull request may close these issues.

1 participant