~/talk

Building Distributed Systems with Node.js

Talkat Nordic.js 2019 · 2019-10-10..10-11· [nodejs, microservices]
slides:none on file

Node.js servers use Primus (WS) to add WebSocket multiplayer to a simple drawing app, then HAProxy at :8000 load balances across two app instances and democracy.js pub/sub replicates events so clicks broadcast to all servers. Demo runs on DigitalOcean with four servers, survives single-server failures and rebalances connections, and the team reports outages dropping from two to three per week to two to three in five years. Core claim: small Node code plus democracy.js pub/sub makes a working distributed system.

AI-written summary · about

  1. 0:00Start
  2. 3:01Minimizing Downtime
  3. 4:40Basic Distributed System
  4. 5:24Health Checks
  5. 6:32Application Layer
  6. 6:54Messaging Layer
  7. 7:46Democracy Jas
  8. 8:49Set Up Our Application Layer
  9. 9:37Node Server
  10. 10:18Primus Server
  11. 13:21Add the Load Balancing Layer
  12. 22:27Recap
~/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.