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
01
Subchapter

What 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.

02
Subchapter

V8 in Node.js

How the V8 JavaScript engine architecture in Node.js runs Ignition bytecode, tiered JIT compilation, shapes, inline caches, and deoptimization.

03
Subchapter

Node.js Event Loop

Node.js event loop explained through libuv phases, timers, poll, check, close callbacks, process.nextTick, promise microtasks, and setImmediate order.

04
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 more