What is the point/purpose of Ruby EventMachine, Python Twisted, or JavaScript Node.js?

Posted by CCw on Stack Overflow See other posts from Stack Overflow or by CCw
Published on 2010-05-29T03:08:45Z Indexed on 2010/05/29 3:12 UTC
Read the original article Hit count: 274

I don't understand what problem these frameworks solve. Are they replacements for a HTTP server like Apache HTTPD, Tomcat, Mongrel, etc? Or are they more? Why might I use them... some real world examples? I've seen endless examples of chat rooms and broadcast services, but don't see how this is any different than, for instance, setting up a Java program to open sockets and dispatch a thread for each request.

I think I understand the non-blocking I/O, but I don't understand how that is any different than a multi-threaded web server.

© Stack Overflow or respective owner

Related posts about twisted

Related posts about nonblocking