A comprehensive deep dive into the internals, performance, and production engineering of Node.js.
Most developers use Node.js at the surface level: building APIs, wiring up frameworks, shipping apps.
But what happens when things go sideways — a memory leak, a blocked event loop, or the need to squeeze out microsecond-level performance?
This book pulls back the curtain and shows you how Node.js really works under the hood.
Master poll/check/idle phases, threadpool queueing, and epoll/kqueue/IOCP platform differences that cause production failures
Debug deoptimizations with Turbofan/Ignition, fix hidden class transitions, and prevent polymorphic inline cache misses
Implement binary protocols with backpressure-aware transforms, scatter/gather I/O, and external memory management
Build thread-safe N-API modules with uv_queue_work, handle memory across JS/C++ boundaries, debug core dumps with lldb
Propagate trace contexts with AsyncLocalStorage, control metrics cardinality, analyze P99 latency with flamegraphs
Tune generational GC flags, track retainers in heap snapshots, handle external memory pressure and OOM mitigation
By the time you're done, you'll have the mental models and hands-on knowledge to build, tune, and operate backend systems confidently.
Whether you're shipping a startup MVP or running large-scale enterprise deployments.
From V8's Turbofan optimizer to production deployments. Each chapter includes hands-on labs, real-world examples, and performance insights.
All Resources Included Free
Every reader gets full access to our growing collection of tools, templates, and examples. No premium tiers, no paywalls, and no strings attached.
NodeBook is constantly evolving. Here's what we're building to make your learning experience even better.
Core fundamentals and runtime architecture
Physical edition - Paperback + Hardcover
Advanced patterns and performance
Physical edition - Paperback + Hardcover + One bonus chapter
Production engineering and scaling
Physical edition - PB + HC + Case Studies
Future of Node.js and emerging patterns
Final edition
Core fundamentals and runtime architecture
Physical edition - Paperback + Hardcover
Advanced patterns and performance
Physical edition - Paperback + Hardcover + One bonus chapter
Production engineering and scaling
Physical edition - PB + HC + Case Studies
Future of Node.js and emerging patterns
Final edition
Join our community and help shape the future of NodeBook. Your feedback drives what we build next!