
by Dan Sinclair, Developer at PostRank (recently acquired by Google)
The recent popularity of Node.js has overshadowed the existence of a mature, powerful tool available to Ruby developers: EventMachine. For over four years, some of the best and brightest Ruby developers have been deploying high performance applications with the EventMachine toolkit. Learn how to harness this powerful tool with our EventMachine tutorial series.
While the average single-threaded Rails application can serve a few hundred requests per second, EventMachine applications routinely serve two or three thousand requests per second to thousands of concurrently connected clients. It’s perfectly suited to building WebSocket servers that push data to the browser in real time.
That being said, EventMachine is an advanced topic. You’ll be working with threads, events, networking, and callbacks. But thanks to the Ruby language and the capabilities built into EventMachine, you’ll be up and running in no time.
They are all taught with PeepCode’s unrivaled visual explanations and gradual progression of concepts so you can write EventMachine applications like a seasoned expert.
EventMachine applications make great companions to existing Rails applications or can stand on their own. Get started today!
Subscribe for your business, as an individual, or buy this screencast for only $12!
Includes a typed transcript and full code samples using WebSockets and Goliath (taught in Part II).







This is an advanced topic. You should be familiar with the Ruby language.
Revision 2 (Notes) · Updated: Jul 31, 2011 · Length: 53 min · 130 MB
“PeepCode is awesome!” Tim O'Reilly, O'Reilly Media
“I suspect there are a lot of smart DF readers out there who know nothing about the Unix-y aspects of Mac OS X, would like to, but never found a good way to get started. This screencast is it.” John Gruber, Daring Fireball
“Mercurial is just what I was looking for. Happy to pay to support people making such high-quality and informative screencasts.” Jason Kottke
“Absolutely fantastic - I haven't seen a PeepCode screencast before and I'm super impressed with the level of graphics/audio...I just finished it and it really is a great intro. Well done.” David Kaneda, author of jQTouch
“These things are fantastic and the price is a steal. I strongly urge you to support this effort and buy the episodes. What a terrific way to learn!” Scott Barron, Rails Core Committer
Login or signup and enter the code on your account page. If it is still valid you will be able to browse the list of products and redeem one!
Save money when you learn! PeepCode Unlimited gives you access to everything we publish for a full year. Credit packs and Business Licenses are also available. More details here…