How Node.js handles many requests with one thread
Node.js runs your code on a single thread and still serves many requests at the same time. This post follows one HTTP request from the socket to the response, and uses measurements to show which work needs a thread and which work the operating system does for free.
13 min read