~/talk

Data-flow Processing for Node.JS with Straw

Talkat JSConf.Asia 2013 · 2013-11-28..11-29· [frontend-architecture, javascript]
slides:none on file

Straw claims to be a lightweight data‑flow framework for Node.js that already runs on npm and is used in production to process millions of messages a day. It uses Redis lists with BRPOP for queues and built‑in load balancing, runs each node as forked child processes to use multiple cores, and exposes taps so an Express + socket.io front end can stream e g a Twitter firehose map, top‑20 hashtags and language counts. Real deployments (electricity futures feed) handle spikes and auto‑restart crashed nodes.

AI-written summary · about

  1. 0:00Intro
  2. 0:42Computer
  3. 3:09IBM
  4. 3:33Twitter
  5. 3:53Recap
  6. 4:08ENIAC
  7. 5:02MAX MSP
  8. 5:34Why MSP
  9. 6:18Straw
  10. 6:33Hello World
  11. 7:04Topology
  12. 7:52Structure
  13. 8:28CountOut
  14. 8:40Print
  15. 9:08Start with Straw
  16. 9:31Processing incoming messages
  17. 9:52Twitter Firehose
  18. 12:24Taps
  19. 13:16Socket
  20. 13:31Haystack
  21. 13:57Github repo
  22. 14:19Redis
  23. 14:58Throw
  24. 16:17Advantages of NodeRunner
  25. 17:43Creating a runner
  26. 18:04Running a child process
  27. 18:34Communication with the process
  28. 18:58Command line arguments
  29. 19:24ReadUs
  30. 19:49Redis Lists
  31. 21:53Event Handler
  32. 22:09Redis Monitor
  33. 22:54Real World Example
  34. 24:27Screenshots
  35. 24:45Pipe Monitor
  36. 25:41Stats Deep
  37. 26:17Charts Deep
  38. 27:05Summary
  39. 27:19Wrap up
~/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.