Amazon-web-services – Limit on number of available messages on SQS

amazon-sqsamazon-web-services

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.

Best Answer

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.

Related Topic