Node.js provide an efficiency in doing nothing?
-
05-10-2019 - |
Question
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 phrase?
Solution
I think this is a reference to the nature of node's evented and non-blocking architecture. While waiting for a process to complete and/or return, node doesn't block another process from work.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow