Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Replication > Drivers and replication

8.4. Drivers and replication

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.

8.4.1. Connections and failover

The MongoDB drivers present a relatively uniform interface for connecting to replica sets.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint