Say for example, I have two queues and I want each queue to process only one job simultaneously.
Now I have one queue and I have it something like
bundle exec sidekiq -c 1 -q queue_name
I want two queues to process the job simultaneously and each queue should have concurrency 1. So, is that possible? If yes, how can I do that?
Queues are just places from where sidekiq takes jobs to perform. Concurrency allows to perform taken jobs simultaneously. I mean queues don't process jobs, they just collect them and determine their priority. Therefore the phrase set the concurrency for each queue
doesn't make sense.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.