What is meant by a node in cassandra?

What is meant by a node in cassandra?

Cassandra Node is a place where data is stored.

Data center is a collection of related nodes.

A cluster is a component which contains one or more data centers. In other words collection of multiple Cassandra nodes which communicates with each other to perform set of operation.

  • In Cassandra, each node is independent and at the same time interconnected to other nodes.
  • All the nodes in a cluster play the same role.
  • Every node in a cluster can accept read and write requests, regardless of where the data is actually located in the cluster.
  • In the case of failure of one node, Read/Write requests can be served from other nodes in the network. enter image description here

Cassandra is a distributed database management system designed to handle large amounts of data across many commodity servers. Like all other distributed database systems, it provides high availability with no single point of failure.

You may got some ideas from the description of above paragraph. Generally, when we talk Cassandra, we mean a Cassandra cluster, not a single PC. A node in a cluster is just a fully functional machine that is connected with other nodes in the cluster through high internal network. All nodes work together to make sure that even if one of them failed due to unexpected error, they as a whole cluster can provide service.

All nodes in a Cassandra cluster are same. There is no concept of Master node or slave nodes. There are multiple reason to design like this, and you can Google it for more details if you want.

Theoretically, you can have as many nodes as you want in a Cassandra cluster. For example, Apple used 75,000 nodes served Cassandra summit in 2014.

Of course you can try Cassandra with one machine. It still work while just one node in this cluster.


A node is the storage layer within a server.

Newer versions of Cassandra use virtual nodes, or vnodes. There are 256 vnodes per server by default.

A vnode is essentially the storage layer.

  • machine: a physical server, EC2 instance, etc.
  • server: an installation of Cassandra. Each machine has one installation of Cassandra. The Cassandra server runs core processes such as the snitch, the partitioner, etc.
  • vnode: The storage layer in a Cassandra server. There are 256 vnodes per server by default.

Helpful tip:

Where you will get confused is that Cassandra terminology (in older blog posts, YouTube videos, and so on) had been used inconsistently. In older versions of Cassandra, each machine had one Cassandra server installed, and each server contained one node. Due to the 1-to-1-to-1 relationship between machine-server-node in old versions of Cassandra people previously used the terms machine, server and node interchangeably.