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
370
Using JWT to Authenticate Microservices
wolfeidau
1
250
Managing Secrets IN AWS
wolfeidau
0
140
ESPlant Workshop Firmware Overview and Demos
wolfeidau
0
130
Other Decks in Technology
See All in Technology
React Server ComponentsでAPI不要の開発体験
polidog
PRO
0
270
生成AI時代におけるAI・機械学習技術を用いたプロダクト開発の深化と進化 #BetAIDay
layerx
PRO
1
1.2k
事業特性から逆算したインフラ設計
upsider_tech
0
130
人に寄り添うAIエージェントとアーキテクチャ #BetAIDay
layerx
PRO
9
2.3k
ファッションコーディネートアプリ「WEAR」における、Vertex AI Vector Searchを利用したレコメンド機能の開発・運用で得られたノウハウの紹介
zozotech
PRO
0
350
Jamf Connect ZTNAとMDMで実現! 金融ベンチャーにおける「デバイストラスト」実例と軌跡 / Kyash Device Trust
rela1470
1
200
Bet "Bet AI" - Accelerating Our AI Journey #BetAIDay
layerx
PRO
4
1.8k
o11yツールを乗り換えた話
tak0x00
2
1.4k
マルチプロダクト×マルチテナントを支えるモジュラモノリスを中心としたアソビューのアーキテクチャ
disc99
1
560
Amazon S3 Vectorsは大規模ベクトル検索を低コスト化するサーバーレスなベクトルデータベースだ #jawsugsaga / S3 Vectors As A Serverless Vector Database
quiver
1
580
Amazon Q と『音楽』-ゲーム音楽もAmazonQで作成してみた感想-
senseofunity129
0
140
AI関数が早くなったので試してみよう
kumakura
0
300
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
Testing 201, or: Great Expectations
jmmastey
45
7.6k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
760
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Facilitating Awesome Meetings
lara
54
6.5k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Embracing the Ebb and Flow
colly
86
4.8k
The Pragmatic Product Professional
lauravandoore
36
6.8k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.8k
Thoughts on Productivity
jonyablonski
69
4.8k
Music & Morning Musume
bryan
46
6.7k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
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