SQS 是否以异步/同步方式触发 lambda?
Does SQS trigger lambda in an async / sync manner?
我配置为在收到消息时调用 lambda 的标准 SQS 会调用 "many lambdas" 还是一次只调用 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, depending on your 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.
我配置为在收到消息时调用 lambda 的标准 SQS 会调用 "many lambdas" 还是一次只调用 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, depending on your 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.