Recently there is a lot of Hype in Ruby On Rails commonly called ROR . Ruby On Rails claims to be a platform with Rapid development .The problem arises when when people used to the PHP hosting world switch to Rails Hosting . Then people start to realize whey there are millions of WebHosts offering PHP hosting and the joy of publishing by just uploading your files to your shared hosting account and viewing it via the browser.
Things arent that simple in Rails Hosting (at least as of now) causing the Ruby Hosting to be concentrated in the VPS and Dedicated server markets. Although they are few shared hosts ofering ROR, the number is far less compared to PHP hosts .
The current solutions that are being used for ROR hosting are :
1. Proxy pass the Ruby request to ruby specific web servers like Mongrel or Thin and use Apache ,Lighttpd ,Nginx etc as frontends ( The author highly recommends Nginx ) . The problem with this approach is the complexity why is a bit high for someone used to the php shared hosting environment
2. Use a Apache httpd module called mod_rails or mod_rack /Phusion Passenger to parse Ruby code .This projects goal is to achieve something similar to mod_php in Ruby On Rails hosting . This solution is not widely used mainly because Phusion passenger is a new kid and people havent started using it much in production .But with more and more people using Ruby .I guess mod_rails would have greater acceptance in the future for production web hosting in Ruby on rails
* The author is into active Development of WebHosting solutions for Ruby on Rails and can be contacted at anoop@gnusys.net .If you want to implement a production ROR hosting
Posted under Ruby On Rails, hosting, nginx
This post was written by Anoop Alias on November 10, 2008
