-
I have a couple of serial queues defined with a concurrency of 1:
...
Sidekiq.configure_server do |config|
...
(SERIAL_QUEUES).each do |serial_queue_name|
config.capsule(serial_queue_name) do |cap|
cap.concurrency = 1
cap.queues = [serial_queue_name]
end
end
...
end Would those queues still behave serially/non-concurrently if I start additional sidekiq processes, i.e. if I horizontally scale my sidekiq worker/server? I'm running the process by just doing Basically is the concurrency configuration enforced through redis? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Nope, capsules are per-process. The only way to limit execution across all processes is with the concurrent rate limiter in Sidekiq Enterprise. |
Beta Was this translation helpful? Give feedback.
Nope, capsules are per-process. The only way to limit execution across all processes is with the concurrent rate limiter in Sidekiq Enterprise.