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 réponses
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
EXPERT
Uri
répondu il y a 2 ans
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
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions