concept production deployment in category mongoDB

This is an excerpt from Manning's book MongoDB in Action, Second Edition: Covers MongoDB version 3.0.
Master-slave replication and replica sets use the same replication mechanism, but replica sets additionally ensure automated failover: if the primary node goes offline for any reason, one of the secondary nodes will automatically be promoted to primary, if possible. Replica sets provide other enhancements too, such as easier recovery and more sophisticated deployment topologies. For these reasons you’d rarely want to use simple master-slave replication.[1] Replica sets are thus the recommended replication strategy for production deployments; we’ll devote the bulk of this chapter to explanations and examples of replica sets, with only a brief overview of master-slave replication.
votes —All replica set members get one vote by default. The votes setting allows you to give more than one vote to an individual member. This option should be used with extreme care, if at all. For one thing, it’s difficult to reason about replica set failover behavior when not all members have the same number of votes. Moreover, the vast majority of production deployments will be perfectly well served with one vote per member. If you do choose to alter the number of votes for a given member, be sure to think through and simulate the various failure scenarios carefully. This member has an increased number of votes: { "_id" : 0, "host" : "iron:40000", "votes" : 2 }