Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
NodeJS in Production
Search
Mark Wolfe
October 22, 2014
Technology
0
140
NodeJS in Production
Talk I gave at NodeJS meetup in Melbourne about running and monitoring applications in production.
Mark Wolfe
October 22, 2014
Tweet
Share
More Decks by Mark Wolfe
See All by Mark Wolfe
IP Networking in AWS
wolfeidau
0
66
Getting Into Vue.js
wolfeidau
0
190
AWS Automation With Lambda
wolfeidau
1
90
Ansible and Cloudformation
wolfeidau
1
230
Docker Security
wolfeidau
0
190
Building a Proxy in Go
wolfeidau
2
380
Using JWT to Authenticate Microservices
wolfeidau
1
250
Managing Secrets IN AWS
wolfeidau
0
150
ESPlant Workshop Firmware Overview and Demos
wolfeidau
0
130
Other Decks in Technology
See All in Technology
Autonomous Database - Dedicated 技術詳細 / adb-d_technical_detail_jp
oracle4engineer
PRO
4
10k
[ JAWS-UG 東京 CommunityBuilders Night #2 ]SlackとAmazon Q Developerで 運用効率化を模索する
sh_fk2
3
450
これでもう迷わない!Jetpack Composeの書き方実践ガイド
zozotech
PRO
0
1k
「どこから読む?」コードとカルチャーに最速で馴染むための実践ガイド
zozotech
PRO
0
520
Modern Linux
oracle4engineer
PRO
0
150
未経験者・初心者に贈る!40分でわかるAndroidアプリ開発の今と大事なポイント
operando
5
710
まずはマネコンでちゃちゃっと作ってから、それをCDKにしてみよか。
yamada_r
2
120
JTCにおける内製×スクラム開発への挑戦〜内製化率95%達成の舞台裏/JTC's challenge of in-house development with Scrum
aeonpeople
0
240
株式会社ログラス - 会社説明資料【エンジニア】/ Loglass Engineer
loglass2019
4
65k
Agile PBL at New Grads Trainings
kawaguti
PRO
1
440
LLMを搭載したプロダクトの品質保証の模索と学び
qa
0
1.1k
AIエージェント開発用SDKとローカルLLMをLINE Botと組み合わせてみた / LINEを使ったLT大会 #14
you
PRO
0
130
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
74
5k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.1k
How STYLIGHT went responsive
nonsquared
100
5.8k
A Modern Web Designer's Workflow
chriscoyier
696
190k
The Language of Interfaces
destraynor
161
25k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Side Projects
sachag
455
43k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Transcript
NodeJS In Production
Some Background 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
Operational Visibility Add graphs for things business metrics! Add graphs
for key system performance metrics Tune logging to remove noise Simple deterministic deployment process Error Monitoring
Operational Visibility cont. Get a chat room for ops events,
Engineering hipchat slack All events go to this room commits + deploys + badness + gifs
Graphs Business Metrics! Orders, Payments and Signups CPU Usage /
Load Memory Usage RSS (Resident Set Size) and V8 Heap Total / Used Event Loop Delay
Logging What happened? When did this happen? Where in our
codebase did this happen? File and Line Number Visible from anywhere and searchable
Health Checks Health Checks SQL server connection status Redis connection
status Anything your app depends on to operate
Monitoring Suite Pager Duty Pingdom Librato Bugsnag
Demo Code!
Memory Leaks Every production node app I have seen has
them V8 Memory leaks Buffer leaks (fragmentation) Everything is Lazy
Eliminating Leaks v8 profiler, learn to use it node-tick (more
links in readme) Watch the v8 tuning presentations! Why bother?
Questions CTO at Ninja Blocks http://ninjablocks.com/ @wolfeidau on twitter github.com/wolfeidau