Answer the question
In order to leave comments, you need to log in
How does NodeJS work?
1. Do I understand correctly that NodeJS asynchrony is achieved by descriptor polling (epoll) for I/O operations?
If the answer to the first question is yes, then:
2. Worker threads are mainly needed only for CPU intensive operations, since even one thread would be enough for epoll ? Even the node developers themselves say: "Workers (threads) are useful for performing CPU-intensive JavaScript operations. They will not help much with I/O-intensive work. ". ?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question