| Why Node.js is single threaded?
Well the main reason behind this is that, Node.js is single threaded for async processing. As we also knows that single thread reduces the overhead of thread communication. And due to this will works faster because all of tasks use the same shared memory and there is no need for communication. And this is the main reason why Node.js process tasks faster.
In another words we can say that by doing aasync processing on a single thread under typical web loads, more performance and scalability can be achieved instead of the typical thread-based impplementation. | | |