Skip to content

Series · 7 parts

Node.js Runtime Internals

How Node.js actually works under the hood and how to build on it: the event loop and non-blocking I/O, async patterns, streams and backpressure, worker threads for CPU-bound work, clustering across cores, finding memory leaks, and error handling that stays honest about bugs.

  1. Part 1
    The Node.js Event Loop Explained: How Single-Threaded Serves Thousands — Aman Kumar Singh
  2. Part 2
    Node.js Async Patterns: Callbacks, Promises, and async/await — Aman Kumar Singh
  3. Part 3
    Node.js Streams and Backpressure: Processing Data Without Running Out of Memory — Aman Kumar Singh
  4. Part 4
    Node.js Worker Threads: Moving CPU Work Off the Main Thread — Aman Kumar Singh
  5. Part 5
    Scaling Node.js with the Cluster Module: Using All Your Cores — Aman Kumar Singh
  6. Part 6
    Node.js Memory Leaks and Profiling: Finding What Holds Memory — Aman Kumar Singh
  7. Part 7
    Node.js Error Handling: Operational vs Programmer Errors — Aman Kumar Singh