jasnell.me - weblog

A blog about code.

July 22, 2021

Using AbortSignal in Node.js

The AbortController and AbortSignal APIs are quickly becoming the standard mechanism for canceling asynchronous operations in the Node.js core API...

Read More

June 03, 2021

Broken Promises - The Node.js Event Loop

Several years ago, I was called out by a customer to help them resolve some performance issues they were having in their Node.js application. They were experiencing massive event loop blocking issues in their server, getting a whole 5 requests per second — and, in one extreme case, an event loop delay of over one minute...

Read More

March 18, 2021

Getting to know HKDF

Although the HMAC-based Key Derivation Function (HKDF) is not new it is starting to gain prominence in more types of applications and systems.

Read More

October 20, 2020

Implementing the Web Crypto API for Node.js Core

The Node.js project has been working on implementations of standard web platform APIs, such as the WHATWG URL parser, AbortController, EventTarget, TextEncoder and more. The latest effort underway is to implement support for the Web Cryptography API. Here, we dig into some of the details of that new implementation and show a little of what it will enable in Node.js...

Read More