May 2018
Intermediate to advanced
390 pages
9h 31m
English
Eventual consistency is a consistency model for the event-based distributed application to achieve high availability. If there are no changes for domain into a system, then it will return the last updated value for that domain. Eventual consistency is also known as optimistic replication and strongly used in distributed systems.
In the diagram of the CQRS pattern, we have used the cache for returning data for queries sent by the client, so, the cache will be updated if there are no changes for domain into a system. In fact, almost every cache is based on Eventual consistency.
Typically in event-sourced systems with Command Query Responsibility Segregation that need to display data to a client, we have ...
Read now
Unlock full access