In this article, we learn MongoDB Replication working. The Replica offers minimum downtime in case hardware failure and software failure maintenance.
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.
- Keep data safe
- Higy availability of data(24*7)
- Disaster recovery
- Replication transparent to the application
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.
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.
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.