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
58
Getting Into Vue.js
wolfeidau
0
180
AWS Automation With Lambda
wolfeidau
1
85
Ansible and Cloudformation
wolfeidau
1
220
Docker Security
wolfeidau
0
180
Building a Proxy in Go
wolfeidau
2
360
Using JWT to Authenticate Microservices
wolfeidau
1
240
Managing Secrets IN AWS
wolfeidau
0
130
ESPlant Workshop Firmware Overview and Demos
wolfeidau
0
110
Other Decks in Technology
See All in Technology
Zennのパフォーマンスモニタリングでやっていること
ryosukeigarashi
0
160
AWS Lambdaと歩んだ“サーバーレス”と今後 #lambda_10years
yoshidashingo
1
180
【令和最新版】AWS Direct Connectと愉快なGWたちのおさらい
minorun365
PRO
5
760
アジャイルでの品質の進化 Agile in Motion vol.1/20241118 Hiroyuki Sato
shift_evolve
0
170
心が動くエンジニアリング ── 私が夢中になる理由
16bitidol
0
100
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
リンクアンドモチベーション ソフトウェアエンジニア向け紹介資料 / Introduction to Link and Motivation for Software Engineers
lmi
4
300k
強いチームと開発生産性
onk
PRO
35
11k
組織成長を加速させるオンボーディングの取り組み
sudoakiy
2
220
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
130
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
SRE×AIOpsを始めよう!GuardDutyによるお手軽脅威検出
amixedcolor
0
190
Featured
See All Featured
Embracing the Ebb and Flow
colly
84
4.5k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Making Projects Easy
brettharned
115
5.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Gamification - CAS2011
davidbonilla
80
5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
25
1.8k
A designer walks into a library…
pauljervisheath
204
24k
Writing Fast Ruby
sferik
627
61k
Designing the Hi-DPI Web
ddemaree
280
34k
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