gpt4 book ai didi

amazon-web-services - SQS 是否以异步/同步方式触发 lambda?

转载 作者:行者123 更新时间:2023-12-03 21:14:43 26 4
gpt4 key购买 nike

我配置为在收到消息时调用 lambda 的标准 SQS 会调用“许多 lambda”还是一次仅调用 1 个 lambda?

最佳答案

来自 Using AWS Lambda with Amazon SQS :

Lambda polls the queue and invokes your function synchronously with an event that contains queue messages.



它将调用多达 required ,取决于您的 reserved concurrency限制:

Lambda increases the number of processes that are reading batches by up to 60 more instances per minute. The maximum number of batches that can be processed simultaneously by an event source mapping is 1000.

关于amazon-web-services - SQS 是否以异步/同步方式触发 lambda?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61653569/

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