Worker Threads & Shared Memory

Every subchapter in this chapter, free to read online. Work through them in order, or jump straight to the runtime detail you need.

15
chapter
2
subchapters
Free
online
01

Workers vs Processes

Where worker threads fit beside async I/O, libuv's thread pool, and child processes for CPU-bound JavaScript work.

02

Creating & Supervising Workers

How Node.js creates worker threads, passes startup data, reports lifecycle events, terminates workers, applies resource limits, and supports local supervision.

Other chapters

14 more