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
Logging Architecture for MicroService
Search
@ジュジュ
May 28, 2018
Technology
3.8k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Logging Architecture for MicroService
fluentdを利用したLogging
@ジュジュ
May 28, 2018
More Decks by @ジュジュ
See All by @ジュジュ
チーム分割においていかれたアラートをチームで責任を持てる形に再設計した
juju62q
0
220
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.3k
Firecracker Snapshottingを調べてみた
juju62q
1
680
SLOを活用した技術的改善
juju62q
10
16k
IAM Role for Pods and Instance Meta Data Service
juju62q
1
1.7k
telepresence handson
juju62q
2
5.5k
Wanna Use Vitess in Orientation
juju62q
6
1.5k
machine learning with rancher and K8s on prem
juju62q
5
500
docker-handson-for-researcher
juju62q
3
370
Other Decks in Technology
See All in Technology
Reticulum, le réseau cypherpunk dont vous avez besoin !
rlifchitz
0
120
Content Mapper APIの応用例~CSS Modules、言語ファイル~
uhyo
2
630
公共システムAdventCalendar2026
toru_kubota
0
290
少ない人手 限られた予算 それでも守る 消せない・見つける・戻れる オールハザード型BCP on AWS / 20261107 Mitsutoshi Matsuo
shift_evolve
PRO
0
330
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
1
780
アラートを見直していたら営業組織への理解にちょっとだけ繋がった話
z63d
0
120
Ebitengine製iOSアプリ公開ボタンを押す会
eiei114
0
110
詳解 never 型 - ボトム型の性質を深掘り
nealle
0
160
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
220
An Introduction to Context Ontology Accelerator (teaching AI agents what your data means)
inariku
PRO
1
200
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
140
GCASアップデート(202607-202610)
techniczna
1
240
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
300
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Un-Boring Meetings
codingconduct
0
490
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Chasing Engaging Ingredients in Design
codingconduct
0
390
Building Adaptive Systems
keathley
44
3.3k
How to Ace a Technical Interview
jacobian
280
24k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.8k
Crafting Experiences
bethany
1
430
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
980
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Transcript
MicroService向け ロギングアーキテクチャ 2018/05/26 若手Web名古屋 岡野兼也
自己紹介 基本情報 • 岡野兼也 / @ジュジュ • 名古屋大学4年 • OthloTech運営
• 株式会社キスモ インフラエンジニア 好きな技術 仮想化、コンテナ、DevOps、IaC 趣味 登山、自転車、キャンプ、Kubernetes
みなさん!マイクロサービスしてますか?
マイクロサービスのここがすごい • 技術選定が自由 • アプリケーションごとにスケーリング可能 • コンテナめっちゃ使いやすい • 責任範囲がわかりやすい •
全体的に疎結合だしプログラムの改修が簡単 • CI/CDが高速 • 開発速度がめっちゃ上がる
None
本当にこんな楽しく運用できてる?
実際に使った時
None
マイクロサービスのここが辛い • ログ収集のために死ぬほどクライアント書かないと いけない • ライブラリにしてもメンテ大変 • 認証情報の管理がまぁまぁだるい • メトリクス監視を毎回やらないといけない
• 故障時にどのサーバが原因なのか特定しにくい
今回は!
マイクロサービス向け ロギングアーキテクチャを紹介します!
ログを抽象化する方法を紹介します
とっても愚直なログとり
+ 認証 コードにすると・・・
やることと考えること多すぎやん…
やりたいこと Log (テーブル名, なんかいい感じのJSON)
なんかいい感じのJSON 頭の悪い人
None
Fluentdとは
Log (テーブル名, なんかいい感じのJSON) ありとあらゆるアプリケーション
なぜサイドカーパターンじゃないのか • サイドカーにするメリット ◦ 構成が綺麗 ◦ アプリごとにまとめられる • サイドカーにするデメリット ◦
アプリケーションエンジニアがFluentdを制御しないといけ ない
設定例に関しては水曜日に OthloBlogに書きます! Coming soon ...
Fluentdはいいぞ!!!!