Multiple SQS queue to same Lambda

1

Hi , I m trying to know how events will be pulled by Lambda internal polling system when there are multiple SQS standard queues are configured from same Lambda . All queues are with same configs and similar events but might be at different rate .I tried to read many post including below AWS docs but not getting the clue of how it’s actually works behind the screen .

https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html

已提问 2 年前7269 查看次数
2 回答
1

Every time you configure a queue as an event source for a Lambda function, we create pollers to read from the queue and invoke the function when there are messages. If you configure two queues with the same function, we will create two sets of pollers to read from these queues and invoke the function. Each one of these pollers will scale independently so you will need to have enough Lambda concurrency in your account to accommodate for the higher concurrency.

profile pictureAWS
专家
Uri
已回答 2 年前
0

The Behavior is described in the "Scaling and Processing" Section.
It describes that you have at a max 1k processes reading from a Queue and hand over the Batches to your function. With more than one Queue feeding the function you will have more parallel Lambda executions, so take care of your Lambda Limits.

AWS
Marco
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则