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.
Holds under load.
Right order, and you named the mechanism each time. To reach level 4, add that timers are checked once per loop iteration, so a slow poll phase delays them too.