gpt4 book ai didi

amazon-web-services - AWS SQS FIFO 队列——我可以让多个消费者一次提取 10 条消息吗?

转载 作者:行者123 更新时间:2023-12-03 22:16:29 25 4
gpt4 key购买 nike

AWS sqs FIFO 队列限制消费者一次只能拉取 10 条消息。我是否可以让多个消费者同时提取 10 条消息以增加我一次可以处理的消息量?

最佳答案

来自 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.

关于amazon-web-services - AWS SQS FIFO 队列——我可以让多个消费者一次提取 10 条消息吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50222092/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com