Node.js · Junior · Question 3 of 75

What model does Node.js use to handle many connections at once?

Explanation

JavaScript runs on one main thread. I/O such as reading files or network calls is handed off to the system and libuv, and the callback runs later, so one process can serve thousands of connections.

Further reading

Problem with a question

Node.js · Junior · question 3

Test yourself

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

Take this quiz