Answer the question
In order to leave comments, you need to log in
What does single-threaded Node.js mean?
Let's say the Node http server is running on a dual processor server with two 36 core (72 threaded) intel xeons.
It is known that Node.js without clusters runs in one thread of execution, therefore, in one thread of the processor.
Does this mean that 143 processor threads will be idle? Do clusters solve this problem? It seems to me that no, because I have no idea how an asynchronous event loop can work on multiple threads. This means that only some calculations can be placed in workers. It seems to me personally that this is the reason Node is not used for really complex projects with a huge audience, and if Google search was written in node, no one used it because of the terrible speed of work.
Answer the question
In order to leave comments, you need to log in
Does this mean that 143 processor threads will be idle
Does this mean that 143 processor threads will be idle?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question