10 ms·
There 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
by jasonmccay 14y ago
There 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 14y agoCare to explain how, say in linux?
- moe 14y 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.