NoSql Tutorial 9 : HBase Vs Cassandra Vs MongoDB

Cassandra
When to use Cassandra
These are some cases when to use Cassandra,
·         If we are looking for simple setup, maintenance ,code.
·         Since all the administration tasks are automated. Scale up ,scale down, adding nodes will be done fast.
·         Very high velocity random read and writes.Because of the columnar architecture .
·         Flexible spare/wide column requirement.
·         No multiple secondary index needsBecause it effects the overall performance of the Cassandra, it is  mainly suitable for non-group by systems.
·         No Groups and No joins should be their.

When not use Cassandra
These are some scenarios when not to use Cassandra database.
Cassandra is query modeled concept, while modeling we will see mostly used queries ,hence dynamic queries model on column will effect overall performance.
·         Secondary Indexes
·         Relational data
·         Transactional (Roll back, Commit)
·         Primary and Financial records
·         Stringent security and Authorization needed for data
·         Dynamic Queries on column
·         Searching column data
·         Low Latencey

HBase
When to use HBase
·         Hbase is the best system to use with hadoop and map reduce.
·         It is optimized  for reads
·         Well suited for doing range based scans. Data will be  stored in blocks hence it is easy to run map reduce in this to perform operations.
·         Applications which need strict consistency can use this.
·         Facebook messenger uses this system.
When not to use HBase
·         It is not optimized for classical transactional applications or even relational analytics.
·         Applications that need full table scans, data to be aggregated, rolled up and analyzed across rows were not suitable.


MongoDB
When to Use MongoDB
·         It is consider as RDBMS replacement of web applications.
·         It will gives additional fault tolerance that is not given by RDBMS
·         If we want simple replacement of Mysql from RDBMS point of view Mongodb will be best choice.
·         If we need Real time analytics and high speed logging.
·         Caching and high scalability is needed.
·         High performance and schema free applications.
Use Case:
Craigslistis a classified advertisements websiteuse mongodb
·         It uses mongodb for archived posts
·         It migrated two billion plus posts into mongoDB from Mysql.
When to Use MongoDB
·         Applications with high transactional application

·        Applications with a lot of joins, foreign key constraints.

Comments

  1. As technology grows, we have to be updated in our domain to sustain in the IT industry. Your post made me impressed in the way of your writing.
    Big Data Training in Chennai | Big Data Training

    ReplyDelete

Post a Comment

Popular posts from this blog

Hive Tutorial 31 : Analytic Functions

Hive Tutorial 37 : Performance Tuning

How to change sqoop saved job parameters