6 Things You Should Know Before Using MongoDB

If you like this presentation – show it...

Slide 0

Slide 1

MongoDB is a very impressive document store database that can be used in most types of app development projects. It’s built using C++ language and is available for free as an open source edition. About MongoDB

Slide 2

So much so that it is now a part of dedicated technology stack- MEAN stack where M goes for MongoDB. MongoDB has become the most popular NoSQL database

Slide 3

We here at Algoworks have used MongoDB for multiple mobile app development projects

Slide 4

and in this slide I will tell you exactly why MongoDB is popular than other databases.

Slide 5

Why use MongoDB?

Slide 6

The main and the biggest benefit of MongoDB is that it is a no-fixed-schema database architecture. Why use MongoDB?

Slide 7

The next reason for choosing MongoDB is because of its document store nature which is very useful in multiple use cases. Why use MongoDB?

Slide 8

But that’s not all Here are a few more reasons why you should choose MongoDB: Why use MongoDB?

Slide 9

Performance in Ad Hoc Queries Why use MongoDB? 1

Slide 10

The biggest advantage of MongoDB over other databases is its performance under pressure especially when handling ad hoc queries on data that are usually updated in real time. Performance in Ad Hoc Queries

Slide 11

For this experiment we used a Linode server with following configurations 4 core 2.80GHz each 4096 MB RAM Experiment On MongoDB In an experiment that we carried out on MongoDB performance for one of our projects we found that MongoDB can handle up to ~3 queries per millisecond easily. Performance in Ad Hoc Queries

Slide 12

Consistency Why use MongoDB? 2

Slide 13

MongoDB is most suited for applications which require consistent data presentation for users. Consistency

Slide 14

If your main aim is availability of database for just data entry during data visualization, consistency is not an issue (like for example in a social network), then you can go with CouchDB or some other counterpart. Consistency

Slide 15

Location Based Query Feature Why use MongoDB? 3

Slide 16

Location Based Query Feature MongoDB is the only free document storage NoSQL database with inbuilt geo-spatial features.

Slide 17

MongoDB is the best choice if you are going to build an app that has location based features like location finding, location based event tracking etc. Location Based Query Feature

Slide 18

Scalability Why use MongoDB? 4

Slide 19

Scalability The database scalability is handled via innovative Sharding which is pretty unique in its own.

Slide 20

We especially liked MongoDB’s performance in replicating the data and creating replica set to increase availability and consistency. Scalability

Slide 21

Load balancing on Multiple Servers Why use MongoDB? 5

Slide 22

Load balancing on Multiple Servers Most document storage databases are equipped with features to allow scalability over multiple servers. MongoDB is no exception.

Slide 23

JSON based document storage schema Why use MongoDB? 6

Slide 24

JSON based document storage schema MongoDB uses JSON (JavaScript Object Notation) based document storage schema called BSON.

Slide 25

The main benefit of this format comes in use-cases where you would have to integrate your app with other platforms. For example YouTube API outputs its data in JSON format so MongoDB is great in handling those request. JSON based document storage schema

Slide 26


Slide 27

MongoDB is magnificent The database is best suited for creating CMS platforms, blogging platforms, data analytics platforms, e-commerce portals, document storage portals, Metadata storage, and location based applications.

Slide 28

Author Co-Founder & Director Leading the mobility business development function, mobility strategy and consulting practice at Algoworks. Expert of all mobile technologies with experience in managing teams involved in the development of custom iPhone/iPad/Android apps. Rachit Agarwal Write to me at rachit@algoworks.com

Slide 29

Mail us at: sales@algoworks.com support@algoworks.com Official Blog Link - http://www.algoworks.com/blog/6-things-you-should-know-before-using-mongodb