Node.js v22.5 includes SQLite, but..

#​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 Node is embedding SQLite? 1node:sqlite is now included and ready to play with. Third, however, Read more…

Stream if you wanna go faster

#​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 reminds us of the benefits of using Node’s powerful streaming data features, where they make Read more…

Taming event loop lag

#​538 — July 2, 2024 Read on the Web How We Tamed Node.js Event Loop Lag: A Deepdive — Node famously uses very few threads yet can handle a large number of clients performantly, as long as the work associated with each client is ‘small.’ When you get nested loops, Read more…

A snapshot of what’s new in Node

#​536 — June 18, 2024 Read on the Web Node v22.3.0 (Current) Released — One of those releases where lots of tiny things have occurred, but little of broad significance, except… for snapshot testing! Snapshot tests serialize arbitrary values into string values to be compared against a set of pre-built Read more…

Leaky timeouts

#​535 — June 11, 2024 Read on the Web Node is Leaking Memory? 1setTimeout Could Be The Reason — The folks at Sentry were running into problems with how Node handles timeouts created with 1setTimeout or, more specifically, problems caused by hanging on to the 1Timeout objects 1setTimeout  returns.. Armin Read more…