Node.js · Senior · Question 13 of 75

When does increasing UV_THREADPOOL_SIZE actually help?

Explanation

Network sockets don't use the pool, and JavaScript always runs on the main thread. For CPU-bound JS, use worker threads.

Further reading

Problem with a question

Node.js · Senior · question 13

Test yourself

Take the Node.js · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz