Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
If you’re building an application and using MongoDB’s replication, then you need to know about three application-specific topics. The first concerns connections and failover. Next comes write concern, which allows you to decide to what degree a given write should be replicated before the application continues. The final topic, read scaling, allows an application to distribute reads across replicas. I’ll discuss these topics one by one.
The MongoDB drivers present a relatively uniform interface for connecting to replica sets.