5 Stories by
Divide and conquer: Scale your Node.js app using distributed queues
In a previous article, I talked about how to run background tasks/jobs in Node.js (with the new worker_threads module in particular). But what happens...
February 19, 2019
9 min read
Node.js multithreading: What are Worker Threads and why do they matter?
Since the release of Node.js v10.5.0 there’s a new worker_threads module available. What exactly is this new worker thread module and why do we...
January 31, 2019
10 min read
How to protect your Node.js applications from malicious dependencies
You have probably heard about a recent incident where a popular npm package, event-stream, included malicious code that could have affected thousands of apps...
December 7, 2018
4 min read
Testing with Jest: from zero to hero
I’ve been a regular user of Jest for quite some time. Originally, I used it like any other test runner but in some cases,...
November 30, 2018
6 min read
Promise chaining is dead. Long live async/await
While async functions have been around forever, they are often left untouched. Async/await is what some may consider an outcast. Why? A common misconception...
November 14, 2018
4 min read