Achieving good availability always brings in some challenges. One of them, and probably the most important one, is consistency. When a system is consistent, it means that the system guarantees that the requested information is always returned in its most updated form.

Understanding consistency

As mentioned before, consistency is all about maintaining the latest version of data in storage. When someone queries that information, they are going to get the latest version. To do that, it is important to understand the concept of transactions and ACID.

Let’s imagine that there is a component that executes transfers. It interacts with a relational database where there are two tables called debits and credits:

Get hands-on with 1400+ tech skills courses.