May 11, 2013
By Severalnines
Replica Sets or Sharded Clusters?
Replica Sets are a great way to replicate MongoDB data across multiple servers and have the database automatically failover in case of server failure. Read workloads can be scaled by having clients directly connect to secondary instances. Note that master/slave MongoDB replication is not the same thing as a Replica Set, and does not have automatic failover.
Since replication is asynchronous, the data on secondary instances might not be the latest.