Node.js
The event loop, explained by what actually breaks in production

aleeizhere
Apr 2026 · 10 min read
Textbook diagrams of the event loop are tidy. Production is where you learn what the diagram leaves out.
One slow callback blocks everyone
Node's concurrency is cooperative. A single CPU-heavy synchronous call — a big JSON.parse, an unbounded regex — and every other request waits behind it. The fix is rarely more threads; it's not blocking in the first place.
#nodejs#performance#debugging