Mongo Replica Set Unbalanced Workload Distribution

31 views
Skip to first unread message

VJ

unread,
Jan 2, 2013, 5:37:38 PM1/2/13
to mongod...@googlegroups.com
Hello.  We are heavy users of Mongo 2.2 replica sets.  I've noticed that for some replica sets, certain nodes will be heavily accessed (loadavg > 40) while at the same time other nodes will be under utilized.  I've experimented with removing the "busy" node from the replica set and adding it back to distribute the workload more evenly.  My hunch is that the worker processes accessing the replica sets "bind" themselves to a particular node and stay "bound" to that node even if it is super busy.

This is probably not a Mongo issue, but we need a solution to more evenly balance our workload.  We're considering writing a layer in front of the replica set, possibly using ZooKeeper.

I would appreciate any ideas or recommendations.  Thanks in advance.

Anton Volokhov

unread,
Jan 14, 2013, 11:30:30 AM1/14/13
to mongod...@googlegroups.com
Hello. We experience similar behavior. Our workaround is to set up multiple mongod instances on a single machine (https://groups.google.com/forum/?fromgroups=#!topic/mongodb-user/8U9t4MTvhQI), but it doesn't look like an optimal solution. Any other ideas?
Reply all
Reply to author
Forward
0 new messages