Rails with FastCGI
Published December 29th, 2005 in RubyI decided that while using mod_proxy with WEBrick is fine for development, it would not realistically do for a production environment. With that in mind, I decided to setup fastcgi. Despite my best efforts, I could not get it to work. I could get FastCGI working with Apache, just not with Rails. I could get it to work with plain old CGI though, so that will do for now. It may not quite have the performance of FastCGI, but I imagine that it should be stable enough for development.
I recently installed [Simple CGI] aka mod_scgi on Ubuntu Dapper Drake, and started up both processes (apache 2 and scgi), and it worked ok. I have documented the server install steps, and I will post the SCGI steps soon.
Thanks for pointing out that SCGI option. I must admit, I was not aware of it until you pointed it out. I’ll keep an eye out for what you document. I have had problems with FastCGI, so I would be glad to switch to SCGI.
I’ll probably wait until the official release in April to do a full in-box upgrade to Dapper Drake (Ubuntu 6.04 for those who don’t follow the Debian ‘aliteration’ naming convention).