Articles

Understanding the architecture of Cassandra

Image
In this blog, I will introduce the Apache Cassandra according to the introduction provided by Datastax documentation and videos .  We must firstly understand what is NoSQL Databases and then the Cassandra architecture. We used to work with the traditional SGBD the relational database like mysql or PostgreSQL. RDBMS are fine to manage a Medium data: They guarantee ACID   (Atomicity, Consistency, Isolation, Durability). They scale vertically that means the data resides on a single node and scaling is done through multi-core i.e. spreading the load between the CPU and RAM resources of that machine. But we must thinking about "Can RDBMS work with Big data?" The data is replicated asynchronously. It's difficult to run full read/write in parallel.  Consistency Sharding is a Nightmare! One point of failure: High avalability   so how can we recover data if there is a problem in the system? Scaling up is expensive! What if the application