nesquena / backburner

Simple and reliable beanstalkd job queue for ruby
http://nesquena.github.com/backburner
MIT License
430 stars 70 forks source link

Alternative ways to make workers work #174

Open colmexdev opened 2 years ago

colmexdev commented 2 years ago

Hello there!

I've been using this gem to enqueue jobs for a long time as suggested in the docs (with God monitoring); nonetheless, I've been noticing that every time the rake tasks are called (there are almost 15 different web apps living under the same server, each with its own tube), CPU usage comes to its max for quite a long time, so I'd like to know if there are ways to make workers work without overloading CPU or configuring God monitoring files to reduce the load. Or else, what advice can I have to reduce tha impact of rake tasks' environment loading.

Thank you very much in advance.

nesquena commented 2 years ago

Hello, thanks for raising this issue and using the gem

I'd like to know if there are ways to make workers work without overloading CPU or configuring God monitoring files to reduce the load. Or else, what advice can I have to reduce tha impact of rake tasks' environment loading.

I don't have anything top of mind to suggest here. For others stumbling on this, I am no longer actively developing this project, however, I am more than happy to add contributors to the repo and cut releases.

If anyone else has any suggestions or thoughts here, I'd love to hear them