Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introduction to gRPC Interceptors
Search
andoshin11
December 17, 2025
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Introduction to gRPC Interceptors
andoshin11
December 17, 2025
More Decks by andoshin11
See All by andoshin11
カーナベルにおけるProtobuf二次利用例
andoshin11
0
180
Envoy External AuthZとgRPC Extensionを利用した「頑張らない」Microservices認証認可基盤
andoshin11
0
1k
カーナベル株式会社2024年2月 エンジニアイベント資料
andoshin11
0
550
Private Cloudを支える最高のユーザーガイド運用技術
andoshin11
0
330
TS CompilerがVueを喋れても良いじゃないか
andoshin11
0
810
ain't giving up type-safe Express
andoshin11
2
510
Type Safe "Everything"
andoshin11
0
320
Hack your Nuxt router!
andoshin11
0
1.5k
GatewayパターンとSchema駆動開発
andoshin11
7
1.6k
Other Decks in Technology
See All in Technology
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4.9k
モバイルアプリ開発概論2026
recruitengineers
PRO
1
310
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
19k
ガバメントクラウドでのランサムウェア対策
techniczna
1
760
Service Connect 上のサービスに ECS Service の外側から到達できなかった話
ota1022
1
120
[しろおび夏祭り2026] チャットするAIから、作業するAIへ - 使われ方の変化と、その裏側で起きていること
kk0n
0
1.6k
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
190
研究開発部の紹介 / Sansan R&D Profile
sansan33
PRO
4
24k
事業価値と Engineering 2026年度版
recruitengineers
PRO
29
16k
Amazon Bedrock Managed Knowledge BaseDive Deep
ren8k
0
400
AWS ネットワーク構築でハマった(ハマりかけた) 5選とそこから得た教訓
nagisa53
4
180
PLaMo 3.0 Primeの事後学習
pfn
PRO
0
270
Featured
See All Featured
Scaling GitHub
holman
464
140k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
610
Statistics for Hackers
jakevdp
799
230k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
330
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
690
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Optimising Largest Contentful Paint
csswizardry
37
3.9k
Raft: Consensus for Rubyists
vanstee
141
7.6k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Done Done
chrislema
186
16k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
How to train your dragon (web standard)
notwaldorf
97
6.7k
Transcript
Introduction to gRPC Interceptors 2025/12/17 Mita.ts #9 @andoshin11
自己紹介 • Andy (@andoshin11) • 肩書き: ◦ Platform Owner at
カーナベル株式会社 ◦ Lead Developer at 株式会社Medixpost • 趣味: ◦ NBA観戦 ⛹ ◦ Whisky 🥃 ◦ ボードゲーム 🎲
gRPC、やってますか?
gRPC Interceptors
gRPC Interceptors MiddlewareのようにServerとClientに中間処理を差し込める
よくある用途 • 認証:JWT / API Keyの検証 • Metrics:通信時間・ステータスの記録 • Tracing:Contextの管理とtrace
IDの差し込み • Caching:通信結果のキャッシュ参照
作ったもの
ka-nabellinc/proto-coverage-reporter
proto-coverage-reporter • E2E時にClientにInterceptorとして設定 • 各API Methodのテストカバレッジを取得 • JestのCustom Reporterで結果表示
もう少し詳しく • Proto MethodにgRPC Statusの一覧を事前 定義 • Protobufjsでパースして、実際に通信され たgRPC Statusのログと照合
gRPC Interceptorsを触った感想 • connection情報や詳細な通信ステータスを参照できて便利 • Request/Responseのoverrideも可能なので汎用的に使える • 実装ガイドが存在せず、grpc-jsのソースコードしか手がかりが無くてつらい
Thank you!