Why Node.js is single threaded?

Node.js uses a single-threaded model in order to support async processing. 

With async processing, an application can perform better and is more scalable under web loads. 
Thus, Node.js makes use of a single-threaded model approach rather than typical thread-based implementation.

Comments

Popular posts from this blog

Which node logger did you use in your project?

What is promise, promise.all and promise.race? How do you chain promises?