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
68
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
ニッポンの人に知ってもらいたいGISスポット
sakaik
0
140
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
43k
Claude Codeを駆使した初めてのiOSアプリ開発 ~ゼロから3週間でグローバルハッカソンで入賞するまで~
oikon48
7
2.7k
RDS の負荷が高い場合に AWS で取りうる具体策 N 連発/a-series-of-specific-countermeasures-available-on-aws-when-rds-is-under-high-load
emiki
1
210
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
330
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
280
今この時代に技術とどう向き合うべきか
gree_tech
PRO
0
1.4k
プレーリーカードを活用しよう❗❗デジタル名刺交換からはじまるイベント会場交流のススメ
tsukaman
0
160
Performance Insights 廃止から Database Insights 利用へ/transition-from-performance-insights-to-database-insights
emiki
0
270
React19.2のuseEffectEventを追う
maguroalternative
0
210
20201008_ファインディ_品質意識を育てる役目は人かAIか___2_.pdf
findy_eventslides
2
640
Vibe Coding Year in Review. From Karpathy to Real-World Agents by Niels Rolland, CEO Paatch
vcoisne
0
140
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.2k
Rails Girls Zürich Keynote
gr2m
95
14k
Thoughts on Productivity
jonyablonski
70
4.9k
Code Review Best Practice
trishagee
72
19k
YesSQL, Process and Tooling at Scale
rocio
173
14k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
870
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
BBQ
matthewcrist
89
9.8k
Java REST API Framework Comparison - PWX 2021
mraible
34
8.9k
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