What's the amount of documents in mongodb in which it starts to get slow?
VulcanWM (2901)

In my last project Drinks Cabin, the website got way to slow because of too many documents in a collection in the mongodb database. Now I'm thinking of adding shards so there will be a certain amount of documents (user profiles) in each collection so it's easier. I'll add the username and its shard number in json (because I feel like it's going to be faster because it's a dictionary).
How many documents should I have in each shard so it isn't slow and there aren't too many shards? (In my last project there were 1609 documents)

You are viewing a single comment. View All
VulcanWM (2901)

but I loop through all of the documents sometimes @RoBlockHead