Tag: async
All the articles with the tag "async".
The Node.js Event Loop — An Interactive Walkthrough
Posted on:April 20, 2026 at 10:00 AMThe event loop, nextTick, microtasks, setImmediate and the six libuv phases — stepped through one frame at a time. Watch each callback move between compartments, then test yourself with ordering quizzes.
Node.js Event Loop Internals — What Actually Happens When You await
Posted on:March 9, 2026 at 10:00 AMA deep dive into libuv's event loop phases — timers, I/O callbacks, poll, check, and close — explaining exactly what executes when and why. Includes microtask queue ordering, setImmediate vs setTimeout, and common pitfalls that cause production latency spikes.
Python AsyncIO vs Node.js Event Loop — The Differences That Bite You
Posted on:September 8, 2025 at 10:00 AMBoth Python asyncio and Node.js use a single-threaded event loop for concurrency. But the implementation differences are significant: how coroutines suspend, blocking code behavior, thread pool integration, and the GIL's effect on async Python code.