Skip to content

Event Processing

Links: 101 AWS SAA Index


SQS + Lambda

  • DLQ is at the SQS side.
    • attachments/Pasted image 20220501183401.jpg

SNS + Lambda

  • If we connect SNS + Lambda and lambda fails to process the message it will try it internally 3 times.
  • If we want to preserve the message then we can setup a DLQ at the lambda service level.
    • attachments/Pasted image 20220501183206.jpg
    • This is a different architecture. For SQS + Lambda DLQ is set at the SQS side whereas for SNS the DLQ is set at the lambda side.

S3 Events

  • We know S3 events have 3 destinationsSQS, SNS, Lambda
  • Enable versioning
  • If you are using lambda to consume the events then it is advised to have a DLQ on the lambda's side.
    • attachments/Pasted image 20220501183712.jpg

Last updated: 2022-05-01