Cassandra Multi-Node Cluster
So far, we have been running a single Cassandra node to store all our data. This isn't how it is ideally supposed to run. This defeats the purpose of Cassandra being a distributed database. As you saw in the previous chapter, every Cassandra node stores a subset of data, which is based on the token range assigned to that node. Multiple nodes will have overlapping token ranges in case the replication factor is higher than 1. In our case, the entire token range resides on the single node that we have been running. To demonstrate the distributed nature of Cassandra and take an in-depth look at whatever concepts we learnt in the previous chapter, we will set up a 3-node cluster and perform various operations.
Setting ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access