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
Node Apps Performance Tuning
Search
Daiki Matsui
July 02, 2016
Technology
0
140
Node Apps Performance Tuning
YAPC::ASIA Hachioji 2016 mid in Shinagawa
Daiki Matsui
July 02, 2016
Tweet
Share
More Decks by Daiki Matsui
See All by Daiki Matsui
The Fourth Age of SRE
ikemonn
0
530
マルチクラウドな大規模サービスKARTEを支えるDatadog/multi-cloud monitoring with Datadog
ikemonn
0
2.5k
Multicloud deploy with Spinnaker / builderscon tokyo 2018
ikemonn
2
4.6k
KARTE を支えるマルチプラットフォームインフラ監視 /karte-multi-platform-monitoring
ikemonn
2
16k
Other Decks in Technology
See All in Technology
下手な強制、ダメ!絶対! 「ガードレール」を「檻」にさせない"ガバナンス"の取り方とは?
tsukaman
2
430
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
240
ブロックテーマ時代における、テーマの CSS について考える Toro_Unit / 2025.09.13 @ Shinshu WordPress Meetup
torounit
0
120
企業の生成AIガバナンスにおけるエージェントとセキュリティ
lycorptech_jp
PRO
2
160
Aurora DSQLはサーバーレスアーキテクチャの常識を変えるのか
iwatatomoya
1
910
「何となくテストする」を卒業するためにプロダクトが動く仕組みを理解しよう
kawabeaver
0
390
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
8.7k
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
1
270
エラーとアクセシビリティ
schktjm
1
1.2k
AWSを利用する上で知っておきたい名前解決のはなし(10分版)
nagisa53
10
3.1k
Android Audio: Beyond Winning On It
atsushieno
0
110
react-callを使ってダイヤログをいろんなとこで再利用しよう!
shinaps
1
240
Featured
See All Featured
Why Our Code Smells
bkeepers
PRO
339
57k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
8
520
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
51
5.6k
Writing Fast Ruby
sferik
628
62k
What's in a price? How to price your products and services
michaelherold
246
12k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
What’s in a name? Adding method to the madness
productmarketing
PRO
23
3.7k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Scaling GitHub
holman
463
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
29
1.9k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
Transcript
Node Apps Performance Tuning @ikemonn
@ikemonn ΠϯϑϥΤϯδχΞ
࣍ 1. ߏ 2. ଌఆ 3. νϡʔχϯά 4. ·ͱΊ
࣍ 1. ߏ 2. ଌఆ 3. νϡʔχϯά 4. ·ͱΊ
v4.4.3 v3.0.8
࣍ 1. ߏ 2. ଌఆ 3. νϡʔχϯά 4. ·ͱΊ
response timeΛ֤ॲཧͰଌఆ 1. ࣗͰॻ͍ͨίʔυͷܭଌ
var dogstatsd = require('libs-dogstatsd') const stats = dogstatsd.start(); // some
method stats.tick('test'); libs-dogstatsd
None
CPU? or Memory? 2. ࣗͰॻ͍ͨίʔυҎ֎ͷܭଌ
node-inspector/v8-profiler thlorenz/traceviewify
x࣠: CPU time y࣠: stack trace
ԣ෯͕͘(CPU timeΛফඅ͍ͯͯ͠) ΪβΪβͰͳ͍(ಛఆͷॲཧ͕ϘτϧωοΫ) ͷΛ୳͢
virtual
• Mongoose Document • vogels • console.error
࣍ 1. ߏ 2. ଌఆ 3. νϡʔχϯά 4. ·ͱΊ
• Mongoose Document • lean()Λ͏ • vogels • aws-sdkΛ͏ •
console.error • stackΛग़͢ॴΛߜΔ
25%վળʂ
࣍ 1. ߏ 2. ଌఆ 3. νϡʔχϯά 4. ·ͱΊ
None
profileΛऔΔ͜ͱͰ ࣗͷίʔυҎ֎ͷ ϘτϧωοΫʹؾ͚ͮͨʂ
We are hiring! https://www.wantedly.com/projects/54721