Flexible Scaling: How to Handle 1 Billion Pageviews

TJ Murphy (Mobian Design)
General
Location: Portland Ballroom 253
Average rating: ***..
(3.71, 14 ratings)

Rails is often viewed as a framework that’s slow and that scales poorly. Some people have managed to make Rails fast and responsive for many users, but their technique is swathed in secrecy. Using widely available open source tools, coding conventions, and Rails gems/plugins, Warbook was able to scale to a level acceptable to hordes of click-happy gamers. I will take the Warbook app apart piece by piece, to illustrate the architecture at each point along it’s growth from 10,000 to 100,000 to 1 million users.

Starting to Scale: 1 – 10k

  • Ironing out ActiveRecord
  • Detecting choke points
  • Automating mongrel
  • Config hacking
  • Recognizing potential pitfalls

Growing Horizontally on Amazon: 10k – 100k

  • Up and Running on the Cloud
  • Handling clusters of mongrel clusters
  • The no select database with memcache
  • Quick and dirty load balancing
  • When, where, and why to denormalize

Balancing Growth and Stability: 100k – 1m

  • Reevaluating your tools
  • Advanced memcache tricks
  • High performance ActiveRecord
  • Protecting against race conditions
  • Using good algorithms to replace bad code

People planning to attend this session also want to see:

TJ Murphy

Mobian Design

TJ is the Rails architecht leading the Social Games Network and has experience launching fast, scalable Rails web application. He comes from the core team of Java developers at Freewebs . He has launched several large games into social networks like Facebook and Bebo.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at RailsConf, contact Yvonne Romaine.

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

Download the Media & Promotional Partner Brochure (PDF) for more information on trade opportunities with O'Reilly conferences, or contact mediapartners@ oreilly.com.

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

Contact Us

View a complete list of RailsConf 2008 contacts.