|
|
|
|
|
by mason55
4515 days ago
|
|
Rebalancing shards in MongoDB sucks, especially if you have any kind of traffic. Which means that even if you start out with just a few shards you either need to keep up with growing your number of shards so that none of them are ever more than ~30% full or else you're in for a painful reshard experience. At least this is what happened to me and my encounters with MongoDB (nee 10gen) were unsuccessful in speeding up our resharding. |
|
This cropped up in the "Don't use Mongo" FUD from a few years back.
Eliot from MongoDb responded:
https://news.ycombinator.com/item?id=3202959
In an ideal world, you'd monitor and plan your capacity proactively - I don't think there's really any magic button for - "My system is at capacity - horizontally scale it now, with no downtime!".