Unblocking Node with Unref()

Node.js runs on an event loop. It holds a queue of tasks to run, and runs them, one by one. New tasks appear on the queue while it runs… Read more


How It Works: Node.js

Since I’ve been working with node.js quite a bit lately, to build a better mental model of how it works, I wanted to spend some time walking through it’s source, and learning a bit about how it works. (more…)

Read more »

The Death of a Node.js Process

This post is based on content from my recently published book, Distributed Systems with Node.js. If you're interested in building Node.js services, especially those that interact with external systems, then I highly recommend checking it out. It contains ... (more…)

Read more »