Recently I have installed RoR on my cPanel server and things seem to be working fine. However, some Ruby developers I have spoken with (I don't know no ruby so far) claim that the only acceptable method is to use a server like mongrel rather than FastCGI to handle the Ruby on Rails apps. Since mongrel only works with Apache 2.2 and since cPanel doesn't support Apache 2.2 does this mean that providing RoR on Apache 1.3 + FastCGI on a cPanel server is not a good idea? Or is this sort of a claim one of those "ideal situations" scenarios where it will be better on the mongrel setup but will work OK with the FastCGI setup.
Quote from Time For A Grown-Up Server: Rails, Mongrel, Apache, Capistrano and You... My “banging tin pots together” benchmarking with httperf indicated that where the Apache1.3+FastCGI setup on Dreamhost could handle ~30 reqs/sec before it would start dropping connections, the Apache2.2+Mongrel setup on a 128MiB Rimuhosting VPS can handle ~90 reqs/sec before things get hinky. In addition, the amount of downtime due to lost worker threads or fudged FastCGI connections was nil. The only times the site went down could be directly traced to me cutting first and measuring second.
Apache+Mongrel is shaping up to be the preferred deployment platform for Rails applications. ...
I see that cPanel is moving towards Apache2 but who knows how long that will be![]()



LinkBack URL
About LinkBacks
Reply With Quote









