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.
Deno Land, the developers of the Deno TypeScript/JavaScript runtime, have introduced Deno Cron, a feature the company describes as an easy way to create scheduled jobs. Announced November 29 and available behind the 1--unstable flag Read more…
#512 — November 28, 2023 Read on the Web Node.js Download Statistics — Node.js TSC member Matteo has put together a handy site that visualizes the publicly available Node.js download statistics, partly as a way Read more…
#511 — November 21, 2023 Read on the Web ‘A Node + TypeScript + ts-node + ESM Experience That Works’ — It’s just three files: 1package.json , 1tsconfig.json and a utilities file, and you’re good Read more…
0 Comments