Code 401: Class 14 - Event Driven Architecture
Questions
-
What’s the difference between a FIFO and a standard queue? FIFO stands for first in first out which is the same way that a standard queue operates
-
How Can the server be assured a message was properly received?
-
What classic design pattern is best represented by event driven programming?
-
How do you test an even driven system? Logging all events is essential as is distributed tracing
Vocabulary
FIFO Queue Queue in which the first item added to the queue is the first out
Pub/Sub Asynchronous messaging service that separates event creation from event processing
- SNS
- Publisher/Subscriber
- Publishing messages to a topic that can be delivered to many subscribers
- If other systems care about an event and you need to publish it out to them use this format
- SQS
- Queueing system for message processing
- A system must poll the queue to discover new events
- Messages in a queue are typically processed by a single customer
- If your system cares about an event use this format
- This video is a discussion of different azure features
- AWS SQS default is not FIFO
- AWS cannot send message from AWS SNS to FIFO SQS
- Azure Queue Storage does not have support for FIFO
Return to reading-notes Deployed Site
Return to reading-notes Mark Down