How replication works in MongoDB?

Technology CommunityCategory: MongoDBHow replication works in MongoDB?
VietMX Staff asked 3 years ago

A replica set consists of a primary node and a secondary node too. With the help of a replica set, all the data from primary node to the secondary node replicates. Replication is a process of synchronizing the data. Replication provides redundancy and it also increases the availability of data with the help of multiple copies of data on the different database server. It also protects the database from the loss of a single server.