Talk I gave at NodeJS meetup in Melbourne about running and monitoring applications in production.
NodeJS In Production
Ninjablocks has been using NodeJS for ~3 years
Used in a range of web and realtime services
Running on Heroku and AWS
Also running on 1000s ARM devices
Add graphs for things business metrics!
Add graphs for key system performance metrics
Tune logging to remove noise
Simple deterministic deployment process
Operational Visibility cont.
Get a chat room for ops events, Engineering
All events go to this room
commits + deploys + badness + gifs
Orders, Payments and Signups
CPU Usage / Load
RSS (Resident Set Size) and V8 Heap Total / Used
Event Loop Delay
When did this happen?
Where in our codebase did this happen?
File and Line Number
Visible from anywhere and searchable
SQL server connection status
Redis connection status
Anything your app depends on to operate
Every production node app I have seen has them
V8 Memory leaks
Buffer leaks (fragmentation)
Everything is Lazy
v8 proﬁler, learn to use it
node-tick (more links in readme)
Watch the v8 tuning presentations!
CTO at Ninja Blocks http://ninjablocks.com/
@wolfeidau on twitter