For my new application , I am planning to implement customized distribution over multiple mongo databases. Will that scale well with mongoengine using switch_db ?
I am using tornado server.
Some more information.
(My userids (uid) are generated so that they belong to a specific db among my db servers.)
Messages between two users uid1 , uid2 i'll take the minimum of uids and get the sever specific for that uid , and all these messages will go into that server. Not a good example , but forgetting the actual data distribution I want to know using switch_db function with a custom distribution in mongoengine vs mongodb default sharding in terms of scaling or any major drawbacks. I feel there will be greater control when done with my application. Any helpful thoughts appreciated.
Specific reason as i assume for my wish to use application based sharding is my data is heavily tag oriented and practically no scans over the data.