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
gRPCとConnect
Search
Shota Totsuka
June 01, 2024
380
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
gRPCとConnect
Shota Totsuka
June 01, 2024
More Decks by Shota Totsuka
See All by Shota Totsuka
Figma to Codeから Code to Figmaへ
totsukash
0
1.8k
コードレビューはCLAUDE.md/skillsに書け。同じ指摘を繰り返すな。
totsukash
20
21k
HITL実装によるマルチエージェント組織の設計パターン
totsukash
1
120
Claude Codeの知らない知識に立ち向かう
totsukash
1
1.1k
Claude Codeの知らない知識、ADK, A2Aを用いた プロダクト開発をClaude Codeで行う
totsukash
0
1.7k
Claude Code で Vibe Coding
totsukash
1
140
MCP, A2Aをプロダクトに組み込んで 開発している話
totsukash
1
71
Mastra活用|Text-to-SQLの実装と応用
totsukash
1
300
Bedrockでのプロンプト管理戦略
totsukash
3
290
Featured
See All Featured
Designing Powerful Visuals for Engaging Learning
tmiket
1
600
It's Worth the Effort
3n
188
29k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
450
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
450
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
400
エンジニアに許された特別な時間の終わり
watany
109
250k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
620
Site-Speed That Sticks
csswizardry
13
1.6k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
320
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Transcript
gRPCとConnect スキーマ駆動開発のすゝめ 戸塚 翔太
自己紹介 - 戸塚翔太(Blueish) - Go, Rust, Python - 生成AI, 機械学習
- 静岡県(浜松)に住んでます - 近くの方がいれば、一緒に勉強会しましょう - X: @totsumaru_dot
会社紹介 - 株式会社ブルーイッシュ - Go, Rust, 生成AIエンジニア等募集中 - 興味があれば覗いていただけると嬉しいです -
https://www.blueish.co.jp
Agenda 1. Connectとは 2. 最近の構成(LLMアプリケーションを使う) 3. OpenAPIスキーマの生成
1. Connectとは - ブラウザ,gRPC互換のHTTP APIを構築するためのライブラリファミリ - gRPC・gRPC-Web・Connect独自のプロトコルをサポート - cURLでもコールできる -
プロトコル変換プロキシ不要 docs: https://connectrpc.com/docs/introduction
1. Connectとは サポートされている言語 - Go - TypeScript, JavaScript(Web, Node.js) -
Swift, Kotlin(ベータ版) Python,Rustも欲しい...
Agenda 1. Connectとは 2. 最近の構成(LLMアプリケーションを使う) 3. OpenAPIスキーマの生成
2. 最近の構成(LLMアプリケーションを使う) フロントエンド バックエンド LLM gRPC connect-web HTTP/1.1 Protocol Buffers
connect-go
Agenda 1. Connectとは 2. 最近の構成(LLMアプリケーションを使う) 3. OpenAPIスキーマの生成
3. OpenAPIスキーマの生成 - protoから直接OpenAPIのスキーマを作成できる - openapiv2 プラグインを使用 protoは少しfatになります
その他 - Connect conformance test suite(適合性テストスイート) - Connect, gRPCなどプロトコル間の適合性を検証するテストスイート -
CI/CDでも実行でき、クライアント,サーバー共にテスト可能 - `connectconformance --mode server -- <path/to/your/executable/server>` - https://github.com/connectrpc/conformance - Buf Schema Registry (BSR) - Protobuf対応のレジストリ - AWS MarketplaceとGoogle Cloud Marketplaceで利用可能に - Kong Insomnia(APIクライアント)と統合
最後に - gRPCを使っていて、Connectサポートの言語であれば検討をおすすめ - 特にプロトコル変換のためのプロキシを使っている場合 - curlが使えるのはデバッグが楽 - 不要なMarshal/Unmarshalが無いのは楽(gRPC) -
LLMのチャットアプリケーションはstreamも検討
None