classroom icon indicating copy to clipboard operation
classroom copied to clipboard

Change Sidekiq queues to critical, default and low only. For efficiency

Open gustavosobral opened this issue 5 years ago • 1 comments

What

It creates three queues (critical, default, and low) and assign all the workers to it.

From Sidekiq documentation:

I don't recommend having more than a handful of queues. Lots of queues makes for a more complex system and Sidekiq Pro cannot reliably handle multiple queues without polling. M Sidekiq Pro processes polling N queues means O(M*N) operations per second slamming Redis. https://github.com/mperham/sidekiq/wiki/Advanced-Options#queues

Closes #1381

gustavosobral avatar Jan 12 '20 21:01 gustavosobral

@JessRudder Adding you as reviewer because I think this is moda-focused. Feel free to redirect if not.

andrewbredow avatar Jan 14 '20 19:01 andrewbredow