4
votes
1answer
141 views

Requests mechanism of Node.JS and IIS (event-loop and threading)

I'm trying to figure out what is the advantage of Node.JS event-loop mechanism (publish and subscribe to C++ ThreadPool) over the way IIS is handling requests. I've read here: ...
4
votes
1answer
272 views

Query about the event loop of Nodejs

It is well known that Nodejs is handling all events in the background loop. But how can I monitor all the active events and is it potential risk of out of memory or dead lock?
0
votes
1answer
608 views

How is the event-loop implemented in node.js?

If node simply has two threads, one to execute the main code and the other for all the callbacks, then blocking can still occur if the callbacks are resource/time intensive. Say you have 100,000 ...
0
votes
0answers
46 views

How nodejs works with a callback

here is some code, just as a example obj.process('something', function(err, data) { dosometing(data); }); why the callback function is executed, other than exit the program? Node must save ...