When we shard a collection MongoDB distributes its data across all the shards of the cluster. MongoDB uses chunks, split and round balancing for getting it. For all of you who want to read about it here it is our last post MongoDB Pre-splitting. This is how MongoDB allows our […]
sharding
3 posts
In the post How to set up a MongoDB Sharded Cluster we studied how to set up a MongoDB Sharded Cluster. Its goal, as we already know, is to scale and to balance the workload uniformly across all our shards. Today, we are going to learn what to do in order to […]
Definition A sharded cluster is a set of Replica Sets (shards) whose mission is to distribute the load uniformly, so that we can scale horizontally our applications in order to work with huge amounts of data. Advantages of a sharded cluster The main features of a sharded cluster are: