Event Processing
SQS
+lambda
- If
lambda
fail to process, send it toDLQ
FIFO SQS
+lambda
- If
lambda
fail to process, send it toDLQ
Fan Out Pattern
Event
first goes to theSNS
SNS
pass the event to multipleSQS
orconsumer
- Let's say, we have 3
SQS
service, get same message from application- If application crashed after send 2
SQS
, the 3rdSQS
does not get the message - In this case,
Fan Out
came up - Here application only send the message to
SNS
SNS
pass the messages to the respectiveSQS
- If application crashed after send 2
S3
event can be passed toSQS
SNS
lambda