Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js provide an efficiency in doing nothing?

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?

like image 984
Eli Schneider Avatar asked Sep 24 '10 18:09

Eli Schneider


1 Answers

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.

like image 161
Toby Hede Avatar answered Sep 19 '22 23:09

Toby Hede