Cassandra is a distributed database system and it runs on multiple nodes at once. The nodes use a peer-to-peer communication protocol to exchange any information.
Some key points regarding Cassandra architecture/functioning:
- Table rows are stored in tables, each with a mandatory primary key
- Data gets first written to log file for durability and then somewhat similar to RDBMS databases, write the data to cache and when cache is full it write the data finally to disk
- Automatically partition the data and replicate it.
- At regular interval, it compacts the data in the database
- Cluster nodes are chosen randomly to fetch the data as per client need
[Post Views: 1]