Hi Dmytrii,

On 2 December 2011 15:37, Dmytrii Nagirniak <[email protected]> wrote:

>
> On 02/12/2011, at 3:16 PM, Dave Newman wrote:
>
> > You could use eventmachine.
> >
>
> EM uses Threads under the hood. So it's doesn't seem to be cheap.


No - it works like node.js.  It uses event-driven I/O based on epoll, which
is similar to libev (what node.js uses). It's fast (for Ruby) and cheap.
 Anything you can do in node.js you can do with EventMachine, libraries
permitting.

Hope that helps!
-
James

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to