Architecture and Data Model of Apache Cassandra
Comprehending architecture: peer-to-peer, node, rack, data center, cluster. Grasping data model: column, row, column family, keyspace, CQL, Google BigTable, super column family
Published in
4 min readJul 16, 2020
Table of Contents
⦁ Introduction
⦁ Cassandra Architecture
⦁ Cassandra Data Model
⦁ References
Introduction
System and hardware failures can occur at any time. Cassandra stores data on many nodes with a peer-to-peer distributed architecture. If a node fails, another node can be used.
The Cassandra data model uses the same terms as the relational data model, for example, table, column, row, etc., but has different meanings.
Cassandra Architecture
- Node
- basic infrastructure components Cassandra
- an instance of Cassandra
- a place to store data that is part of the database
- partition: data structure uniquely identified on a node. - Rack
- a logical collection of one or several nodes. - Data center
- a set of logical one or a few racks
- different workloads using a…