Alternatives to EventMachine for async.callback

W. Andrew Loe III andrew at andrewloe.com
Fri Jan 18 18:33:56 UTC 2013


The documentation
(http://rainbows.rubyforge.org/Rainbows/EventMachine.html)
specifically lists EventMachine as compatible with this model. Are
there alternative ways to get this type interface without
EventMachine? My current application is using the EventMachine loop to
answer requests and spawn Celluloid Actors (which are in their own
threads) which write back to the main thread. Seems like maybe I
should just use a Thread-per-client model? I'm currently using Sinatra
to do the HTTP acrobatics.

--
Andrew


More information about the rainbows-talk mailing list