resque-pool icon indicating copy to clipboard operation
resque-pool copied to clipboard

Suggestion: resque-scheduler support?

Open josh-m-sharpe opened this issue 5 years ago • 2 comments

This might be out of left field and way out of scope.

Could this gem support running an instance of resque-scheduler alongside various workers?

Asking because resque-scheduler takes up nearly as much memory as a standard worker but never does "real" work. So a fork for it as part of the pool might significantly reduce its memory footprint.

Maybe?

josh-m-sharpe avatar Apr 06 '20 23:04 josh-m-sharpe

It's a good idea! I personally use don't use resque-scheduler. I just use cron jobs (using busybox cron!) that do no more than e.g. "script/resque_enqueue CronJobs::Hourly", etc. But there are benefits to scheduler, so a PR would probably be accepted (eventually... I'm bad at punctuality).

nevans avatar Apr 23 '20 18:04 nevans

I might get around to this before the end of the year, but... I probably won't. 😉 I am going to migrate my biggest resque-pool deployment from simple cron jobs to resque-scheduler. And resque-scheduler should absolutely be part of a "batteries-included" resque deployment. But... many other projects still take priority over this, for me.

PRs are welcome! 🙂

nevans avatar Nov 08 '22 15:11 nevans