~/talk

Parallel Universes: Node.js

Talkat JS Conf Armenia 2021 · on Saturday, 2021-10-23· [nodejs]
slides:none on file

Shows how Node.js achieves parallelism by spawning worker threads (and forking processes) and wiring explicit message passing between child and parent; walks through a concrete forker/worker example that actually sends messages back and forth. Demonstrates a failing variant that uses shared memory race conditions and explains the subtle bug that appears. Includes live code behavior so the built example either succeeds with message serialization or breaks when memory is shared.

AI-written summary · about

  1. 0:00Start
  2. 1:50JavaScript
  3. 4:39Do not occupy the manager!
  4. 9:46Worker Threads
  5. 15:31Main Thread Thread communication
  6. 23:55Race condition
~/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.