PHP or RoR for Web 2.0 Sites?
It seems that in the thick of all these Web 2.0 sites, RoR has become one of the popular language/platforms that’s being used and demand for Ruby on Rails hosting is growing (or so I thought).
In any case, I am looking at it on the (shared) hosting perspective and weighing in on the economics in providing such services.
First, is RoR the best language/platform to use? What about PHP, Cold Fusion or ASP.NET? Most of the really huge Web 2.0 sites I know of are running PHP — Digg.com, Friendster. And while there a tons of Web 2.0 sites running RoR in a list I found here, only BaseCamp by 37signals.com sounds familiar.
Second, Web 2.0 sites are supposed to be community-driven and with that computing power is vital to its operation. Hence, comes the question that sites created specifically for communities in the thousands and even hundreds of thousands needs to be scalable which requires multiple servers and the lot. Well, digg.com did start with a single dedicated server in its first few months of operation. My concern is that a shared hosting environment might not be a good starting point for serious Web 2.0 projects, unless you’re in it for some fun and tickering on the side.
Third is the cost. Will RoR hosting be as cheap as standard packages for PHP, ASP/.NET, Cold Fusion or Java? I did a quick search for hosting companies and found that the really big ones are providing RoR on the same price point as their basic Linux packages. As I explained above, the shared hosting environment might drastically affect resource allocation and processing power which eventually dictates cost. It’s another story though if you’re running it on a dedicated server.
Lastly, there’s this story that got Dugg (made it to the frontpage) a few months back about “Why Ruby on Rails won’t become mainstream“.
[tags]ruby, rails, web hosting, linux, fastcgi, php, cfm, asp, programming[/tags]