Q06/ 15
T04Timers and scheduling
A timer set for 100 ms fires at 340 ms. List the possible causes, most likely first.
Your answer
Most likely the loop was busy: a long synchronous task or a burst of promise jobs, so the timers phase came late. Next, a garbage collection pause. A major collection can take tens of milliseconds. Then CPU starvation: a throttled container or a noisy neighbour. Last, my own code re-armed the timer.
Prompt for your agentjudge_grill_answer
Judge my answers in grill Node.js runtime internals · round 3 (g3) with judge_grill_answer.