Browse all chapters and topics in NodeBook
Click to view all topics in this chapter →
Understanding the Node.js runtime architecture, from V8 to libuv, and how JavaScript executes outside the browser.
Deep dive into V8's compilation pipeline, hidden classes, inline caching, and performance optimization techniques.
Understanding Node.js event loop, phases, and how asynchronous operations are orchestrated in the runtime.
Understanding the complete lifecycle of a Node.js process from bootstrap to graceful shutdown.
Click to view all topics in this chapter →
Understanding binary data handling in Node.js through Buffers, the foundation for working with raw memory.
Learn efficient buffer allocation strategies, pooling mechanisms, and memory management techniques in Node.js.
Practical guide to manipulating buffers, conversions, encodings, and common operations with binary data.
Understanding memory fragmentation, challenges with buffer management, and solutions for optimal performance.
Click to view all topics in this chapter →
Introduction to streams in Node.js, understanding the core concepts and why streams are essential for scalable applications.
Deep dive into readable streams, implementing custom streams, and understanding flowing and paused modes.
Understanding writable streams, implementing custom writable streams, and handling backpressure effectively.
Understanding Transform and Duplex streams, implementing custom transformations, and learning when to use each stream type.