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

Location: Pavilion 2 - 3 Level:
Average rating: ****.
(4.08, 26 ratings)

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
Photo of Ilya Grigorik

Ilya Grigorik


Ilya Grigorik is the founder and CTO of AideRSS, a social engagement monitoring and analytics platform. He has been active in the Ruby and cloud computing community for the last three years, documenting and sharing hands on knowledge and experience with the latest architecture, design patterns, and FOSS projects (blog:, twitter: igrigorik). He is an active speaker at many Ruby and Cloud Computing events.

Comments on this page are now closed.


Picture of Paul Hepworth
Paul Hepworth
05/29/2009 4:23pm PDT

I enjoyed this talk as it jump started some projects that I am currently working on.

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Heroku
  • Sun Microsystems
  • Blue Box Group
  • New Relic

Sponsorship Opportunities

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

Download the RailsConf Sponsor/Exhibitor Prospectus

Media Partner Opportunities

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

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to

Press and Media

For media-related inquiries, contact Maureen Jennings at

Contact Us

View a complete list of RailsConf 2009 contacts.