~/talk

Running Node.js in Production

Talkat NodeConf 2011 · on Thursday, 2011-05-05· [nodejs, devops-and-delivery]
slides:none on file

Argues that production Node must exit on error so restarts reset state, shows socket errors bubble up and must handle the 'error' event, warns about listener leaks and recommends using eventEmitter.once to avoid closure-retaining leaks. Recommends forever/upstart for process monitoring, strict package.json dependency pinning with proper semver x ranges, and demonstrates haibu (an app server) spawning apps on isolated ports, auto-installing npm deps, proxy load balancing, and using forever for restarts.

AI-written summary · about

  1. 0:00Start
  2. 2:14Listen for Errors
  3. 3:27Watch your Events
  4. 9:39Structure your code
  5. 10:40Option 1: Shared File Descriptors
  6. 11:08Option 2: Round-Robin Proxy
~/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.