Skip to content
Pablo Cantero edited this page Jul 1, 2017 · 36 revisions

Supposing you have queue1, which you would like to fetch messages twice as much as queue2, you can configure that as follows:

queues:
  - [queue1, 8]
  - [queue2, 4]
  - [queue3, 1]

The setup above will cause Shoryuken to fetch messages in cycles of queue1 8 times, then queue2 4 times, then queue3 once, then repeat.

Note: Each fetch can fetch up to 10 messages at time (SQS limitation). The fetch will also depend on the concurrency and available workers at the time of the fetch. If you have configured concurrency: 25 and you have 20 busy workers, the maximum Shoryuken will catch 5.