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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
@ジュジュ
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
210
ボトムアップでSLOを導入 2年半運用して分かった失敗と変化
juju62q
2
1.3k
Firecracker Snapshottingを調べてみた
juju62q
1
670
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.4k
machine learning with rancher and K8s on prem
juju62q
5
490
docker-handson-for-researcher
juju62q
3
360
Other Decks in Technology
See All in Technology
二歩目のフロントエンド・ウェブアクセシビリティ
camiha
2
620
AI × アーキテクト 第1・2章|生成AIの課題とアーキテクトの素養
daidaidai
0
170
Metadata - Section 1: HTML Basics
mohab1
0
120
継続的なAIコスト最適化
bgpat
1
340
1つのリクエストを追って理解する - llm-dのP/D分離
akhino
1
160
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
770
Gemini Intelligence 入門 ― AppFunctions と Gemini Nano
takuroabe
0
250
TinyGoでオブザーバビリティ?OpenTelemetryはTinyGoで使えるのか / Is OpenTelemetry available in TinyGo environment?
ymotongpoo
2
140
宣言型部分更新は何を解決しどこへ向かうのか
shuta13
1
460
Active Record Connection Adaptersにおける長年の課題に再び取り組む
yahonda
0
150
go-sqletch
moznion
0
140
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.2k
Building Adaptive Systems
keathley
44
3.2k
Writing Fast Ruby
sferik
630
63k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
570
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
360
Heart Work Chapter 1 - Part 1
lfama
PRO
10
37k
Scaling GitHub
holman
464
140k
Facilitating Awesome Meetings
lara
57
7.2k
Navigating Team Friction
lara
192
16k
Being A Developer After 40
akosma
92
590k
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はいいぞ!!!!