AWS SQS FIFO 队列——我可以让多个消费者同时拉取 10 条消息吗?
AWS SQS FIFO queue -- Can I have multiple consumers pulling 10 messages at time?
AWS sqs FIFO 队列限制消费者一次只能提取 10 条消息。我可以让多个消费者一次拉取 10 条消息以增加我一次可以处理的消息量吗?
是的,你可以。所有队列,无论是标准队列还是 FIFO 队列,都可以有多个消费者。
来自 SQS 的单个响应中的 10 条消息的限制对于所有 SQS 队列类型都是通用的。但是,您绝对可以同时拥有多个消费者,每个消费者一次最多请求和接收 10 条消息。
对于 FIFO 队列消费者,我只看到列出了以下限制 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.
AWS sqs FIFO 队列限制消费者一次只能提取 10 条消息。我可以让多个消费者一次拉取 10 条消息以增加我一次可以处理的消息量吗?
是的,你可以。所有队列,无论是标准队列还是 FIFO 队列,都可以有多个消费者。
来自 SQS 的单个响应中的 10 条消息的限制对于所有 SQS 队列类型都是通用的。但是,您绝对可以同时拥有多个消费者,每个消费者一次最多请求和接收 10 条消息。
对于 FIFO 队列消费者,我只看到列出了以下限制 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.