/ruby-simple-reactor-implementation

Repo to hold the code examples for Kirk's various blog articles.

Primary LanguageRuby

A simple Reactor Pattern implementation (Async/EventDriven server)
Very useful for understanding ruby's EventMachine inner workings


This is the code for the article titled:

What Are Events, Why Might you care, and how can EventMachine help?


by Kirk Haines
khaines@engineyard.com

The first example and reactor skeleton is in:

just_timers_example/

The full reactor implementation, with a couple examples, as well as a
comparative example written with EventMachine, is in:

full_example_with_io/