
114 | Big Data Simplied
stated that out of these three variables, two
can be achieved at the most, at a time.
• Cassandra is designed such that it has no
master or slave nodes. It has ring-type
architecture, i.e., its nodes are logically
distributed like a ring.
• In Cassandra, the data is automatically
distributed across all the nodes. Similar to
HDFS, data is replicated across the nodes
for redundancy. Data is kept in memory
and lazily written to the disk.
• When write request comes to the node in
a Cassandra cluster, first of all, it logs in
the commit log. Then Cassandra writes
the data in the memtable. Memtable is a
temporarily stored ...