Gregg Pollock made a series of videos (underwritten by RPM (
https://rpm.newrelic.com/)), called Scaling Rails (
http://railslab.newrelic.com/scaling-rails). It's
phenomenal. That link shows the "contents" on the left-hand sidebar. Start at the bottom and work your way up the list.