Start with the mechanism
The API is only the surface. Each chapter follows the work into the runtime and the operating system so the result stops feeling magical.
NodeBook explains what happens underneath your JavaScript, from the event loop and memory to processes, networks, and production systems.
Every published chapter is free to read online.
Learn the model behind the code, then use it to explain timing bugs, memory growth, stalled streams, failed requests, and the tradeoffs inside real backend systems.
Follow JavaScript from your source file into V8, libuv, and the operating system.
02Understand bytes, encodings, memory views, and the data underneath every protocol.
03Move large inputs through bounded memory without letting fast producers overwhelm slow consumers.
04See what really happens when Node.js opens a file, starts a process, or talks to the kernel.
05Reason about timers, microtasks, promises, cancellation, concurrency, and failure.
06Trace a request through TCP, TLS, parsing, routing, response writing, and connection reuse.
The API is only the surface. Each chapter follows the work into the runtime and the operating system so the result stops feeling magical.
Small experiments make timing, memory, and network behavior visible. You can run them, change them, and test your own mental model.
The material ends where production begins: debugging, observability, graceful shutdown, performance, and architecture.
NodeBook is organized as a set of focused volumes. Start with the runtime, continue through networking, then move into data, security, production engineering, and architecture as new volumes are published.
Open the readerArchitecture, buffers, streams, files, processes, modules, and asynchronous control flow.
TCP, HTTP, TLS, API design, real-time systems, and the path from socket to response.
Native work, data and state, security, production engineering, and system architecture.
The website stays open for reading. Digital Edition gives you the books in EPUB and PDF. Raw Mode adds the Runtime Labs, the backend framework build, and the complete practice system.