Hi Neha,


I guess it depends why you are adding a new node – do you need more storage
capacity, do you want better resilience, or are you trying to increase
performance?



If you add a new node with the same amount of storage as the previous two,
but you increase the RF, you will use up all of the storage you have added
by replicating the existing data onto the new node. If you keep it at RF=2,
once you have done all the bootstrapping and cleanup then your usage on the
existing two should decrease by about 30% (of their total size).



However, if it is resilience you are after (being able to take down nodes
without losing availability) then increasing the RF will give you this, at
the expense of using more storage.



Hope that helps.



Cheers,

Matt





*From:* Neha Trivedi [mailto:nehajtriv...@gmail.com]
*Sent:* 27 April 2015 16:46
*To:* user@cassandra.apache.org
*Subject:* Best Practice to add a node in a Cluster



Hi

We have a 2 Cluster Node with RF=2. We are planing to add a new node.

Should we change RF to 3 in the schema?
OR Just added a new node with the same RF=2?

Any other Best Practice that we need to take care?

Thanks

regards

Neha

Reply via email to