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
Serverless Meetup Fukuoka Workshop TiDB
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
bohnen
February 16, 2024
Technology
110
0
Share
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
99
Cloud on the beach - いろいろな雲のかたち
bohnen
1
95
TiUG #1 TiDB overview and update
bohnen
0
290
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
870
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
250
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
190
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
290
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
100
Momento Topics使ってみた
bohnen
0
200
Other Decks in Technology
See All in Technology
ポスター発表&デモと総括 / Poster Presentations & Demonstrations and Summary
ks91
PRO
0
160
組織の中で自分を経営する技術
shoota
0
230
個人AIからチームAIへ:開発における品質と生産性の再設計
moongift
PRO
0
310
AI時代に改めて考える、ドメイン駆動設計 - モデリングが「AIへの共通言語」になる
littlehands
8
2.9k
【ハノーバーメッセ振り返りイベントat名古屋】データは集約からAI起点の収集に ~組織内・組織間でのデータ連携~
tanakaseiya
0
150
さきさん文庫の書籍ができるまで
sakiengineer
0
310
AI フレンドリーなエラー監視を TypeScript で実現する
shinyaigeek
2
190
Spring Boot における AOT Cache 活用テクニックと 起動時間改善事例
ntt_dsol_java
0
170
CloudFront VPCオリジンとVPC Latticeサービスの内部ALBをマルチアカウントで一元利用しよう
duelist2020jp
5
260
コードレビューを制するチームがソフトウェアデリバリーのフローを制す / Beyond Code Review: Distributing Its Responsibilities Across the SDLC
mtx2s
2
450
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
240
Diagnosing performance problems without the guesswork
elenatanasoiu
0
120
Featured
See All Featured
Rebuilding a faster, lazier Slack
samanthasiow
85
9.5k
For a Future-Friendly Web
brad_frost
183
10k
Balancing Empowerment & Direction
lara
6
1.1k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
280
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
130
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
180
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.7k
GraphQLとの向き合い方2022年版
quramy
50
15k
Transcript
Serverless Meetup Fukuoka Re:boot ワークショップ PingCAP Developer Advocate 関⼝匡稔 @bohnen
TiDB Serverless Driver とは? • HTTPS経由でTiDB Serverlessと接続し、クエリを投げるライブラリ • MySQLのコネクションは張り続けることが前提になっている ◦
Edge Functionsは短命 ◦ ⾔語ランタイムのフル機能が利⽤できるとは限らない https://docs.pingcap.com/tidbcloud/serverless-driver https://github.com/tidbcloud/serverless-js
参考: TiDBへのアクセスパス クライアント MySQLプロトコル HTTPS(Serverless Driver) Rest API (Data Service)
TiDB Serverless Driver の実現方法(たぶん) HTTPS Webサーバ (専用) MySQL接続 (TCP) •
外部からの接続が主なのでPrivate Linkには未対応
参考: connect() https://blog.cloudflare.com/workers-tcp-socket-api-conne ct-databases https://github.com/sidorares/node- mysql2/pull/2289
訂正 Serverless Driverの接続⽂字列もTiDB Cloudコンソールから取得できます DATABASE_URLは下記の接続⽂字列を使ってください!
THANK YOU.