~/talk

Scaling Node.js and unblocking the Event Loop

Talkat JSDay 2019 · 2019-05-08..05-09· [nodejs]
slides:none on file

Claims that moving CPU work out of the main thread prevents cases like a process stuck on 200k rows by loading modules into another process via sr and using Node core tools like child_process and worker threads. Advises measurement with block-pet, shows chunking arrays by hundreds and using streams instead of tight while loops, explains serverless and load‑balancing options, and demos a 5s blocking loop running in a child process so the main event loop keeps responding.

AI-written summary · about

  1. 0:00Intro
  2. 0:27Storytime
  3. 8:44unblocking the Event Loop
  4. 12:57no GS
  5. 16:12child processes
  6. 18:00require
~/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.