4 ms·
Is this similar to EventMachine in Ruby?
by charlesju 17y ago
Is this similar to EventMachine in Ruby?
- fizx 17y agoEM is a general-purpose library for nonblocking IO. Tornado is an HTTP server. In as much as they're both about nonblocking IO, they are similar.
- ddispaltro 17y agoTornado has its own EventMachine-like equivalent as part of the stack they released. So you could use it to do TCP non-blocking IO if I grokked the code correctly.
- superjared 17y agoI'd say it's a little more similar to Thin, which is a web server based on EM.
- xal 17y agoPort: http://gist.github.com/184760 http://gist.github.com/184760