Earlier quoted context omitted.
Why do applications think they can manage my memory better than my kernel?
Actually, MongoDB does leave memory management to the kernel by using MMAP to access data files. Most kernels will allocate a lot of memory to the disk cache, which can make it look like mongo is eating all of your ram.
Why You Should Be Using Virtualisation In Your Development Environment
41–44 of 44 posts
This. It's one of the brilliant things about mongo. The downside is that after a reboot it's up to you to get the OS to warm those caches back up.
Re: Why You Should Be Using Virtualisation In Your Development Environment
#42If your really serious about developing stuff what will end up running on a Linux server, I think you should really be using Linux on the development machine. I know that is not always practical, but more people should do it. No one would dream of writing a Mac app on Windows, and I don't see why Linux should be any different.
If you're targeting a server it can absolutely make sense to run a different OS than your target platform on your /desktop/ computer.
Re: Why You Should Be Using Virtualisation In Your Development Environment
#43How do you handle version control in this environment? Locally on the mac or in the virtual server?
I keep all my code locally and have my testing machine (in my case an old laptop but should work the same with VM) map to that dir, so the server is alwas running the code that I am working on, no syncronization step slowing me down. :)
Re: Why You Should Be Using Virtualisation In Your Development Environment
#44Our servers run CentOS. None of our developers would dream of running that as a desktop OS. Some just use Ubuntu and call that good, but I like to have my testing environment as identical to production as possible, so I took an ancient laptop with a busted display and slapped CentOS on it. As I mentioned in another comment, I set up samba so I can have apache pointing directly to my project folder on my dev machine.
It makes for very convenient testing and it has helped me catch issues others didn't see on their distros, mostly because CentOS has ancient versions of everything and sometimes people don't realize they are relying on a feature that was introduced later.