Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
php-profiler-extensionを使ったApplication Performan...
Search
Takuya Arita
February 22, 2017
Programming
1.8k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
php-profiler-extensionを使ったApplication Performance Monitoring
PHP BLT #6 での発表資料です #phpplt
Takuya Arita
February 22, 2017
More Decks by Takuya Arita
See All by Takuya Arita
Hosted Redash の EOL と移行ツール redash-migrate / You should know about Hosted Redash EOL and redash-migrate
ariarijp
0
3.4k
Redash で踏み出す BI 導入はじめの一歩 / DataEngineeringStudy Redash
ariarijp
1
2.8k
Redash のいま / Redash in 2021
ariarijp
2
1.2k
Redash 導入・運用を4年ぐらいやって変わったこと・変わらなかったこと / Changed and unchanged things with Redash and me
ariarijp
0
1.5k
5年前の自分に伝えたい広告 API 周辺の歩き方 / SOT Tech Night vol.1
ariarijp
1
550
使われていない、を知る / How do we know unused things in the real world?
ariarijp
0
490
MULTI_ORG について / What is MULTI_ORG in Redash
ariarijp
1
3.9k
あらためて振り返る Redash の使いどころ / Why I strongly recommend Redash
ariarijp
2
1.3k
PHP Data Structures
ariarijp
1
590
Other Decks in Programming
See All in Programming
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
210
WebRTC映像をAirPlayに対応させる挑戦.pdf
monolithic_adam
0
330
コードレビューのボトルネックを"する側"と"される側"の両面から解消する
yub0n
2
1.2k
カツオ、ご期待ください
suneo3476
0
130
Intent as Code
shoppingjaws
6
1.1k
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
250
Java 27新機能 / Java 27 new features
kishida
2
190
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
19
20k
MVNOの申込からeSIM開通までをiOSアプリでつなぐ- 本人確認・MNP・通信事業者基盤をまたぐ実装
satotakeshi
0
520
wkhtmltopdfの次どうするか問題2026
willnet
2
1.8k
Simple Storage Service(S3) is not simple
iwatsukayura
0
120
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.5k
Designing for humans not robots
tammielis
254
26k
Everyday Curiosity
cassininazir
0
340
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
490
The SEO identity crisis: Don't let AI make you average
varn
0
570
How STYLIGHT went responsive
nonsquared
100
6.3k
Rails Girls Zürich Keynote
gr2m
96
14k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
330
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Building Adaptive Systems
keathley
44
3.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
Transcript
php-profiler-extensionを使った Application Performance Monitoring @ariarijp
自己紹介 • @ariarijp(Takuya Arita) • 株式会社ココラブル ソフトウェアエンジニア • Facebook広告運用ツールの開発担当 •
毎日CSVかJSONと戯れています
php-profiler-extensionを使った Application Performance Monitoring
php-profiler-extensionを使った Application Performance Monitoring Yak Shaving
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化
tideways/php-profiler-extension
tideways/php-profiler-extension • PHPのプロファイリング、モニタリングなどをSaaSで提供 しているTidewaysが中心となって開発 • XHProfの代替として使える • PHP7をサポート! • 特定の区間(span)を計測できる
• Tidewaysを使わなくてもよい • 適当にTCP/UDPポート開けておけばそこに投げ込んでく れる
tideways/php-profiler-extension • PHPのプロファイリング、モニタリングなどをSaaSで提供 しているTidewaysが中心となって開発 • XHProfの代替として使える • PHP7をサポート! • 特定の区間(span)を計測できる
• Tidewaysを使わなくてもよい • 適当にTCP/UDPポート開けておけばそこに投げ込んでく れる
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化 実は最初(php-apm)別の使ってたけどダメだった
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化 バッファーサイズ足りないっぽい?けど デモではごまかす 実は最初(php-apm)別の使ってたけどダメだった
構成 • php-profiler-extension • TCPソケットサーバー • php-profiler-extensionからJSONを受け取って Elasticsearchで扱いやすいように整形して • Fluentd
• JSON形式の入力をElasticsearchに流す • Elasticsearch / Kibana • データの格納と可視化 設定の仕方忘れててハマった バッファーサイズ足りないっぽい?けど デモではごまかす 実は最初(php-apm)別の使ってたけどダメだった
デモ環境 • Vagrant(VirtualBox / Ubuntu 16.04 / PHP 7.0.13) •
前述のピタゴラスイッチ • WordPress(FakerPressでダミー記事作成済み) • WordPressをクロールするプログラム
デモの雰囲気
None
None
None
まとめ • XHProfのデータをKibanaで見れるのは便利かもし れない • すでにElasticsearch/Kibana環境があれば導入ハー ドルは低そう • Elasticsearch/Kibanaの話だよね。とか言わない
まとめ • XHProfのデータをKibanaで見れるのは便利かもし れない • すでにElasticsearch/Kibana環境があれば導入ハー ドルは低そう • Elasticsearch/Kibanaの話だよね。とか言わない
Thank you!