Tag

aws lambda

What are the latency implications of using SQS in between?

Blog By Aug 21, 2023 No Comments

Using an SQS queue between SNS and Lambda introduces some latency compared to invoking Lambda directly from SNS. Here are the main factors that contribute to latency: In contrast, when Lambda is invoked directly from SNS, there is minimal latency since the message is passed to Lambda immediately after it is published to the SNS topic. So in summary, using…