Multithreading

suggest change

Introduction

Node.js has been designed to be single threaded. So for all practical purposes, applications that launch with Node will run on a single thread.

However, Node.js itself runs multi-threaded. I/O operations and the like will run from a thread pool. Further will any instance of a node application run on a different thread, therefore to run multi-threaded applications one launches multiple instances.

Remarks

Understanding the Event Loop is important to understand how and why to use multiple threads.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents