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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인