MongoDB load balancing

I looked at the best load balancing option for concurrent users with Mongo DB. I looked at Master Slave replication, but I don’t think it will lead to balance. Are there open source load balancers for Mongo DB?

I looked at Sequoia, but it looks like this project is no longer actively supported.

Please note: the data is not very large, nor are they used for plastering.

+7
source share
1 answer

both Master Slave and Replica Sets will load the balance into MongoDB if you install slaveOK in your driver.

When slaveOK is enabled, MongoDB drivers direct all reads to secondary / slave devices.

This provides relatively effective read balancing; to balance the record is your only option. There must be a splinter.

+12
source

All Articles