~/talk

Everything I Thought I Knew about the Event Loop Was Wrong

Talkat NodeConf Argentina 2017 · on Saturday, 2017-10-28· [nodejs]
slides:none on file

The event loop is not a separate thread but part of the single JS thread and libuv uses a libuv thread pool of four threads for only certain OS-blocking work; it runs distinct phases (timers, callbacks, I/O poll, setImmediate) not a simple queue. Tick-frequency is misleading; measurable, useful signals are work process latency (thread-pool wait) observed by pounding sharp image processing and event-loop latency (callback delay) measured with setTimeout/setImmediate. A dashboard of those metrics is built and works but requires baselining and correlation to be actionable.

AI-written summary · about

  1. 0:00Start
  2. 4:09What we know Lo que sabemos
  3. 5:11Show me a picture! Muestrame una foto!
  4. 6:57Derived Misconceptions Conceptos erróneos derivados
  5. 11:55Reality Realidad
  6. 14:07My Turn... Mi turno
  7. 28:39What does "latency" mean here? ¿Qué significa "latencia" aqui?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.