Chapter 2. An Architectural Overview

Now we know how to set up and run a Cassandra cluster, so let's take another step and discuss the architecture of Cassandra. Cassandra is a highly available, distributed NoSQL database. Cassandra clusters can be linearly scalable depending on our load requirements. Cassandra has no single point of failure, as it allows us to control the trade-off between consistency and latency based on our requirements. In a Cassandra cluster, there is no master or slave—node all nodes are equal. This way enables Cassandra to read from any node and write to any node unlike some traditional relational databases. Cassandra partitions data among all nodes in its cluster; this partitioned data can be looked up using a key called ...

Get Apache Cassandra Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.