DataStax Academy FAQ

DataStax Academy migrated to a new learning management system (LMS) in July 2020. We are also moving to a new Cassandra Certification process so there are changes to exam bookings, voucher system and issuing of certificates.

Check out the Academy FAQ pages for answers to your questions:


question

satvantsingh_190085 avatar image
satvantsingh_190085 asked ·

What is best practice for read and write consistency?

What is the best practice to set write or read consistency as per number of nodes and RF factor ?

cassandraconsistency
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

We recommend configuring 3 replicas in each of the data centres in the cluster using NetworkTopologyStrategy for high availability.

3 replicas allows for strong consistency using one of the quorum levels LOCAL_QUORUM, EACH_QUORUM and QUORUM. A strong consistency level is recommended in almost all use cases with very few exceptions.

You can read more about it in the Data Replication and How consistency level is configured pages. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.