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

Compatibility with sidekiq-limit_fetch #9

Open
jcarlson opened this issue Aug 14, 2014 · 4 comments
Open

Compatibility with sidekiq-limit_fetch #9

jcarlson opened this issue Aug 14, 2014 · 4 comments

Comments

@jcarlson
Copy link

I have a project currently using sidekiq-limit_fetch to manage concurrency limits on a per-queue basis. I have a new requirement that adds time as a dimension with which to throttle jobs, and I would like to use sidekiq-rate-limiter to manage this, but I'm wondering if there is a way to configure sidekiq-rate-limiter to limit concurrency of jobs, irrespective of a time-based limit? e.g., fetch jobs as quickly as you can, but only 3 workers may work on this kind of job at a time?

For clarity, I have SomeJob that may run as quickly as possible, but I only ever want three workers at a time running this job, and I have AnotherJob, for which concurrency doesn't matter, but I can only process this job at a rate of 1 per second.

@bwthomas
Copy link
Contributor

Hey @jcarlson, sorry for the super-late response, I've been entirely too busy at work.

I think this is a very good idea for a feature. I don't have the time to implement it right now, but I welcome a pull request.

Alternatively I'll be taking some vacation time in July & plan to revisit my projects then.

@bobber205
Copy link

+1 really need this feature!

@montebrown
Copy link

+1 for this feature

@bobber205
Copy link

This gem is basically dead -- I'd use https://github.com/sensortower/sidekiq-throttled instead.

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