Cassandra Tutorial For Beginners
Cassandra Tutorial For Beginners
As the technology advances, the data has also expanded and grown exponentially. So,
there is a need for a new database. After many databases, Apache Cassandra came up
eventually, fulfilling every requirement.
https://data-flair.training/blogs/apache-cassandra-tutorial/ 1/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
https://data-flair.training/blogs/apache-cassandra-tutorial/ 2/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
4. Cassandra Features
In this part of Cassandra Tutorial, we discuss some important features of Cassandra:
https://data-flair.training/blogs/apache-cassandra-tutorial/ 3/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
a. Decentralized
Every node in the cluster is identical. There are no single points of failure.
b. Fault Tolerance
Since data is replicated to multiple nodes, fault tolerance is pretty high. Also, any failed
nodes are related with no downtime.
c. Performance
The fundamental architecture of Apache Cassandra is very robust. Therefore, it proves
to be better than the alternatives.
d. Scalable
It is linearly scalable. In other words, the throughput is increased as you increase the
number of nodes in the Cassandra cluster.
e. Proven
https://data-flair.training/blogs/apache-cassandra-tutorial/ 4/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
Apache Cassandra is used at various companies. Some of them are Netflix, GoDaddy,
GitHub, eBay etc.
These features of Apache Cassandra shows that it is actually very powerful and reliable.
S. Release
Version
No. Date
April 12,
1 0.6
2010
January
2 0.7
08, 2011
June 02,
3 0.8
2011
October
4 1.0
17, 2011
April 23,
5 1.1
2012
January
6 1.2
02, 2013
September
7 2.0
01, 2013
September
8 2.1
10, 2014
https://data-flair.training/blogs/apache-cassandra-tutorial/ 5/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
2015
November
10 3.0
11, 2015
11 3.1 –
June 23,
12 3.11
2017
Feb
13 3.11.2
19,2018
6. Cassandra Architecture
The architecture of Cassandrahas various components. Some of them are:
https://data-flair.training/blogs/apache-cassandra-tutorial/ 6/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
a. Node
Data is stored here.
b. Data Center
It is a collection of related nodes.
https://data-flair.training/blogs/apache-cassandra-tutorial/ 7/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
c. Commit Log
It is a mechanism in Cassandra for recovery when it crashes.
d. Cluster
Collection of data centres.
e. Mem-Table
It is a memory resident data structure.
f. SSTable
When the contents of mem-table reach the threshold value, the data is flushed here.
g. Bloom Filter
These are algorithms to test if an element is a member of a set.
h. Compaction
It is the process of freeing up space by merging the large accumulated data files.
https://data-flair.training/blogs/apache-cassandra-tutorial/ 8/9
3/29/2021 Cassandra Tutorial for Beginners | Learn Apache Cassandra - DataFlair
a. Cluster
A Cassandra Cluster is a storage unit for data centers.
b. Keyspace
The outermost storage container for data in Cassandra is keyspace.
8. Cassandra Applications
Cassandra is used for many applications. Some of Cassandra Applicationsare:
https://data-flair.training/blogs/apache-cassandra-tutorial/ 9/9