I'm following these guidelines to set up Cassandra Reaper.
https://docs.dataminer.services/user-guide/Advanced_Functionality/Databases/Cassandra_database/Installing_Cassandra_Reaper.html
What replication settings should be used for the most common use cases?
- 1 single node
- 2 nodes on the same network
- 3 nodes on the same network
And maybe a silly question, but does it even make sense to have it running for a single node? Or is this only going to do anything when there are two nodes in the Cassandra cluster?
Hi Jeroen,
In general (not only for the keyspace of Reaper), it is best practice to keep the number of nodes a multiple of the RF. It doesn't make sense to make the RF higher than the number of nodes.
So the advice would be to choose between the following RF based on the needs:
- 1 node: RF1
- 2 nodes: RF1 or RF2
- 3 nodes: RF1 or RF3
Keep in mind that with RF1 you only have one copy of the data, so you can't cope with a node going down. With RF2 and consistency level ONE, you can cope with a node going down.
If you are only planning to use RF1, then there is no need for repair actions. Setting up Cassandra Reaper with only one node (or a cluster only using RF1) is therefore not needed.