DEV Community

Node.js

A JavaScript runtime built on Chrome's V8 JavaScript engine.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
Stop Wrapping Everything in Promise.all: How Unbounded Concurrency Crashes APIs

Explains why Promise.allSettled fails here

Stop Wrapping Everything in Promise.all: How Unbounded Concurrency Crashes APIs

18
Comments 3
4 min read
The same query went from 0.07 ms to 151 ms on its 6th run, because Postgres switched to a generic plan

The same query went from 0.07 ms to 151 ms on its 6th run, because Postgres switched to a generic plan

Comments
4 min read
The transactional outbox pattern in Node.js: never lose an event when the database commits

The transactional outbox pattern in Node.js: never lose an event when the database commits

Comments
4 min read
Parsing a streamed LLM response in Node.js: Server-Sent Events, split chunks and the CRLF bug

Parsing a streamed LLM response in Node.js: Server-Sent Events, split chunks and the CRLF bug

Comments
5 min read
5 Real Bugs We Fixed Hardening a Zero-Dependency Node.js MCP Client

5 Real Bugs We Fixed Hardening a Zero-Dependency Node.js MCP Client

Comments
2 min read
Encrypting backups with a key we never hold: the design, and what it doesn't protect

Encrypting backups with a key we never hold: the design, and what it doesn't protect

Comments
8 min read
Send one prompt to GPT, Claude, Gemini and Grok with 40 lines of Node (and the reasoning-token trap I hit)

Send one prompt to GPT, Claude, Gemini and Grok with 40 lines of Node (and the reasoning-token trap I hit)

Comments
2 min read
Your webhooks belong in your Postgres

Your webhooks belong in your Postgres

Comments
9 min read
Verifying JWTs in Node.js: alg none, algorithm confusion, audience checks and clock skew

Verifying JWTs in Node.js: alg none, algorithm confusion, audience checks and clock skew

Comments 1
4 min read
I ran a fake tea shop for a year to test my DPDP Act library (dpdp-kit 0.4.0)

I ran a fake tea shop for a year to test my DPDP Act library (dpdp-kit 0.4.0)

Comments
4 min read
Build a tiny event emitter in 50 lines (and the one bug most versions have)

Build a tiny event emitter in 50 lines (and the one bug most versions have)

Comments
3 min read
Graceful shutdown in Node.js: draining HTTP requests on SIGTERM without dropping traffic

Graceful shutdown in Node.js: draining HTTP requests on SIGTERM without dropping traffic

Comments
4 min read
Limiting concurrent async calls in Node.js without a library: a 15-line promise pool

Limiting concurrent async calls in Node.js without a library: a 15-line promise pool

Comments
3 min read
Request IDs in Node.js logs with AsyncLocalStorage: trace one request through every await

Request IDs in Node.js logs with AsyncLocalStorage: trace one request through every await

Comments
4 min read
A solver froze our Node server for 8 seconds in CI — moving it off the request path

A solver froze our Node server for 8 seconds in CI — moving it off the request path

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.