Node.js

Node.js Libuv event loop, non-blocking I/O, Buffer and Stream pipelines, cluster worker threads, and native C++ addons.

1Libuv Event Loop Architecture & Phases

Six event loop phases, process.nextTick vs Promise microtask priorities, and Libuv worker threadpool mechanics.

Libuv Event Loop Architecture & Phases

Master Libuv event loop phases, microtask queue execution order, threadpool sizing, and setImmediate vs setTimeout.

2Streams, Buffers & File I/O Pipelines

Buffer slab memory allocation, 4 Stream types, backpressure management (highWaterMark, drain), and stream.pipeline.

Streams, Buffers & File I/O Pipelines

Understand raw Buffer memory, the 4 Stream types, backpressure flow control, and stream.pipeline cleanup.

3Node.js Server Frameworks & Middleware

Express vs Koa vs Fastify, Onion cascading middleware, AsyncLocalStorage context tracking, and keep-alive connection pooling.

4Multi-Threading, Cluster Module & Native Addons

Cluster module master-worker architecture, worker_threads with SharedArrayBuffer/Atomics, N-API C++ addons, and heap profiling.

Multi-Threading, Cluster Module & Native Addons

Master multi-process clustering, worker_threads shared memory, N-API C++ binary stability, and V8 heap snapshot memory profiling.