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
520
マルチクラウドな大規模サービス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
Navigation3でViewModelにデータを渡す方法
mikanichinose
0
120
(非公式) AWS Summit Japan と 海浜幕張 の歩き方 2025年版
coosuke
PRO
1
300
今からでも間に合う! 生成AI「RAG」再入門 / Re-introduction to RAG in Generative AI
hideakiaoyagi
1
190
原則から考える保守しやすいComposable関数設計
moriatsushi
3
480
Observability infrastructure behind the trillion-messages scale Kafka platform
lycorptech_jp
PRO
0
110
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
320
AIエージェントの継続的改善のためオブザーバビリティ
pharma_x_tech
6
1.3k
Clineを含めたAIエージェントを 大規模組織に導入し、投資対効果を考える / Introducing AI agents into your organization
i35_267
4
940
API の仕様から紐解く「MCP 入門」 ~MCP の「コンテキスト」って何だ?~
cdataj
0
170
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
280
AWS全冠したので振りかえってみる
tajimon
0
150
In Praise of "Normal" Engineers (LDX3)
charity
2
1.1k
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
123
52k
VelocityConf: Rendering Performance Case Studies
addyosmani
329
24k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.6k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Speed Design
sergeychernyshev
31
990
Designing for humans not robots
tammielis
253
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Build your cross-platform service in a week with App Engine
jlugia
231
18k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
YesSQL, Process and Tooling at Scale
rocio
172
14k
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