Node.js
Node.js Libuv event loop, non-blocking I/O, Buffer and Stream pipelines, cluster worker threads, and native C++ addons.
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.
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.
Express vs Koa vs Fastify, Onion cascading middleware, AsyncLocalStorage context tracking, and keep-alive connection pooling.
Node.js Server Frameworks & Middleware
Master server framework architectures, Radix tree routing, the Onion middleware pattern, and AsyncLocalStorage tracing.
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.