evented-io Questions

3

Solved

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 polling requests (lasting 50 sec each) from a c...
Kursk asked 9/7, 2010 at 16:5

3

Solved

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 (without being very complex, e.g. lighttp and nginx)....
Enfeeble asked 11/6, 2011 at 17:42

1

Solved

When running an event loop in libuv using the uv_run function, there's a "mode" parameter that is used with the following values: UV_RUN_DEFAULT UV_RUN_ONCE UV_RUN_NOWAIT The first two are obvio...
Zebapda asked 14/6, 2013 at 4:1

2

Solved

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 there are mentioned: Because of the way Play 2...
Dulciedulcify asked 25/9, 2012 at 10:17

2

Solved

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 of requests time out too. Thin is an evented w...
Epiphragm asked 9/5, 2012 at 1:2

10

Solved

I don't fully get what Node.js is all about. Maybe it's because I am mainly a web based business application developer. What is it and what is the use of it? My understanding so far is th...
Gunshot asked 10/12, 2009 at 23:5

6

Solved

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 other non-scalability uses cases (and aside from ...

2

Solved

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 (pseudo) code: var http = require('http'); functi...
Feel asked 20/7, 2011 at 20:56

1

Solved

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 someone explain my misunderstanding of this phras...
Facility asked 24/9, 2010 at 18:28
1

© 2022 - 2024 — McMap. All rights reserved.