Eli Schneider
Eli Schneider

Reputation: 4955

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?

Upvotes: 5

Views: 344

Answers (1)

Toby Hede
Toby Hede

Reputation: 37143

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.

Upvotes: 7

Related Questions