Posts

Showing posts from March, 2024

Cassandra Architecture

Image
  Cassandra Architecture Cassandra was designed to address many architecture requirements. The most important requirement is to ensure there is no single point of failure. This means that if there are 100 nodes in a cluster and a node fails, the cluster should continue to operate. This is in contrast to Hadoop where the namenode failure can cripple the entire system. Another requirement is to have massive scalability so that a cluster can hold hundreds or thousands of nodes. It should be possible to add a new node to the cluster without stopping the cluster. Further, the architecture should be highly distributed so that both processing and data can be distributed. Also, high performance of read and write of data is expected so that the system can be used in real-time.      Architecture Components : Nodes and Clusters : A node is a single machine running Cassandra, and a cluster is a collection of those nodes. Data Center : A collection of related nodes, typically grouped b