Hi friends,
I am trying to determine what is more cost effective when it comes to lambda execution sqs trigger, processing a single message at a time or multiple messages.
I have a SQS and every hour it receives around 40k messages. I have a lambda function that processes the messages on this Q. Currently the lambda function has batchSize=1
and maxConcurrency=50
_I_s there some way i can determine if its more cost effective for each exec to process multiple messages, without actually making this change.
Also interested if you’ve done this kind of testing before and what you found out if anything.