load balancing between multiple mongos instances in mongodb cluster

825 views Asked by At

I have several mongos instances. I have ruby and node.js application. I can put the hosts of all the mongos instances to mongodb connection URI. The ruby and node.js drivers can handle the failover. But can the two drivers do balancing between the multiple mongos instances? Why the document suggest us to make each application to only one mongos instance. Besize cursor issue, are there any other reasons? So can I put several mongos hosts into one URI?

Is there any example to set up a standalone load balancer for multiple mongos instances in production?

0

There are 0 answers