- What is event-driven architecture where when would you use it?
- Which model are used for message orientation in an event-driven architecture?
What is event-driven architecture where when would you use it?
An event-driven architecture uses events to trigger and communicate between decoupled services and is common in modern applications built with microservices. An event is a change in state, or an update, like an item being placed in a shopping cart on an e-commerce website.
Which model are used for message orientation in an event-driven architecture?
Pub/sub model
This is a messaging infrastructure based on subscriptions to an event stream. With this model, after an event occurs, or is published, it is sent to subscribers that need to be informed.