MongoDB Replication working

0
827

Introduction

In this article, we learn MongoDB Replication working. The Replica offers minimum downtime in case hardware failure and software failure maintenance.

Prerequisite

It will good to cover my articles before this. It helps to learn more about MongoDB.In which I explained. Click here How can Manage Reference in MongoDB and MongoDB Limit Document working and MongoDB projection working.

Why Replication

  1. Keep data safe
  2. Higy availability of data(24*7)
  3. Disaster recovery
  4. Replication transparent to the application

MongoDB Replication

The data replication is the process by which the data is copy to multiple locations (Different computers or servers) to improve the availability of data. The Replication means synchronization of data at multiple servers.its also provides the facility of fault tolerance in case of failure because of data at multiple sites. The Replication provides redundancy and increases the availability of data. The change made in one replication should and will reflect all other replicas. The Replication enables many users to work with a local copy of the database and manage backup recovery and disaster management.

Alt Tag MongoDB Replication

A replica set is a group of MongoDB instance that host the same data set. It consists of the primary and second replica. The primary data received all write operation. The replica set only one primary data set remaining another secondary instance like Replica 1 and replica 2 etc. replica set provides strict consistency. The single change made in primary data also reflect in the other replica as well.

Conclusion

I wish I could tell you that a great site of MongoDB.you just understands key element above post-MongoDB Replication working.More, detail about MongoDB Replication, please click here Replication MongoDB.You also read my previous lecture.I hope you will understand this lecture.Thank you for reading this lecture. Hope you got the idea. please share it.If you find any mistake or confusion Commit on reply section.