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
Mackerel in さくらのクラウド
cubicdaiya
1
320
Amazon S3 Vectorsは大規模ベクトル検索を低コスト化するサーバーレスなベクトルデータベースだ #jawsugsaga / S3 Vectors As A Serverless Vector Database
quiver
2
1k
あとはAIに任せて人間は自由に生きる
kentaro
3
690
結局QUICで通信は速くなるの?
kota_yata
9
7.5k
Autonomous Database Serverless 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
18
52k
GCASアップデート(202506-202508)
techniczna
0
210
20250807_Kiroと私の反省会
riz3f7
0
270
Claude Codeは仕様駆動の夢を見ない
gotalab555
23
7.2k
モノレポにおけるエラー管理 ~Runbook自動生成とチームメンションの最適化
biwashi
0
380
僕たちが「開発しやすさ」を求め 模索し続けたアーキテクチャ #アーキテクチャ勉強会_findy
bengo4com
0
2.6k
Kiro と Q Dev で 同じゲームを作らせてみた
r3_yamauchi
PRO
1
120
薬屋のひとりごとにみるトラブルシューティング
tomokusaba
0
390
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
60k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.6k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
6k
A designer walks into a library…
pauljervisheath
207
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Docker and Python
trallard
45
3.5k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
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