The Node.js Event Loop: libuv Phases, Timers & nextTick
Step through the server-side event loop, the one libuv runs — not the browser model. Walk the phase cycle (timers, pending callbacks, poll, check, close), then settle the...
Browse the public Catalog and filter quizzes by Tag.
Step through the server-side event loop, the one libuv runs — not the browser model. Walk the phase cycle (timers, pending callbacks, poll, check, close), then settle the...
Readable, Writable, and Transform streams, .pipe() vs stream.pipeline(), what backpressure actually protects, and how object mode changes the rules. Every answer is verified by...
A local-first app treats the network as an enhancement, not a requirement. Work through service-worker caching strategies (cache-first, network-first, stale-while-revalidate),...
A scenario-based Quiz about why projects slip, grow, stall, or become confusing. Each Question names a recognizable project smell and uses the Explanation to teach the...
When demand outruns capacity, a system either sheds load gracefully or collapses. This quiz walks the full path: the algorithms (token vs. leaky bucket, fixed vs. sliding...
"Make it real-time" hides a ladder of escalating tradeoffs. Climb it: short polling, long polling, Server-Sent Events, and WebSockets — when each is the right tool, what they...
When to reach for short polling, long polling, Server-Sent Events, or WebSockets — and how each handles reconnection and message ordering. Handshakes, headers, and trade-offs...
A single Node process runs your JavaScript on one event-loop thread — so scaling it is a system-design problem, not a config flag. Build intuition for statelessness as the...
Running real-time WebSockets across a fleet: why connections need sticky sessions, how a pub/sub backplane fans messages across nodes, tracking presence, per-connection...
Thirty-eight questions about waiting lines as social systems: first-come-first-served as a social contract, single serpentine queues, perceived waiting time, priority queues,...
The precise SSE wire format from the WHATWG HTML spec: comment/keep-alive lines, multi-line data, the dispatch rule, named vs default events, the id and retry fields, stopping...
A 40-question deep dive built to help frontend engineers better understand algorithms by grounding classic computer-science ideas in browser behavior you can actually observe....