async_hooks: behind the scenes of Node.js http request context handling

In a previous post, we discussed how Node.js is a single-threaded environment and still manages to serve multiple requests simultaneously: Node.js event loop: concurrent processing in a single-threaded environment. This is a good way to avoid the problems that come along with multi-threading like race conditions. But this extra peace of mind comes at a … Continue reading async_hooks: behind the scenes of Node.js http request context handling