How Erlang Makes Event-Driven Code Easy(needlesslymessianic.com) |
How Erlang Makes Event-Driven Code Easy(needlesslymessianic.com) |
The performance of the Rack bit is on a par with Thin, even without an optimized request or response parser, and I've got about 1/6 the code of just EventMachine alone. But I digress.
While I've come up with a few solutions to the 'breaking code into little chunks' problem, nothing really beats having event-driven I/O built into the runtime, and nothing has driven that point home better than implementing an event system
And yeah, I'll be open-sourcing it in the near future... want to mop up some of the internals a bit, add MRI support, and finish stealing every spec and unit test that I can from other Rack webservers.