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
Workers vs Processes
Where worker threads fit beside async I/O, libuv's thread pool, and child processes for CPU-bound JavaScript work.
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 moreCHAPTER 01Node.js Architecture4 subchaptersCHAPTER 02Buffers4 subchaptersCHAPTER 03Streams6 subchaptersCHAPTER 04File System5 subchaptersCHAPTER 05Process & OS4 subchaptersCHAPTER 06The Module System5 subchaptersCHAPTER 07Async Patterns & Control Flow6 subchaptersCHAPTER 08Runtime Platform APIs & Tooling5 subchaptersCHAPTER 09Network Fundamentals with Node.js7 subchaptersCHAPTER 10HTTP Servers, Clients & Proxies7 subchaptersCHAPTER 11TLS, HTTPS & HTTP/26 subchaptersCHAPTER 12API Design, Contracts & Frameworks7 subchaptersCHAPTER 13Realtime & Streaming APIs5 subchaptersCHAPTER 14Child Processes & OS Workloads6 subchapters