Question-66: Can you please tell something about “GossipingPropertyFileSnitch”?

Answer: This is the Snitch which is recommended for production environment, it uses Rack and datacenter information for the local node define in the “casandra-rackdc.properties” file and helps in propagating this information to other nodes via gossip protocol.

Question-67: is there a separate snitch for cloud deployment?

Answer: Yes there are different snitches like “EC2Snitch” , “Ec2MultiRegionSnitch”, “GoogleCloudSnitch” etc. 

Question-68: Why does node repair is required in Cassandra database?

Answer: As time passes data in a particular node become inconsistent with other nodes replica and this generally happens in distributed environment. Hence, with the help of node repair this kind of inconsistencies can be repair and all the nodes have the same and most up to date data. In case of Cassandra this can be achieved using the node repair tool.

Question-69: What all are the common repair mechanism are used in Cassandra cluster?

Answer: usually below 4 repair mechanism are used

  • Using NodeSynch background repair utility.
  • Hinted handoff.
  • Read repair.
  • Anti-entropy repair.

Question-70: Can you brief us about NodeSync repair utility?

Answer: Node sync it is a repair mechanism which runs in the background and this a service which has a low overhead and provides the consistent performance and does not require any manual effort to run repair operation. Remember NodeSync should be enabled for each table separately.