What is MongoDB?

MongoDB Overview: MongoDB is an open source database Developed by 10gen and now named as MongoDB It is an agile database and allows schemas to change quickly with very less impact on application.no DDL and the changes can be done from application layer. Scalable,High performance and always available Allow Caching Handle failover automatically  and easy […]

Install MongoDB

Installing MongoDB in your system: Go to MongoDB site and download the MongoDB package for your OS and extract it in your local system you will see a bin folder and inside bin lot of binaries. you will see binary called mongod and that is the actual daemon runs MongoDB mongo binary gives you a client […]

NoSQL and Advantages of NOSQL

Why NoSQL? Bigger data handling capability To handle Volume of data it allows data to be spread across commodity hardware Elastic scaling Scale out the storage Flexible Schema/fixed data model It does not need a organized schema. The schema is dynamic or fixed schema Integrated caching facility To Increase performance, NOSQL cache data in system […]

CAP Theorem

CAP Theorem for a distributed architecture:   Consistency: The data in database remains consistent after the execution of an operation. Example: After an insert operation all clients will see the same data Availability:The System is always On/Available. Partition Tolerance:The system continues to function even if the servers are not able to communicate with each other […]

Cassandra vs MongoDB

Cassandra MongoDB High availability and Incremental scalability Auto sharding for easy scalability Eventually consistent Full index support for high performance Trade – offs between consistency and latency Schemas to change as application evolve and easy readability No single point of failure and Minimal administration Replication and failover for high availability AP on CAP Theorem CP […]