At Holistics, we use Sidekiq, the de facto standard background processing framework for Ruby. By combining the reliability feature of Sidekiq Pro and our own retry logic, we can be assured that no back-end job gets lost or forgotten. Yet for a while, there were process management issues that we had not been able to solve effectively.
Gracefully restarting worker processes
In order to restart a Sidekiq worker, the recommended way is to send SIGTERM, which is the signal sent to a process to...