Work with Cassandra
2 min readMay 17, 2018
Cassandra?
Cassandra is a database technology to store complex and huge level of data as reliable data-source. It is created by Facebook, shared as an open-source project. Now it is driven by Apache. Datastax has full community and premium support for it.
Speciality:
- Cassandra is a no-sql schema free database.
- Cassandra has a fault-tolerant architecture with multiple nodes in a cluster so that it can be active 24*7.
- Cassandra is highly scalable, simple with ring based connected node.
- Cluster’s node same copies of data, Cassandra maintains duplication of data so that if a node is failed to server data, others can.
- Cassandra uses a gossip protocol to communicate among the nodes.
- We can insert as many data in Cassandra DB, but reading in Cassandra is more costly than writing.
- Cassandra uses SQL like query cql (Cassandra query language) is easy to use.
- We can have millions of columns and rows in Cassandra
- Cassandra is very good for time series database applications.
- It is based on distribution database architecture, so data are circulated evenly among the nodes.
- We can add columns attributes in runtime in a table(column family). Here DB is called keyspace.
- In Cassandra data modelling is the key, we create and design tables as per query basis.
- Cassandra can be easily contained huge million, billions of data easily.