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回答
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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン