News for hackers. Stuff that matters.
Re:EventMachine: scalable non-blocking i/o in ruby by tptacek on Monday March 15, 2010 @05:05PM (#1194118)
EventMachine doesn't thread unless you ask it to. I use EventMachine in Ruby and libevent in C with nary a mutex in sight.
Re:EventMachine: scalable non-blocking i/o in ruby by BrianHammond on Monday March 15, 2010 @06:01PM (#1194261)
I see. My (wrong) understanding was that EM used a thread pool to do file I/O like Node.js. It appears to add the file descriptor to the event loop's watch list.