Replies: 5 comments
-
If you want to run multiple Sidekiq processes, use a process manager. For instance, use foreman. |
Beta Was this translation helpful? Give feedback.
-
@mperham but how can I assign a specific job (by condition) to a specific sidekiq process? |
Beta Was this translation helpful? Give feedback.
-
Through a queue. You push a job to a queue and define the queues that each process fetches from. |
Beta Was this translation helpful? Give feedback.
-
@mperham |
Beta Was this translation helpful? Give feedback.
-
@StephyCat
Can you please tell me how did you solve this? |
Beta Was this translation helpful? Give feedback.
-
I am running 2 workers locally by executing the following command
when I sending out some sidekiq jobs, the latest worker I started will take over the process
e.g. if I start
standard
and then startmedium
, thenmedium
will take over the jobs, no way for me to usestandard
one; once I shutdownmedium
, then standard will take over the jobs; and vice versa...Is there any way to specify a certain sidekiq process to be worked with?
Beta Was this translation helpful? Give feedback.
All reactions