~/talk

Weaving Webs of Workers

Talkat JS Kongress 2019 · on Tuesday, 2019-03-12· [web-platform, web-performance]

Web Workers move heavy data fetching and transforms off the main thread by using blob-created dynamic workers, messageChannel port transfers, and promise-wrapped postMessage calls so tasks resolve like normal async functions. Practical tools demonstrated include Promise Worker, workerize, greenlet, and worker-box for injecting test stubs. Netflix Lumen performs almost all major data ops in workers; a Game of Life demo plus off-screen canvas rendering run smoothly, and tests treat worker exchanges as promises.

AI-written summary · about

  1. 0:00Introduction
  2. 2:20What are Web Workers
  3. 7:15Problems with Web Workers
  4. 9:15Using Promises
  5. 12:12Dynamic Workers
  6. 14:54Worker to Worker Communication
  7. 18:41Worker DOM
  8. 20:22Testing
  9. 23:20Conclusion
~/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.