Fixing a Memory Leak in a Production Node App — Kent encountered a variety of weird memory and CPU usage spikes in his Node-powered app and decided to figure out what was going on. This post walks through his complete journey, with plenty of side problems encountered along the way, before discovering the root cause was where he least expected it.
Kent C Dodds
How To Handle Asynchronous Tasks with BullMQ — BullMQ is a Redis-based job queue system you can use to offload asynchronous tasks from your app to run in the background. This is a very thorough, practical walkthrough in typical DigitalOcean style.
Stanley Ulili
Learn the Stack and Master the Server — Expand your abilities with this wide-ranging collection of courses on full stack engineering, databases, VIM fundamentals, API design, containers, and more.
Frontend Masters sponsor
Bun v0.5 Released — Bun is another JavaScript runtime taking the world by storm and unlike Deno, some level of Node compatibility has been considered important from the start. v0.5 adds support for
1
node:readline
, workspaces, a
1
node:dns
shim, and network socket creation support such that more Node.js-based database libraries work out of the box.
Ashcon Partovi
From Ruby to Node: Overhauling Shopify’s CLI — E-commerce platform Shopify is well known as a Ruby shop but even they found a compelling reason to switch to Node for their CLI tool. There are numerous reasons explained here, though easier cross-platform packaging was clearly a big motivation.
Pedro Piñera (Shopify)
IN BRIEF:
The OpenJS Foundation has published a Node.js security progress report with a few brief updates on security work done in December 2022.
The Gotcha of Unhandled Promise Rejections — A rough edge with promises that can sneak up on you. Jake looks at a ‘gotcha’ around unhandled promise rejections and how to work around them.
Glob 8.1: Match Files Using Shell-Style Patterns — “Match files using the patterns the shell uses, like stars and stuff.” I still think this is the cutest logo of any Node project out there (if you disagree, hit reply and show us a cuter one).
Find Tech Jobs with Hired — Create a profile on Hired to connect with hiring managers at growing startups and Fortune 500 companies. It’s free for job-seekers.
#541 — July 23, 2024 Read on the Web Node.js v22.5.0 (Current) Released – But Don’t Install It! — A notable release for three reasons: first, the WebSocket feature in 1node:http is now exposed. Second, remember how Read more…
#540 — July 16, 2024 Read on the Web A Guide to Reading and Writing Node.js Streams — A post from the creator of Fastify (and a Node.js TSC member) is always a treat. Matteo Read more…
#539 — July 9, 2024 Read on the Web Node to Get SQLite Built-In? — Deno has its own built in key/value store powered by SQLite – perhaps Node could gain similar powers by this Read more…
0 Comments