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
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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
910
マルチクラウドな大規模サービスKARTEを支えるDatadog/multi-cloud monitoring with Datadog
ikemonn
0
2.6k
Multicloud deploy with Spinnaker / builderscon tokyo 2018
ikemonn
2
4.9k
KARTE を支えるマルチプラットフォームインフラ監視 /karte-multi-platform-monitoring
ikemonn
2
16k
Other Decks in Technology
See All in Technology
Kiro Crew で始める マルチエージェント開発
miu_crescent
PRO
0
160
会社紹介資料 / Sansan Company Profile
sansan33
PRO
24
430k
AI画像認識を活用したゲーム内決済処理検証の自動化
gree_tech
PRO
0
260
AIのためのEthernet技術動向 (SerDes)
markunet
1
300
AI・HPC開発を支えるGPU環境の新しい選択肢 液冷GPUシステム「AquSys」の取り組み
gpuunite_official
0
230
国家プロジェクトを支える「さくらONE」 大規模LLM開発におけるGPU障害を乗り越えるクラスター運用戦略
gpuunite_official
0
260
【GCC2026】鉄拳8でのVFX開発事例
bandainamcostudios
PRO
0
270
[potatotips #96] Give Your AI Agent the Flutter Playbook
korodroid
0
140
コネクションをピン留めさせずに SELECTクエリのタイムアウトを設定した話
codmoninc
0
210
VLMで2.3万枚のPyCon JP写真を検索!
terapyon
1
310
型落ちシンクライアント端末のPoEモジュールを自作したかった話
logica0419
0
320
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
12
85k
Featured
See All Featured
Believing is Seeing
oripsolob
1
200
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Mind Mapping
helmedeiros
PRO
1
330
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
250
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
How to Talk to Developers About Accessibility
jct
2
520
30 Presentation Tips
portentint
PRO
1
380
Leo the Paperboy
mayatellez
8
2.2k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
500
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
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