3 ms·
It's also way, way cheaper in terms of ram. We fire up sidekiq and clockwork in threads within the puma process rather than take ~ 100 MiB/process hit of runni
by midas007 13y ago
It's also way, way cheaper in terms of ram.
We fire up sidekiq and clockwork in threads within the puma process rather than take ~ 100 MiB/process hit of running them separately.
- evilduck 13y agoIs there any blog post or tutorial you can point to that explains how to do that? If not, I would love it if you wrote one. :)
- midas007 13y agoSure. I even spawn other threads as ghetto thread supervision.
- midas007 13y agoDone, in the form of a reusable rails template. :) https://github.com/steakknife/rails41rc_plus_hacks_and_threads https://github.com/steakknife/rails41rc_plus_hacks_and_threa... Feedback requested in the issue tracker. Anything that seems out of place.