Tag
event-loop
- Sep 8, 2026 Thread-per-Connection, Event Loops, and the Cost of Blocking What a blocked read consumes in each concurrency model, why readiness notification changes the shape of the code, and where each approach fails under load. backend systems
- Jul 18, 2026 The Microtask Checkpoint and How Promise Jobs Actually Run The mechanics behind promise callbacks: when the job queue drains, how await lowers to a reaction, and why a thenable resolution costs extra turns. web platform
- Mar 17, 2026 Readiness Notification and the Single-Threaded Event Loop How one thread watches thousands of file descriptors through epoll or kqueue, why edge-triggered notification forces handlers to drain until EAGAIN, and where the dispatch loop stalls. language runtimes
- Sep 26, 2025 Rendering Opportunities and When Animation Frame Callbacks Run How the browser decides to paint a frame, what requestAnimationFrame is synchronized to, and why callbacks registered during a frame land in the next one. web platform
- Nov 29, 2024 Timer Clamping, Background Throttling, and Cooperative Yielding The integer arithmetic and nesting rules behind setTimeout, why intervals do not catch up, and how scheduler priority levels change when a callback runs. web platform
- Nov 23, 2024 Frame Budgets, Long Tasks, and Where Input Latency Comes From How the main thread allocates work to a frame, why a 50 ms task delays the next interaction by more than 50 ms, and which scheduling primitives actually yield. web platform
- Sep 16, 2024 Task Sources and the Ordering Guarantees of the Event Loop Why the browser runs callbacks from several independent queues, what ordering the specification actually promises, and where cross-queue assumptions break. web platform
- Jan 11, 2024 Hierarchical Timing Wheels for Millions of Timeouts A heap of deadlines costs O(log n) per insertion and O(1) to read the next one. A hashed wheel with cascading levels makes insertion O(1) and confines expiry to one bucket, at the price of resolution and a bounded maximum interval. language runtimes