Rails Scalability and Performance! This is an interesting topic.
I am very interested in what is "state of the art" yet safe for production. I just looked for Rails performance tuning books at Amazon.com I found 1 which looks a little dated but probably still useful: Enterprise Rails by Dan Chak I looked over the table of contents. It looks like Dan Chak likes to extract performance gains using caching and tuning the database (PostgreSQL). I expanded my search to "websites" in general: http://www.google.com/search?q=website+performance+tuning+books Another thing which caught my eye is this: http://heroku.com/how/architecture >From that URL I would be tempted to follow these lines of inquiry: http://docs.heroku.com/http-caching http://www.google.com/search?q=nginx http://www.google.com/search?q=gzip+compression http://www.google.com/search?q=varnish+http+cache http://www.google.com/search?q=routing+mesh http://www.google.com/search?q=load+balancer http://www.google.com/search?q=compiled+ruby http://www.google.com/search?q=ruby+vm http://www.google.com/search?q=thin+based+on+mongrel http://www.google.com/search?q=rack+middleware http://www.google.com/search?q=Rails+on+PostgreSQL http://www.google.com/search?q=PostgreSQL+Replication http://www.google.com/search?q=PostgreSQL+performance+tuning http://www.google.com/search?q=Memcached http://www.google.com/search?q=Routing+to+Memcached+instead+of+database More obvious URLs: http://www.google.com/search?q=rails+performance http://groups.google.com/group/rubyonrails-talk/search?q=performance+tuning&start=0&scoring=d& http://www.google.com/search?q=rails+performance+site%3Atwitter.com Oh and then we have EY: http://www.engineyard.com/blog/?s=performance http://www.engineyard.com/technology http://www.engineyard.com/technology/ror http://www.engineyard.com/technology/webapps http://www.engineyard.com/technology/datastores http://www.engineyard.com/technology/stack On 12/14/09, barce wrote: > Hey Folks, > > What are the key ways of scaling a Rails site? > > I've used solr to take the load off on forums. > I've also used memcache to take care of selects used just merely to get a > count, e.g. select count(id) from users. > I've used gearman but in a PHP context. :-P Anybody use it in a ruby > context? > > The logic free (i.e. db free) views in mustache help a lot with reads: > http://github.com/defunkt/mustache > > But what about writes? > > What have been your greatest scalability challenges? How have you overcome > them? > > Cheers, Barce > > > > > > -- > Please Note: If you hit "REPLY", your message will be sent to everyone on > this mailing list (rub...@meetup.com) > http://www.meetup.com/sfruby/ > This message was sent by barce (ba...@well.com) from The San Francisco Ruby > Meetup Group. > To learn more about barce, visit his/her member profile: > http://www.meetup.com/sfruby/members/1026970/ > To unsubscribe or to update your mailing list settings, click here: > http://www.meetup.com/account/comm/ > Meetup Inc. PO Box 4668 #37895 New York, New York 10163-4668 | > supp...@meetup.com > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.