Event sourcing
Building your applications using asynchronous messaging opens the door for applying some advanced architectural patterns, one of which you will learn about in this section.
When using messaging, publish/subscribe, and event collaboration, every change in the entire system's state is reflected in the form of an event that is emitted by one of the participating services. Often, each of these services has its own database, keeping its own view on the system's state (at least, as far as required) and staying up to date by continually listening to the events that are published by the other services.
However, the fact that each change in the system state is also represented by a published event presents an interesting opportunity. ...
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