O'Reilly logo

MongoDB High Availability by Afshin Mehrabani

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 3. Clustering in MongoDB

As a database gets larger, you need to come up with solutions to improve its performance to support more queries over a period of time and throughput. The most common solution in databases is clustering. Using clustering, you can save data across multiple servers and obviously, share and distribute the pressure of data between different servers. In this chapter, you will learn the basic concepts of clustering in MongoDB.

Sharding in MongoDB

MongoDB has a great solution to provide clustering. Sharding is one of the remarkable MongoDB features that enable developers to easily create a cluster in MongoDB using different mongod instances in between the servers.

Sharding consists of various parts such as replica sets and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required