Reputation: 8732
To gain read performance, data model in Cassandra are denormalized to certain extend.
As denormalized produces duplicated record, how to avoid data anomalies?
Upvotes: 0
Views: 306
Reputation: 19377
jsfeng's answer is good on general principles, but a more specific answer is to use atomic batches: www.datastax.com/dev/blog/atomic-batches-in-cassandra-1-2
Upvotes: 1
Reputation: 11
As I know, there could be 2 ways to keep your data in different column family(CF) consistent:
Which way you want to use, that may depends on how you did you model your data, and how strict is your application's requirement for data consistency among different CF.
Upvotes: 1