Quick and easy custom servers using EventMachine

Location: Portland Ballroom 255 Level: Expert
Average rating: ****.
(4.22, 9 ratings)

In this presentaion I will present EventMachine, a ruby gem primarily written by Francis Cianfrocca. I will take listeners from having no knowledge of EventMachine to implementing a simple Key-Value store in the vein of Memcache. Along the way, we will:

  • Learn the basics of programming using EM: What the event loop is, and what objects you can add to be processed during the loop
  • Create periodic and one-shot timers
  • Create a simple hello world tcp server
  • Learn about the various callbacks available to an EventMachine server
  • Learn tips and tricks to improve your server’s scalability

After implementing this simple key-value server, I will present a fully featured replacement of BackgroundDRB, written using EventMachine. I will outline various features of this server and how EventMachine made the system extremely simple.

Scott Fleckenstein


Scott Fleckenstein is the Lead Developer at getsatisfaction.com

News and Coverage
co-presented by Ruby Central, Inc. O'Reilly
  • Engine Yard
  • Sun Microsystems
  • FiveRuns
  • GotThingsDone
  • Heroku
  • ThoughtWorks
  • Atlantic Dominion Solutions
  • Blue Box Group
  • CodeGear
  • E-xact
  • ELC Technologies
  • EnterpriseDB
  • GemStone Systems
  • Intridea
  • Morph Labs
  • RightScale
  • TechRepublic

Sponsorship Opportunities

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

Download the RailsConf Sponsor/Exhibitor Prospectus

Media and Promotional Opportunities

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

Program Ideas

Post your suggestions for speakers, topics, and activities on the RailsConf wiki or send an email to rails-idea@oreilly.com.

Press and Media

For media-related inquiries, contact confpr@oreilly.com.

Contact Us

View a complete list of RailsConf 2008 contacts.