Monday 7 December 2015

What is the difference between node being asynchronous and node's ability to spawn new processes?

From what I can tell node is designed to be asynchronous. That is the functions are called with callback functions and run in the background. From the manual I saw it said that this meant that it is 'non-blocking'. I've always assumed that this meant that the program is multithreaded and creates a new process to run in the background.So what is the difference between background functions and spawning new processes? Or maybe I'm misunderstanding something.

Submitted December 07, 2015 at 11:53PM by natdanimore

No comments:

Post a Comment