Roger's Brain Dump

June 8, 2007

RoR scaling

Filed under: Uncategorized — Roger Pack @ 12:39 am

So most people complain about Rails not scaling (well, rather, fear it).  It seems that with 10 servers you can host about 45 million hits a day.  And hardware load balancers.  So…that’s kind of expensive, but hey :)

http://www.ruby-forum.com/topic/108421#247177  lists the post.  Also at http://blog.innerewut.de/articles/2006/04/21/scaling-rails-with-apache-2-2-mod_proxy_balancer-and-mongrel they list how they scale using mongrel and “only 5 machines” — ok so it scales, but with tons of machines?  How well do other protocols scale like that?  I would like to see a list of ’scaling’ on each protocol, with the best of practice.  That would be cool.  How about a ’scaling cook-off’?

5 Comments »

  1. of course Django (according to http://www.davidcramer.net/other/43/rapid-development-serving-500000-pageshour.html) needs 13 servers to handle 12 million hits a day, so…umm…that seems similar…hmm.

    Comment by Roger Pack — June 8, 2007 @ 6:34 pm

  2. There was a post to the Ruby on Rails group bemoaning its poor performance of say 150/sec to 200 for Django (or something like that). So in reality Python is say 2x faster. Hmm. The plot thickens… :)

    Comment by rogerdpack — July 21, 2007 @ 5:48 am

  3. so my latest advice would be pound -> mongrels, apache/nginx [?] something like that :) mod_rails for ease

    Comment by rogerdpack — August 20, 2007 @ 8:30 pm

  4. Note that apache2’s load balancer dies after 500,000/hour I think…hmm…

    Comment by roger — September 11, 2007 @ 8:34 pm

  5. http://www.ruby-forum.com/topic/108421#247177 lists successfull scaling…

    Comment by roger pack — September 11, 2007 @ 8:35 pm

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress