S

How to Create a MongoDB Replica Set

When you deploy a MongoDB database in a mission-critical application, you can configure a _replica set_ for high availability. A replica set offers redundancy and high availability, which reduces downtime during a disaster because there is no single point of failure. The minimum recommended configuration for a MongoDB replica set is one primary node and two secondary nodes, but replica sets can have up to 50 members. Your application writes only to the primary node, and the secondary nodes repli......

Comments