11
votes
3answers
2k views

What determines which Javascript functions are blocking vs non-blocking?

I have been doing web-based Javascript (vanilla JS, jQuery, Backbone, etc.) for a few years now, and recently I've been doing some work with Node.js. It took me a while to get the hang of ...
7
votes
1answer
2k views

How can NodeJS be “non-blocking”?

I'm learning NodeJS and just wanted to clarify something. In several introductory tutorials and books so far, very early on they've described Node's "non-blocking" architecture - or rather that it's ...
1
vote
1answer
576 views

How is the “evented-io” in node.js any different from the windows event model

I'm wondering how the "evented-io" in node.js any different from the windows async IO model? Is the callback from node.js executed on a thread, if not, where is it run? I don't mean to question the ...