~/talk

Load-Balancing Node.js in Production

Talkat WebCamp Zagreb 2019 · 2019-10-11..10-12· [nodejs, devops-and-delivery]
linkedin:adnanrahic
slides:none on file

Starts with running Node as a system process via systemd @ template so crashes auto-restart, then moves to the built-in cluster module built into Node to fork one worker per CPU core, showing CPU utilization evens out. Replacing cluster with use nginx as proxy and load balancer removes code changes and also serves static files. For large scale, Docker containers + Kubernetes deployments with replica counts and an ingress/load‑balancer work; verdict: cluster for small, nginx next, Kubernetes only for truly huge workloads.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 1:22Speaker background
  3. 3:20Agenda and story setup
  4. 4:42Deploying with systemd
  5. 7:29Scaling up Node.js
  6. 9:35Using the cluster module
  7. 11:52Nginx as a load balancer
  8. 13:43Scaling out with Kubernetes
  9. 15:54Kubernetes implementation
  10. 17:47Summary and verdict
  11. 20:11Q&A session
~/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.