Chapter Index
Node.js Architecture
4 topics in this chapter
4Topics
01
Topic
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.
nodejsv8libuvruntimearchitecture
17 min read
02Topic
V8 in Node.js
How the V8 JavaScript engine architecture in Node.js runs Ignition bytecode, tiered JIT compilation, shapes, inline caches, and deoptimization.
v8jitoptimizationperformancecompiler
42 min read
03Topic
Node.js Event Loop
Node.js event loop explained through libuv phases, timers, poll, check, close callbacks, process.nextTick, promise microtasks, and setImmediate order.
event-loopasynclibuvconcurrency
33 min read
04Topic
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.
processlifecycleshutdownbootstrapsignals
58 min read