3 ms·
I was wondering the same. It's pretty standard for databases to not be very good about sharing with others, memory-wise. That's why having a dedicated server
by bunderbunder 15y ago
I was wondering the same. It's pretty standard for databases to not be very good about sharing with others, memory-wise. That's why having a dedicated server is such a popular best practice for non-puny applications. And MongoDB says it's not designed for puny applications right there in its name.
- jasonmccay 15y agoThere are fairly straight-forward ways to control memory usage in MongoDB, especially if this is a concern for you. All you need is a bit of OS know-how and it works just fine. We run both large (multi-shard clusters) and small memory (500MB - 2GB) use instances of MongoDB and have no problems. It would be good to have developers acknowledge that, perhaps, they may not have all the information instead of declaring that something can't be done.
- rbrcurtis 15y agoCare to explain how, say in linux?
- moe 15y agoEither jason has something really interesting up his sleeve or he simply doesn't know what he's talking about. Last I checked linux had no interfaces to partition the pagecache in a meaningful way, short of rather extreme gymnastics involving kernel-patches or tmpfs abuse. If that has changed then I'd certainly also be curious to hear about it.