Quick and easy custom servers using EventMachine
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.
People planning to attend this session also want to see:
Scott Fleckenstein
Get Satisfaction
Scott Fleckenstein is the Lead Developer at getsatisfaction.com











