~/talk

Programming a Node Cluster Like It's One Really Big Computer

Talkat CascadiaJS 2013 · 2013-11-14..11-15· [nodejs]
slides:none on file

Argues that Node clusters can be programmed like one big machine by implementing an actor model over sockets: actors get actor IDs over HTTP, a lookup table routes messages, and each actor keeps a mailbox FIFO queue. Uses Node’s cluster/process + simple HTTP connections to spawn actors on worker servers (demo runs actors on ports 3000 and 4000), sends ping/pong across two nodes, and shows a working prototype called distributed.createServer that proxies messages and spawns remote processes.

AI-written summary · about

  1. 0:00Introduction
  2. 1:30JavaScript
  3. 2:40ClientSocket
  4. 4:20Preforking
  5. 6:05Other languages
  6. 11:15Topology
  7. 12:35Shared Memory
  8. 13:54Ease of Building
  9. 14:35Friction
  10. 17:15Mailbox Ownership
  11. 17:45Multiple Recipients
  12. 20:05Shared State
  13. 20:28Actor Model
  14. 24:11Message Sender
  15. 24:26Actor IDs
  16. 26:28Process Interface
  17. 27:39Ping Example
~/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.