Message-driven architecture
A message-driven architecture is the base of a responsive application. A message-driven application can be an event-driven and actor-based application. It can also be a combination of both architectures--event-driven and actor-based architecture.
In event-driven architecture, events and event observers play the main role. Events happen, but are not directed to a specific address; event listeners listen to these events, and take actions. But in message-driven architecture, the messages have a proper direction to the destination. Let's look at the following diagram that illustrates message-driven and event-driven architectures:
As you can see in the preceding diagram, in event-driven architecture, if an event happens, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access