One Pager Cheat Sheet
- Event-driven architecture (EDA) and the
publish/subscribe (pub/sub)
messaging pattern provide real-time communication between distinct components without requiring them to be aware of each other, making it a popular choice for efficient application design. - Event-Driven Architecture (EDA) is a
software architectural paradigm
that facilitates communication between distributed software systems throughasynchronous
and highlyscalable
events. - In EDA, an
event
acts as the catalyst for communication betweendecoupled services
. - Generally, Pub/Sub (Publisher/Subscriber) is an event-driven architecture in which Publishers send messages over a Topic, and Subscribers receive messages related to their subscribed topics.
- A and B are both Event-Driven Architecture (EDA) models, where events are sent to topics and are subscribed to by either publishers or subscribers.
- The
Pub/Sub
architecture publishes a message to a topic, which is then forwarded to a subscription and pushed to a subscriber, who sends an acknowledgment back before the message is removed from the queue. - The Broadcast Pattern sends the same message to all participants, while the Polling Pattern regularly contacts the sender to check for updates, but may waste time or cause people to miss information.
- The
Polling Pattern
is a method for a subscriber torequest
information from a central source at set intervals in order to make sure the content is up-to-date. - Pub/Sub technology enables real-time event-driven applications to make proactive decisions based on the most up-to-date
data streams
from various industries, such as Healthcare, Banking, Online Shopping, and Internet of Things. - Event-driven design
(EDA)
allows for rapid development with agility and cost reduction, as well as ease of auditability, making it a highly attractive software architecture. - Event-driven architectures provide many advantages and require an effective integration strategy for success.