I would like to run multiple servers, each running a single Sidekiq process with multiple threads. My product issues several types of jobs, but one type of job often takes a long time and puts a heavy load on the server's CPU and memory.
When this happens, the job server goes down, making it impossible to run other types of jobs. Therefore, I would like to run high-load jobs and other jobs on separate servers while also improving job processing.
Is it possible to do this with Sidekiq?
If so, how can I allocate Sidekiq servers for each job?
I am using ActiveJob with Sidekiq, and both Rails and Sidekiq are up to date.