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
55
Getting Into Vue.js
wolfeidau
0
170
AWS Automation With Lambda
wolfeidau
1
82
Ansible and Cloudformation
wolfeidau
1
210
Docker Security
wolfeidau
0
180
Building a Proxy in Go
wolfeidau
2
330
Using JWT to Authenticate Microservices
wolfeidau
1
240
Managing Secrets IN AWS
wolfeidau
0
120
ESPlant Workshop Firmware Overview and Demos
wolfeidau
0
110
Other Decks in Technology
See All in Technology
ChatworkのSRE部って実は 半分くらいPlatform Engineering部かもしれない
saramune
0
160
生成AIの変革の時代に、直近1年で直面した課題とその解決策
ktc_wada
0
330
【NW X Security JAWS#3】L3-4:AWS環境のIPv6移行に向けて知っておきたいこと
shotashiratori
0
370
サーバー間 GraphQL と webmock-graphql の話 / server-to-server graphql and webmock-graphql
qsona
2
190
JAWS-UG Bedrock Claude Night
yamahiro
3
610
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
2.1k
エンジニア候補者向け資料2024.04.24.pdf
macloud
0
3.3k
どうするコスト最適化のトレードオフ
tetsuyaooooo
1
530
MapLibreとAmazon Location Service
dayjournal
1
160
On Your Data を超えていく!
hirotomotaguchi
2
690
いつか使うかも貯金してたらめちゃめちゃ機能が増えてた話
riyaamemiya
0
340
チームでロジカルシンキングに改めて向き合っている話 〜学習環境と実践⽅法〜
sansantech
PRO
3
2.7k
Featured
See All Featured
Adopting Sorbet at Scale
ufuk
68
8.6k
Code Reviewing Like a Champion
maltzj
514
39k
Designing with Data
zakiwarfel
96
4.8k
VelocityConf: Rendering Performance Case Studies
addyosmani
320
23k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
274
13k
Fireside Chat
paigeccino
21
2.6k
GraphQLとの向き合い方2022年版
quramy
32
12k
What's new in Ruby 2.0
geeforr
337
31k
A Modern Web Designer's Workflow
chriscoyier
689
190k
Bash Introduction
62gerente
604
210k
Design by the Numbers
sachag
274
18k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.6k
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