Why we love Mongo

Why we love Mongo

mongoDB-logoWhat Java is to open source that is what Mongo is to NoSQL databases. MongoDB is one of the leading open source NoSQL databases available and few encounters with it have made me fall in love with it.
Since SOLR(open source search engine), no product has caught my attention and affection as much as Mongo. It is extremely straightforward to get started with the prototype and equally straightforward to move to a large production setup.
In this post, I am not going to talk about the usual reasons why NoSQL databases are good, but what are the few reasons, which make working with mongo such a joy.

Awesome documentation and tutorials
Visit Mongo site and you will find all information in a very structured and beautifully presented manner. 10gen guys (MongoDB creaters) also provide mongodb trainings via university.mongodb.com and the tutorials are of extremely good quality. It is on par, if not better, than courses offered on coursera or edx.

Aggregation framework
Mongo provides simple javascript based map-reduce framework for aggregating large results. However it also provides an aggregation framework, which is simpler and performs better. One can write an aggregation query, in which the documents in a collection pass through different steps in the pipeline and get transformed. This is similar to pipe in UNIX.

Mongo shell uses javascript. Map-reduce jobs can also be written in javascript. This is super easy for most developers. It uses JSON format for each document (BSON internally), which is easy to understand and manipulate.

Free monitoring service on cloud. Visit https://mms.mongodb.com/. You can configure monitoring with a couple of quick steps to monitor the state of your mongodb cluster and get notifications.

Having said that, MongoDB might not be suitable for all big data use cases. It is extremely easy to work with mongo with all the support available, but there are many cases where you can get stuck at a later stage if the system is not designed properly. In another post, we will delve into that in detail.

Leave a Comment

Your email address will not be published. Required fields are marked *

= 3 + 8