~/talk

Scaling event-driven systems with Node and GraphQL subscriptions

Talkat Node.js Global Summit 2020 · on Saturday, 2020-05-30· [nodejs, graphql]
slides:none on file

Claims that combining Node worker threads with GraphQL subscriptions gives full‑stack real‑time feedback while offloading CPU work to multiple cores; demo uses React + Apollo, two Docker containers (one single‑threaded, one parallel), and a six tasks demo running heavy trig math over large arrays. Observes worker spawn cost, Docker scheduling contention and sublinear scaling (e.g. ~2x for 4 cores, ~3.5x for 8), and incomplete reliability in the demo; profiling and cloud tests are proposed.

AI-written summary · about

  1. 0:00Introduction
  2. 3:06Welcome
  3. 4:32Research
  4. 4:43Monoliths
  5. 6:41Microservices
  6. 9:54Events
  7. 11:38Event design
  8. 12:53Nodejs and Javascript
  9. 14:49Building an HTTP server
  10. 14:59How to scale
  11. 16:43Scaling horizontally
  12. 17:15Running more instances
  13. 18:55Vertical scaling
  14. 19:51Leveraging hardware
  15. 21:38Node is the perfect choice
  16. 22:19Worker threats
  17. 24:17Worker threats for everything
  18. 25:37GraphQL
  19. 27:33GraphQL subscriptions
  20. 28:20How subscriptions work
  21. 29:47Whats going in the backend
  22. 30:14Realtime feedback
  23. 31:36Demo
  24. 33:31Future work
  25. 35:40Summary
  26. 36:38Outro
~/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.