Quantcast
Viewing latest article 30
Browse Latest Browse All 884

How to manager Multiple sidekiq process with different queues not for same queues

I need to provide the priority job queues based on processes.. divide queues based on process like this way

Process 1 is occupied only for "update_data" queuesProcess 2 is occupied only for "import_data "

is there any possibility to add it inside the sidekiq.yml file and one more thing i'm using sidekiqswarm

#sidekiq.yml

:concurrency: 10:queues:  - [mailers, 1]  - [automation_rules, 1]  - [automation_mailers, 1]:limits:   mailers: 2   automation_rules: 2   automation_mailers: 2

Sidekiq.service

Environment="SIDEKIQ_COUNT=2"Environment="SIDEKIQ_PRELOAD=''"ExecStart=/bin/bash /home/user/.rbenv/bin/rbenv exec bundle exec sidekiqswarm -e production -C config/sidekiq.yml

Please give me solution for this changes


Viewing latest article 30
Browse Latest Browse All 884

Trending Articles