contents

Scaling Rails

Introduction

Episode #1 - Page Responsiveness

Episode #2 - Page Caching

Episode #3 - Cache Expiration

Episode #4 - New Relic RPM

Episode #5 - Advanced Page Caching

Episode #6 - Action Caching

Episode #7 - Fragment Caching

Episode #8 - Memcached

Episode #9 - Taylor Weibley & Databases

Episode #10 - Client-side Caching

Episode #11 - Advanced HTTP Caching

Episode #12 - Jesse Newland & Deployment

Episode #13 - Jim Gochee & Advanced RPM

Episode #14 - Rack & Metal

Episode #15 - Load Testing - Part 1

Episode #16 - Load Testing - Part 2

Episode #17 - Scaling Your Database - Part 1

Episode #18 - Scaling Your Database - Part 2

Episode #19 - On The Edge - Part 1

Episode #20 - On The Edge - Part 2

Episode #21 - On The Edge - Part 3

Master's Interviews

Mark Imbriaco, 37signals

Ward Cunningham, AboutUs.org

Lior Shiff, Product Madness - pt. 2

Lior Shiff, Product Madness - pt. 1

Jesse Proudman, Blue Box Group - pt. 2

Jesse Proudman, Blue Box Group - pt. 1

Adam Wiggins and Ryan Tomayko, Heroku - pt. 1

Adam Wiggins and Ryan Tomayko, Heroku - pt. 2

Adam Wiggins and Ryan Tomayko, Heroku - pt. 3

Thorsten von Eicken, RightScale

Developing for Performance

Yehuda Katz & Justin George Talk Rails 3

Webinar Replay: Optimizing Your Online Store for the Holidays

Webinar Replay: Using Apdex to Improve Online Customer Satisfaction

Application Server Provisioning and Tuning

How Performance Feedback can Reduce Testing in Agile Development

RAILS_ENV=local_production

Rails Teamwork

Ward Cunningham, AboutUs.org

Scalable Teams, Part 2: Leadership

Scalable Teams, Part 1: Communication

Benchmarking Reports

State of the Stack: A Ruby on Rails Benchmarking Report - 05 October 2010

State of the Stack: A Ruby on Rails Benchmarking Report - 25 May 2010

State of the Stack: A Ruby on Rails Benchmarking Report - 7 January 2010

The State of the Stack: A Ruby on Rails Benchmarking Report - 10 June 2009

The State of the Stack: A Ruby on Rails Benchmarking Report - 2 April 2009

« Back to RailsLab

Application Server Provisioning and Tuning

There’s tons of information out there for Rails developers, but help for Ops teams is seemingly a bit thin. Scaling with hardware is a common approach, however hardware alone cannot scale an application. (It’s also an expensive approach.) Bayard Carlin, New Relic’s Director of Technical Operations, walks us through the steps New Relic made to tune their app servers for maximum efficiency. Bayard presents us with some tips and tricks to maximize the efficiency of your current app servers and continue tuning and tweaking them as your application grows.

Play Video (13.1 MB, 6:04, MOV)
Play Video (8 MB, 6:04, MPEG-4 video)

Episode #17 - Scaling Your Database - Part 1

If the bottleneck of your application is your database even after caching as much as possible, what can you do? This is the first of two screencasts where we’re going to learn about techniques for increasing the power of your Database. In this first video we learn how to grow our database step by step using both vertical and horizontal scaling.

Play Video (26.3 MB, 11:20, MP4)

Episode #18 - Scaling Your Database - Part 2

In this second screencast we start out by learning the differences between the myISAM and InnoDB database engines for MySQL.  Next we learn how to scale a write heavy database by using Master Master replication, and how we might configure this to work with our Rails application.  Lastly we’ll figure out how to shard our database by spliting our tables between multiple databases and show how both New Relic and eBay take advantage of this technique.

Play Video (31 MB, 14:20, MP4)

Episode #19 - On The Edge - Part 1

This is the first of three screencasts where we begin to look at a few new Rails libraries to help you scale your Rails applications. In this first episode we take a look at Bullet, which will help you optimize your SQL queries by giving you growl notifications when you’re not using eager loading properly or should be using a counter cache. Then there’s Rails Indexes which provides Rake tasks to find missing indexes in your database. Finally the last library we’ll learn about is Scrooge, a SQL query optimizer which can reduce the amount of data getting sent from your database to your Rails application.

All of these libraries I learned about from the Ruby5 Podcast, a twice weekly audio podcast covering the latest news in the Ruby and Rails Community.

Play Video (41.4 MB, 8:49, MP4)

Tell us what you think. We’d love to have your feedback.

feed me

RSS FeedRSS feed

on iTuneson iTunes

email notification

We'll email you when more become available. We will not spam you. Swearsies.

 

tags

Interview

Caching

Database

eCommerce

Capacity Planning

Scaling Rails

Cache Expiration

Agile Development

Plugins

Ruby Versions

Rails Versions

Load Testing

application bottlenecks

scaling database

Cloud Computing

Facebook Development

MySpace Development

Social Apps

Scaling

Rails

application

bottlenecks

Ruby Gems

 

Feedback

RailsLab is brought to you by these expert contributors.

New Relic