-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Hello,
I'm having some performance concerns with huge number of clients and a single MongoDB instance.
on heavy load there are a lot of waiting read commands in the mongo queue (almost 200)
So my first question : what would be the best way for scaling out ?
-using replication
-using sharding.
Firstly I'm not used to Mongo, and i dont know if replication would completely remove blocking read !
Secondly, we'd need to supply a list of mongo instances URL and some ReadPreference to the java driver in MongoBootstrap class
Would sharding be a more flexible solution ? (if room activity is correctly distributed among shards, blocking read would drastically decrease ?)
Kind regards
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels