Master the Node.js & Libuv Engine.
Interactive visualizers for the 6-phase Libuv event loop, thread pool offloading, streams backpressure, V8 generational garbage collection, EventEmitter memory leaks, and clustering.
The 6-Phase Libuv Event Loop & Microtask Interleaving
1. Timers Phase
setTimeout() & setInterval()
Executes expired timer threshold callbacks. Threshold represents the minimum delay, not exact guarantee.
UV_THREADPOOL_SIZE & Asynchronous Worker Offloading
Executes all your JavaScript code. When asynchronous fs, crypto, or zlib functions are called, V8 offloads the synchronous blocking C syscall to Libuv and immediately returns.
Node.js Streams & Backpressure Flow Simulator
V8 Generational Garbage Collector (Scavenger vs Mark-Sweep)
Allocate objects or run Minor Scavenger GC to see Cheney semi-space copy and Old Gen promotion.
EventEmitter Listener Lifecycle & Memory Leak Simulator
EventEmitter initialized with 2 listeners. Max warning threshold: 10.
Node.js Clustering vs Worker Threads
Isolated 64MB RAM
Isolated 64MB RAM
Clustering: Web Server Throughput
Ideal for web applications (Express, Fastify, NestJS) where each process independently handles non-blocking HTTP requests across all CPU cores.
Node.js Script Runner & Event Loop Execution Tracer
20 In-Depth Lessons
V8 bindings, AsyncLocalStorage, Slab allocator, process signals, and graceful shutdown architectures.
Event Loop Lab
Step through Timers, Pending, Poll, and Check phases with VIP microtask queues.
Senior Flashcards
Master tough Node.js interview questions on thread pool saturation, backpressure, and V8 memory slabs.