Use and expectations around application data consistency

Applications will vary in their consistency requirements by use case. The key thing to remember is that Apache Cassandra is (by design) not a consistent database. It is designed around achieving high levels of performance and availability.

There are steps you can take to improve the consistency of your application's data, but you will trade performance to achieve it.

It is important to also understand how many nodes your cluster contains, as well as what replication factor (RF) is used on your keyspace. Too often, these aspects are abstracted from application developers, who in turn end up making ill-informed decisions around their choice of consistency level. In fact, the most common ...

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.