AWS sqs FIFO queues are limit the consumer to being able to pull 10 messages at a time. Can I have multiple consumers all pulling 10 messages at a time to increase the amount of messages I can process at a time?
2 Answers
5
votes
The limit of 10 messages in a single response from SQS is universal to all SQS queue types. However you can definitely have multiple simultaneous consumers each requesting and receiving up to 10 messages at a time.
For FIFO queue consumers, I only see the following restrictions listed here:
Inflight messages per queue
- For FIFO queues, there can be a maximum of 20,000 inflight messages (received from a queue by a consumer, but not yet deleted from the queue). If you reach this limit, Amazon SQS returns no error messages.
Message throughput
- By default, FIFO queues support up to 3,000 messages per second with batching. To request a limit increase, file a support request.
- FIFO queues support up to 300 messages per second (300 send, receive, or delete operations per second) without batching.