Node.js in Production
      Matthew Eernisse
      NodeConf 2011
Who am I?
Matthew Eernisse
Work at Yammer
@mde on Twitter
Code organization
• Iterative development is easy
• Async, callback-based flow
• Third-party modules
App dependencies
• NPM is not there yet
• Third-party modules are not there yet
• Modify in-place, push patches back
• NPM, modules are improving
Assume you’re fucked
• Default condition is a preemptible error
• in-flight registry
• uncaughtException
Visibility, metrics
• Measure everything
• Log everything
• https://github.com/mikejihbe/metrics
Ops
• Communicative, consultative dev
• Ask what is expected
• Play nicely with others

Mde nodeconf 2011_node_in_production