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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Daiki Matsui
July 02, 2016
Technology
150
0
Share
Node Apps Performance Tuning
YAPC::ASIA Hachioji 2016 mid in Shinagawa
Daiki Matsui
July 02, 2016
More Decks by Daiki Matsui
See All by Daiki Matsui
The Fourth Age of SRE
ikemonn
0
870
マルチクラウドな大規模サービスKARTEを支えるDatadog/multi-cloud monitoring with Datadog
ikemonn
0
2.6k
Multicloud deploy with Spinnaker / builderscon tokyo 2018
ikemonn
2
4.8k
KARTE を支えるマルチプラットフォームインフラ監視 /karte-multi-platform-monitoring
ikemonn
2
16k
Other Decks in Technology
See All in Technology
マルチプロダクトの信頼性を効率良く保っていくために
kworkdev
PRO
0
180
「誰一人取り残されない」 AIエージェント時代のプロダクト設計思想 Product Management Summit 2026
mizushimac
1
1.7k
AI와 협업하는 조직으로의 여정
arawn
0
530
[OpsJAWS 40]リリースしたら終わり、じゃなかった。セキュリティ空白期間をAWS Security Agentで埋める
sh_fk2
3
260
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
210
"おまじない"を卒業する ボイラープレート再入門
shunsuke_1b
1
110
Cortex Codeのコスト見積ヒントご紹介
yokatsuki
0
120
Route 53 Global Resolver で高額課金発生!
otanikohei2023
0
130
ハーネスエンジニアリングの概要と設計思想
sergicalsix
9
5.4k
小説執筆のハーネスエンジニアリング
yoshitetsu
0
810
Hacobu Tech Deck
hacobu
PRO
0
130
ハーネスエンジニアリングをやりすぎた話 ~そのハーネスは解体された~
gotalab555
5
1.9k
Featured
See All Featured
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
340
Building an army of robots
kneath
306
46k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
End of SEO as We Know It (SMX Advanced Version)
ipullrank
3
4.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.6k
Raft: Consensus for Rubyists
vanstee
141
7.4k
New Earth Scene 8
popppiees
3
2.1k
The Limits of Empathy - UXLibs8
cassininazir
1
310
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.9k
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