Flexible Scaling: How to Handle 1 Billion Pageviews
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
- 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
- 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.











