Based on the documentation (AWS SQS Limits) the maximum number of inflight messages per queue (in a standard queue) is 120,000.
But does SQS have any limit for available messages in a queue?
I'd guess that there is no limit on the number of messages that a queue can hold in SQS, but I haven't found any explicit statement on the documentation about it.
A single Amazon SQS message queue can contain an unlimited number of messages. However, there is a 120,000 quota for the number of inflight messages for a standard queue and 20,000 for a FIFO queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue.
Amazon SQS messages can contain up to 256 KB of text data, including XML, JSON and unformatted text. The following Unicode characters are accepted: #x9 | #xA | #xD | [#x20 to #xD7FF] | [#xE000 to #xFFFD] | [#x10000 to #x10FFFF] For more information, see the XML 1.0 Specification. Q: How large can Amazon SQS message queues be?
I want to use a FIFO SQS for message transport - while researching I found the following two statements: Messages per queue: The number of messages that an Amazon SQS queue can store is unlimited.
To send messages larger than 256 KB, use the Amazon SQS Extended Client Library for Java. This library lets you send an Amazon SQS message that contains a reference to a message payload in Amazon S3 that can be as large as 2 GB. Q: What kind of data can I include in a message?
Unlimited, per the SQS FAQ:
A single Amazon SQS message queue can contain an unlimited number of messages. However, there is a 120,000 limit for the number of inflight messages for a standard queue and 20,000 for a FIFO queue. Messages are inflight after they have been received from the queue by a consuming component, but have not yet been deleted from the queue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With