It is important to understand SQS limits with respect to queues, messages, and policies. This topic describes various limits:
- Limits related to queues
- Limits related to messages
- Limits related to policies
The following table describes these limits:
Limit |
Applies to |
Description |
Inflight messages per queue |
Queues |
Standard queue: Maximum 120,000 inflight messages. FIFO queue: Maximum 20,000 inflight messages. SQS returns an overLimit error if this limit is exceeded. |
Queue name |
Queues |
Queue names can have a maximum of 80 characters. FIFO queue names must end with .fifo. Queue names can have alphanumeric characters, hyphens, and underscores. |
Message attributes |
Message |
A message can have a maximum of 10 metadata attributes. |
Message batch |
Message |
A message batch can have a maximum of 10 messages per batch. |
Message content ... |