RailsConf 2009 schedule

Monday 4th May 2009

  • Art of the Ruby Proxy for Scale, Performance, and Monitoring

    by Ilya Grigorik

    In this session we will first walk through the basics of event-driven architectures and high-performance network programming in Ruby using the EventMachine framework. Then we will examine three hands-on examples of how a simple proxy server, written in less than a hundred lines of code can become an indispensable tool for:

    • Performance A/B Testing: duplicating live traffic against multiple servers to compare speed, reliability and format of the response
    • Extending protocols: intercept packets and inject your own functionality into applications such as Memcache, Beanstalkd, and others
    • Traffic analysis: aggregate real-time visitor and performance analytics instead of repeatedly parsing the log files

    On Monday 4th May

    Coverage slide deck

  • Building a Mini-Google: High-Performance Computing in Ruby

    by Ilya Grigorik

    High-performance computing may not be Ruby’s strength on the surface, but there is a great number of gems and third party packages which are often overlooked when it comes to this topic. We will assume no prior knowledge of PageRank (Google’s ranking algorithm) and will walk through the basic theory and computational challenges behind it. Along the way, we will look at a hands on example of computing PageRank for a 1-million page web, and the tools behind it:

    • Ruby GSL – Working with GNU Scientific Library
    • Linalg – Ruby Linear Algebra
    • NArray – Numerical Ruby
    • And others…

    As a bonus, you’ll find that the ideas behind PageRank are surprisingly simple and powerful (no math-wiz certification required) and can be easily applied to many existing social and content networks – better recommendations, search, and discovery.

    On Monday 4th May

    Coverage slide deck

Tuesday 5th May 2009

  • JavaScript Testing in Rails: Fast, Headless, In-browser. Pick any three.

    by Larry Karnowski and Jason Rudolph

    You wouldn't consider developing a Rails application without having a solid test suite for your Ruby code, but you've somehow convinced yourself to cross your fingers and look the other way when it comes to JavaScript. It doesn't have to be that way. In this session, you'll learn how to apply test-driven and behavior-driven development to your unobtrusive JavaScript code in a Rails-friendly manner.

    Historically, when selecting a JavaScript testing solution, you were forced to choose whether you wanted a framework that could run your tests in the browser or one that could only run your tests in a headless fashion. With the right combination of tools [1], you can enjoy the best of both worlds: fast, automation-friendly, and headless testing plus the ability to run your tests in whichever browser is acting up on any given day.

    In this session, you'll learn how to give your JavaScript code the testing love it deserves. We'll tackle:

    • Choosing and configuring a JavaScript testing framework
    • Writing RSpec-style specifications for test-first JavaScript development
    • Adding jQuery, Prototype, or other libraries to the mix
    • Coding in true red-green-refactor fashion with TextMate
    • Running tests in the browser
    • Running JavaScript tests headlessly with Rake
    • Automating your tests with Continuous Integration

    [1] http://github.com/relevance/java...

    At 1:50am to 1:50am, Tuesday 5th May

Thursday 7th May 2009

Unscheduled