[mongodb-user] Re: Loadbalancing MongoDB
Re: Loadbalancing MongoDB
Wan Bachtiar <
Sun, 8 May 2016 23:57:24 -0700 (PDT)
How can i download mongoDB source code for analyze it?
You can find the source code (master) for MongoDB on Github: MongoDB
>. For the latest stable release, which is
currently at v3.2.6
>, you can check
out the tag tree r3.2.6 <
In particolar where i can find the part of code that implements
By ‘load-balancing’, I assumed you mean the sharding balancing
The cluster balancer
responsible for redistributing the chunks of a sharded collection evenly
among the shards for every sharded collection. You could review the code
for for the balancer (current stable v3.2.6) on src/mongo/s/balance.cpp
You may also be interested in:
- Maintaining a balanced data distribution
- Manage Sharded Cluster Balancer
You received this message because you are subscribed to the Google Groups "mongodb-user"
For other MongoDB technical support options, see:
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at
To view this discussion on the web visit
For more options, visit
for more updates.