Dreamhost Hates Rails

I’ll admit it, that title is wayyy too sensationalistic. But I think it fits right in with all the back and forth blog posts that have revolved around a recent post at the Dreamhost blog talking about the problems with running Rails apps on shared hosts. Seeing as how I’ve tried, with mixed results, to run Rails apps on a couple different shared hosts, as well as on a VPS with root access, I thought I would throw out a few of my own opinions on the article.

Dallas, the person at DH who wrote the post, starts off by stating how hard it is to get Rails apps up and running, and to keep them running. I find that statement a little hard to believe, considering the only problem I’ve ever had running a Rails app was on Dreamhost. When I started using Mongrel instead of FastCGI, I had no problems whatsoever starting, or maintaining a Rails app. Although, as Dallas states, Dreamhost has 10 years of experience in the hosting business. So of course they must know more than anyone else…/sarcasm

He then goes on to state that Dreamhost decided to go with Apache/FastCGI because it was the best solution for shared hosts, and throws in a bunch of passive aggressive cheapshots at Rails for good measure. Oh, and he’s not done yet! He decides to take a shot at the Rails developer community as well by saying they know nothing about web hosting because they recommended DH switch to another web server. The nerve of those pesky developers! Suggesting that DH should possibly be flexible and willing to change their server setup so that their customers would have a better experience. Dallas seems to be especially pleased that DH didn’t switch because Mongrel was released soon after and became the new standard for hosting Rails apps. Who would have ever thought that a new server would be written for a relatively new framework. Obviously, the usual way to do things is to create a framework, and then stop all development entirely so that shared hosting companies won’t be inconvenienced by so called “advancements” in technology.

The funniest thing about this post is that there are many shared hosts who have absolutely no problems serving Rails apps. The difference between those hosts, and Dreamhost, is that they are willing to be flexible, and modify their server configurations to run things like Mongrel. In my opinion, Dreamhost is just trying to cover their own ass because of their subpar Rails support. If they really cared about Rails, they would be willing to do the work required to make Rails work on their servers, rather than laying the blame and responsibility on the Rails community.

The smarter thing to do here would have been to actually come up with a technical solution to their problem, and then share it with other hosts who were having the same problems. I guess it’s just way easier to complain than to be part of the solution.

2 Comments

  1. Posted March 10, 2008 at 5:58 pm | Permalink

    James,

    I noticed you have been having some troubles with Rails on a shared server. Although it may not be the solution you are looking for, cakePhp offers a lot of the same functionality as rails and helps to eliminate the server problems with rails. I don’t know any cms systems with cake but it wouldn’t take much to build a web logo to suit your needs.

    Bob

  2. Jamie
    Posted March 10, 2008 at 8:00 pm | Permalink

    I’ve looked at both CakePHP and Code Igniter, and while they both use the MVC pattern, I just can’t get past the language. Ruby is so much more elegant than PHP that I’m willing to spend a little more time on deployment if it means I can use Ruby and Rails.

    And to be honest, deployment isn’t that hard if you’re not on shared hosting. I use a VPS from Slicehost now, which gives me root access to my server. This makes it extremely easy to install and run whatever I want.

    The problem with shared hosting is that FastCGI seems to have some severe stability problems in the commodity shared hosting environment. On my VPS, I run a few Mongrel instances, and then just stick a load balancing reverse proxy out front like NginX. Works like a charm. It’s a fast, stable, and flexible solution.

    If you have to use PHP though, CakePHP is definitely a good framework. I know quite a few people who use it for most of their projects.

One Trackback

  1. By Why I Went Back To Wordpress on November 16, 2008 at 10:09 pm

    [...] find it rather ironic that I made the move back to a PHP based application after my rant about how Dreamhost Hates Rails, but the reasons for it have nothing to do with Rails vs. PHP, but have more to do with Simplelog [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*