Mongrels used way too much ram. My little underpowered VPS couldn’t handle running a cluster of mongrels in addition to everything else I’ve got going on. Enter mod_rails and Ruby Enterprise Edition. These two free products of Phusion provide a nice, easy to setup alternative to standard Ruby and Mongrel. I was able to remove Mongrel from my startup and use an Apache2 module for running RoR. The only hickup I ran into was needing to reinstall a specific version of rails. The Ruby Enterprise Edition installed seemed to pick up the newest version (2.3.2), but apparently I had a dependency on 2.2.2. Once I got that straightened out I was able to reclaim precious megabytes of RAM. I once again have enough breathing room that I can focus on something other than optimizations.
|
|
Entries (RSS)