From the course: Microservices: Asynchronous Messaging

Unlock the full course today

Join today to access over 24,400 courses taught by industry experts.

Eventual consistency

Eventual consistency

- [Instructor] Eventual consistency is a paramount concept in distributed data. We often hear about this model but never consider that it is achieved through a mechanism of asynchronous activities. Before we dig too deep, we need to understand ACID and BASE. ACID is a calling card of relational database management systems. It is what allows transactional writes and consistent reads in a database. ACID, however, becomes painful at best in a microservices world, especially in a distributed one. Atomic transactions are usually what people think of with ACID, meaning that the data is either all written or it isn't. Of course, the rest of the acronyms are important too, consistent, isolated and durable. BASE, however, is a different way of thinking. We seldom care that the data is written immediately in a microservices architecture. We have already broken down the transactional boundaries with our service domains.…

Contents