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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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.4k
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
580
Other Decks in Programming
See All in Programming
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
270
AI駆動開発にグラフDBを重ねてみた
satoshi256kbyte
2
770
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
200
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
110
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
130
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
470
巨大モノリシックアプリ モダン化大作戦
ktcryomm
0
480
typoなんかねぇよ
raspython3
0
680
ソフトウェアラスタライザ
fadis
1
800
まだ間に合う!今年の夏こそSchemeのマクロ展開器を完全理解!
omasanori
0
650
AIは賢い。でも実行環境は? CLIおじさんがAI時代に伝えたいこと ~ CLIおじさんがAI時代に伝えたいこと ~
curekoshimizu
1
220
高専キャリア LT 発表内容
crysta1221
6
5.6k
Featured
See All Featured
We Are The Robots
honzajavorek
0
360
Joys of Absence: A Defence of Solitary Play
codingconduct
1
500
Designing for humans not robots
tammielis
254
26k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
190
Discover your Explorer Soul
emna__ayadi
2
1.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
The SEO Collaboration Effect
kristinabergwall1
1
550
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to make the Groovebox
asonas
2
2.4k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
660
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!