April 2017
Beginner to intermediate
360 pages
9h 35m
English
Having explored the three most useful consistency levels Cassandra provides, let's compare their important characteristics:
| Level | Consistency behavior | Replicas required | Failure tolerance | Performance |
| ONE | Eventual | 1 | Tolerates failure of all but one replica | Fastest node |
| ALL | Immediate | All | None | Slowest node |
| QUORUM | Immediate, if used for both writes and reads | Strict majority | Tolerates failure of a minority of replicas | Median performing node |
Cassandra supports other consistency levels as well; their uses are more esoteric and many deal specifically with deployments where a cluster is spread across multiple data centers. For a full reference, take a look at http://docs.datastax.com/en/cassandra/3.x/cassandra/dml/dmlConfigConsistency.html ...
Read now
Unlock full access