Nginx Upstream Keepalive and Timeouts for Node.js Backends
Fix intermittent 502s between Nginx and Node.js by aligning nginx upstream keepalive with Node's keepAliveTimeout and scoping proxy timeouts per location.
16 min read
Tag
Fix intermittent 502s between Nginx and Node.js by aligning nginx upstream keepalive with Node's keepAliveTimeout and scoping proxy timeouts per location.
16 min read
Build a modular monolith in Node.js with TypeScript: small index.ts public APIs, tooling-enforced boundaries, data ownership, events, and a composition root.
13 min read
Confirm a Node.js memory leak, capture heap snapshots safely in production, compare three snapshots in Chrome DevTools, and verify the fix holds.
14 min read
Learn how the Bun runtime works, how bun vs node compares on the backend, and how to adopt Bun step by step: tooling first, then the runtime.
13 min read