Event Processing Pattern Flashcards

1
Q

Event Processing Patterns

A

Dead Letter Queue
Fan out pattern
S3 event notifications

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Dead Letter Queue

A

Dead letter queue is where the all the exveptional scenarios are sent to Queue/sns for further analysis
There are three AWS services which uses DLQ:
SNS:
Messages published to a topic that fail to deliver are sent to an SQS queue; held for further analysis or reprocessing.

SQS:
Messages sent to SQS that exceed the queue’s maxReceiveCount are sent to DLQ(another SQS queue)

Lambda
Results from failed asynchronous invocations; will retry twice and send to either an SQS queue or SNS topic

Moving in to DLQ might infer that there might be bugs in the application which needs our attention

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is Fanout Pattern

A

Fanout Pattern is a pattern where if a message is requied by multiple systems instead of sneding messages to all the systems.. send it to SNS topic and let the message be published to all the subscribers with an identical copy of the message.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

s3 event notifications

A
S3 events notifications triggered by:
Obbjects Created
Objects Deleted
Objects Restored in glacier
RRS Objects lost
Objects Replication

S3 event notifications are consumed by:
SNS
SQS
Lambda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly