CHAPTER 01
Node.js Architecture
Every subchapter in this chapter, free to read online. Work through them in order, or jump straight to the runtime detail you need.
01
chapter
4
subchapters
Free
online
Subchapter
02What Node.js Is
What Node.js is, how V8, libuv, native bindings, and core APIs fit together, and how JavaScript reaches files, sockets, timers, and the OS.
Subchapter
03V8 in Node.js
How the V8 JavaScript engine architecture in Node.js runs Ignition bytecode, tiered JIT compilation, shapes, inline caches, and deoptimization.
Subchapter
04Node.js Event Loop
Node.js event loop explained through libuv phases, timers, poll, check, close callbacks, process.nextTick, promise microtasks, and setImmediate order.
Subchapter
Node.js Process Lifecycle
A normal Node.js process starts by initializing V8 and libuv, loading the entry module, then staying alive while referenced handles and requests remain active.
Other chapters
9 moreCHAPTER 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 subchapters