Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

ashok.dcosta_187920 avatar image
ashok.dcosta_187920 asked ·

What replication factor is required for a consistency level of QUORUM?

To achieve strong eventual consistency level of Quorum What replication factor that it needs to meet ? Is it RF=1 or RF=2 or RF=3 ?


Pls. advise.

Thanks

cassandrareplication
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 ·

The consistency level determines the number of replicas queried for the read or write request. The consistency doesn't specify what the replication factor should be defined on the keyspace being queried. This is explained in some depth in How consistent read and write operations are handled in Cassandra.

Independent of the consistency level you configure for read and write requests, we recommend configuring three replicas in each data centre for high availability. With three replicas in one data centre, your application can tolerate a node outage when using a strong consistency of LOCAL_QUORUM.

For more info, see Data replication in Cassandra. 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.