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
最近個人開発が熱い ~モニタリング強化編v0.1.0~
Search
sugar-cat
November 06, 2024
520
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
最近個人開発が熱い ~モニタリング強化編v0.1.0~
sugar-cat
November 06, 2024
More Decks by sugar-cat
See All by sugar-cat
HonoとOpenTelemetryで実現するオブザーバービリティ構築
sugarcat7
0
570
ErrorTrackingとOrchestrion
sugarcat7
0
440
DiscordとCloudflare
sugarcat7
2
1.3k
Cloudflare Workflowsを使いたい倒したい
sugarcat7
8
2.7k
tslogで実現するセキュアなメタデータ管理とロギング
sugarcat7
4
1.7k
Honoで実現するバックエンド開発のイマ
sugarcat7
23
6.4k
GoとWASI~超入門~
sugarcat7
2
330
最近個人開発が熱い ~多言語対応編~
sugarcat7
2
450
ボイラープレート自動生成ツールを使わなくなった話.pdf
sugarcat7
4
800
Featured
See All Featured
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
63
45k
Ruling the World: When Life Gets Gamed
codingconduct
0
330
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
GitHub's CSS Performance
jonrohan
1033
470k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
590
Test your architecture with Archunit
thirion
2
2.4k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Are puppies a ranking factor?
jonoalderson
2
3.9k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.2k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Transcript
最近個人開発が熱い ~モニタリング強化編v0.1.0~ 2024/11/7 akihabara.any #2 @sugar235711
2 sugar cat(@sugar235711) 社会人3年生 SREもどき VTuberが好き 前編 登壇者情報 @sugar235711 @sugar-cat7
3 Agenda 1. 個人開発しているサイトについて 2. 多言語対応で起きた問題 3. モニタリング強化 4. まとめ
4 ぶいすぽっ!(VTuberグループ)の配信予定を確認できるサイト&Bot 個人開発しているサイト すぽじゅーる:https://www.vspo-schedule.com
5 Webサイト:DAU 1000弱(2000~3000PV) DiscordBot: 295サーバー稼働 公開から約1年半 個人開発しているサイト
6 4ヶ月前にWebサイトの多言語対応を行う過程で一部ページをISRからSSRへ移行した。 多言語対応で起きた問題
7 4ヶ月前にWebサイトの多言語対応を行う過程で一部ページをISRからSSRへ移行した。 →API呼び出しの回数の増加、レイテンシが気になるようになってきた。 多言語対応で起きた問題
8 4ヶ月前にWebサイトの多言語対応を行う過程で一部ページをISRからSSRへ移行した。 →API呼び出しの回数の増加、レイテンシが気になるようになってきた。 多言語対応で起きた問題 当時はメトリクスを収集しておら ず、計測ができていない状態だった
9 4ヶ月前にWebサイトの多言語対応を行う過程で一部ページをISRからSSRへ移行した。 →API呼び出しの回数の増加、レイテンシが気になるようになってきた。 多言語対応で起きた問題
10 Datadog Integrationを利用し、Vercelのメトリクスを収集するようにした モニタリングを強化
11 Datadog Integrationを利用し、Vercelのメトリクスを収集 モニタリングを強化 システムの状況: ダッシュボード 外形監視:複数リージョンからのトップページアクセス ブラウザテスト:言語・TZ切り替え機能のE2Eテスト
12 APIのリクエスト数やメモリ使用量、外形監視の状況などを1つのダッシュボードにまとめる ダッシュボード作成 モニタリングを強化
13 APIのリクエスト数やメモリ使用量、外形監視の状況などを1つのダッシュボードにまとめる ダッシュボード作成 モニタリングを強化 時系列でメトリクスを表示できるので 施策に対しての効果が分かりやすい (この時はキャッシュの改善)
14 Webサイトのトップページのレイテンシやエラー率などをモニタリング 閾値を超えたらDiscordにアラート通知 外形監視 モニタリングを強化
15 Webサイトのトップページのレイテンシやエラー率などをモニタリング 閾値を超えたらDiscordにアラート通知 外形監視 モニタリングを強化 複数のリージョンからリクエストを送れる ので、日本国外からのリクエストの検証が しやすくなった
16 一連のシナリオを作成し、DatadogでE2Eテストを行える ブラウザテスト モニタリングを強化
17 一連のシナリオを作成し、DatadogでE2Eテストを行える ブラウザテスト モニタリングを強化 動作環境を複数の組み合わせで選択可 能(端末やブラウザ)ので、デグレ検知な どに役立つ
18 Datadog Integrationで個人開発サイトのモニタリングを改善した まとめ