Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
Systemd notify and watchdog support for sidekiqswarm #4511
Unfortunately there are some serious impl issues. The notify functionality doesn't map well to a parent process with N child processes.
I'll do some googling and see if anyone has thought about or worked through this issue.
Sidekiq swarm may be replaced by systemd template services, letting systemd run many sidekiq instances on a single host, with
if you need pid files.
Then you may start as many sidekiq instances as you want e.g. with a simple bash script:
Also a custom systemd target may be created:
That will enable stopping or starting all sidekiq processes with a single command
@misdoro +1 That's pretty much what we're using, but instead of just using sequential ids for each worker, you can even assign a worker per queue (although this might not be the most flexible solution, depending on your needs)