~/talk

Running Node.js in Production

Talkat JSConf US 2011 · 2011-05-02..05-03· [nodejs, devops-and-delivery]
slides:none on file

Claims that unhandled 'error' events crash the process so code must trap them and often call process.exit; shows that forgetting to catch socket/http errors and leaving listeners causes leaks and GC retention so use dot.once for one-shot handlers; demonstrates a monitor called forever that restarts child pids and displays uptime; describes require-analyzer that monkey-patches module.load to enumerate real dependencies; compares cluster shared-descriptor versus round-robin proxy for scaling and reports the proxy approach works in production.

AI-written summary · about

  1. 0:00Start
  2. 3:35Watch your Events
  3. 11:40Structure your code
  4. 12:57Option 1: Shared File Descriptors
  5. 13:37Option 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.