Question : Vnodes helps Cassandra in which of the following way
A. Tokens are automatically calculated and assigned to each node B. Rebalancing a cluster is automatically accomplished when adding or removing nodes. C. Rebuilding a dead node is faster because it involves every other node in the cluster. D. The proportion of vnodes assigned to each machine in a cluster can be assigned, so smaller and larger computers can be used in building a cluster
1. A,B,C 2. B,C,D 3. A,B,D 4. A,C,D 5. A,B,C,D
Correct Answer : Get Lastest Questions and Answer : Explanation: Virtual nodes, known as Vnodes, distribute data across nodes at a finer granularity than can be easily achieved if calculated tokens are used. Vnodes simplify many tasks in Cassandra:
Tokens are automatically calculated and assigned to each node. Rebalancing a cluster is automatically accomplished when adding or removing nodes. When a node joins the cluster, it assumes responsibility for an even portion of data from the other nodes in the cluster. If a node fails, the load is spread evenly across other nodes in the cluster. Rebuilding a dead node is faster because it involves every other node in the cluster. The proportion of vnodes assigned to each machine in a cluster can be assigned, so smaller and larger computers can be used in building a cluster.
Question : If not using virtual nodes (vnodes), you must calculate tokens for your cluster. 1. True 2. False
Correct Answer : Get Lastest Questions and Answer : Explanation: : If not using virtual nodes (vnodes), you must calculate tokens for your cluster.
Question : Which all is correct, with regards to Gossip protocol?
A. Gossip is a peer-to-peer communication protocol in which nodes periodically exchange state information about themselves and about other nodes they know about. B. The gossip process runs every second and exchanges state messages with up to three other nodes in the cluster. C. A gossip message has a version associated with it, so that during a gossip exchange, older information is overwritten with the most current state for a particular node. D. Every node in the Cluster should work as a seed node
1. A,B,C 2. B,C,D 3. A,C,D 4. A,B,D
Correct Answer : Get Lastest Questions and Answer : Explanation: : Gossip is a peer-to-peer communication protocol in which nodes periodically exchange state information about themselves and about other nodes they know about. The gossip process runs every second and exchanges state messages with up to three other nodes in the cluster. The nodes exchange information about themselves and about the other nodes that they have gossiped about, so all nodes quickly learn about all other nodes in the cluster. A gossip message has a version associated with it, so that during a gossip exchange, older information is overwritten with the most current state for a particular node.
To prevent problems in gossip communications, use the same list of seed nodes for all nodes in a cluster. This is most critical the first time a node starts up. By default, a node remembers other nodes it has gossiped with between subsequent restarts. The seed node designation has no purpose other than bootstrapping the gossip process for new nodes joining the cluster. Seed nodes are not a single point of failure, nor do they have any other special purpose in cluster operations beyond the bootstrapping of nodes.