reading-notes

Event Driven Architecture

1.What’s the difference between a FIFO and a standard queue?

A standard queue is less organized in the way and number of times it delivers a message while a FIFO queue is more strict with how messages are sent and received. The main difference is the TFO - Transactions Per Second

2.How can the server be assured a message was properly received?

A confirmation is sent back from the receiving end.

3.What classic design pattern is best represented by event driven programming?

Subscribe/observer pattern

4.How do you test an event driven system?

Create a test that uses an automation process that scaffold up the unit testing environment

Terms

FIFO Queue - Messages are sent and received in the same order and each message is guaranteed to be delivered at least once, while duplicates are removed.source

Pub/Sub - A design pattern used for building dynamic applications where modules can communicate back and forth without being reliant on one another.source

PREP MATERIALS

AWS SNS and SQS

Azure Event Hubs

FIFO Queues within AWS and Azure