EventMachine: The Speed Demon
Location: Room 309- 310 Audience level:
EventMachine is an essential tool for anyone developing Ruby applications at scale and has proven itself in a variety of Ruby libraries (amqp, Thin, ProxyMachine) and at numerous Ruby deployments (Github, EngineYard, Heroku, PostRank).
This talk will cover the basics of the Reactor pattern and introduce the core EventMachine APIs. An emphasis will be placed on the common stumbling blocks encountered by new EventMachine users, in an attempt to bridge the gap between traditional procedural ruby code and the asynchronous coding style provided by EM. Along the way, we will cover relevant topics such as non-blocking I/O and TCP streams, and develop and benchmark some simple network applications.
Aman is a serial entrepreneur, ruby hacker and a recent winner of a Ruby Heroes award. He currently maintains the EventMachine project and various other gems that help build high-performance distributed and asynchronous systems in ruby, including em-mysql, em-spec, jsSocket and amqp.
Most recently, Aman has been hacking on performance improvements to MRI, and tools for the VM such as perftools.rb, a sampling profiler for ruby code based on google-perftools, and gdb.rb, a MRI specific version of gdb.
Comments on this page are now closed.