Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

Polyglot Paralellism: A Case Study in Using Erlang and Ruby at Rackspace

A session at Lone Star Ruby Conference V

Two years ago Rackspace had a problem: how do we backup 20K network devices, in 8 datacenters, across 3 continents, with less than a 1% failure rate -- every single day? Many solutions were tried and found wanting: a pure Perl solution, a vendor solution and then one in Ruby, none worked well enough. They not fast enough or they were not reliable enough, or they were not transparent enough when things went wrong.

Now we all love Ruby but good Rubyists know that it is not always the best tool for the job. After re-examining the problem we decided to rewrite the application in a mixture of Erlang and Ruby. By exploiting the strengths of both -- Erlang's astonishing support for parallelism and Ruby's strengths in web development -- the problem was solved.

In this talk we'll get down and dirty with the details: the problems we faced and how we solved them. We'll cover the application architecture, how Ruby and Erlang work together, and the Erlang approach to asynchronous operations (hint: it does not involve callbacks). So come on by and find out how you can get these two great languages to work together.

About the speaker

This person is speaking at this event.
Phil Toland

Erlang hacker, gamer and Racker in sunny San Antonio bio from Twitter

Coverage of this session

Sign in to add slides, notes or videos to this session

Tell your friends!

When

Time 3:30pm4:15pm CST

Date Sat 13th August 2011

Short URL

lanyrd.com/sgptm

Official event site

www.lonestarrubyconf.com

View the schedule

Topics

See something wrong?

Report an issue with this session