Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Limit on number of available messages on SQS

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.

like image 355
Antonio Lopez Avatar asked Aug 03 '17 15:08

Antonio Lopez


People also ask

How many messages can be sent from AN SQS message queue?

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.

What is the maximum size of an Amazon SQS message?

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?

How many messages can a FIFO SQS store?

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.

How do I send messages larger than 256 KB in SQS?

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?


1 Answers

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.

like image 88
jarmod Avatar answered Oct 15 '22 20:10

jarmod