I am writing to a socket in a threaded server (running on MRI at the moment). Doing it with the following code: The gist of it is that I want the s ...
I am writing to a socket in a threaded server (running on MRI at the moment). Doing it with the following code: The gist of it is that I want the s ...
I am trying to trigger an event from an Ember.js controller so the listening views can update themselves. Here is the Coffeescript. It fails with a ...
When running an event loop in libuv using the uv_run function, there's a "mode" parameter that is used with the following values: The first two are ...
I've recently moved to Play framework 2.0 and there are some questions concerning me regarding how controllers actually work in play. In play docs th ...
I have complex python program that uses gevent. I've been having this horrible issue where its timing out on a socket read for several minutes. I ret ...
In particular, I'm after a similar capacity to Response.BeginFlush being introduced in Asp.NET 4.5 which uses I/O Completion Ports. I fear that this ...
I had a rails 3 app on Nginx/Passenger that I just moved to Nginx/Thin (1.3.1). However, my app is now clearly slower than it was on Passenger. A lot ...
After playing with Node.js and reading about async i/o & evented programming a lot I'm left with some question marks. Consider the following (pse ...
The general rule in writing Node.js code is that all code should be non-blocking and communicate via events. I would like to know if this code written ...
There are many example thread based web servers online, but I haven't really seen anything that gives a good example of an event-loop based one (witho ...
With respect to how node.js fits in with clients and web servers, is my description below correct? (A) are clients (B) is node.js running on som ...
The most common theme I read about why to use node.js is for high scalability due to it's evented, non-blocking I/O model. I'm trying to understand ...
I heard a speaker described Node.js as a webserver that "efficiently does nothing". I thought it was a joke but others looked to nod agreement. Can so ...
I have a machine running node.js (v0.1.32) with a tcp server (tcp.createServer) and a http server (http.createServer). The http server is hit by long ...