When an http request hits node.js and node subsequently dispatches that request asynchronously, in whose process space does that work live (the work being done in the asynch call)?
When an http request hits node.js and node subsequently dispatches that request asynchronously, in
Share
Same process that accepted request (and same thread). All javascript code and event loop is executed in one tread. Some function calls are dispatched internally via thread pool but “userspace” (e.i your javascript code) always run in single thread