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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
bohnen
February 16, 2024
Technology
0
92
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
Tweet
Share
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
94
Cloud on the beach - いろいろな雲のかたち
bohnen
1
94
TiUG #1 TiDB overview and update
bohnen
0
270
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
850
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
230
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
180
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
280
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
97
Momento Topics使ってみた
bohnen
0
190
Other Decks in Technology
See All in Technology
20260320_JaSST26_Tokyo_登壇資料.pdf
mura_shin
0
120
Phase08_クイックウィン実装
overflowinc
0
1.7k
スピンアウト講座02_ファイル管理
overflowinc
0
1.3k
Phase10_組織浸透_データ活用
overflowinc
0
1.6k
Phase12_総括_自走化
overflowinc
0
1.4k
ABEMAのバグバウンティの取り組み
kurochan
1
690
韓非子に学ぶAI活用術
tomfook
2
550
「捨てる」を設計する
kubell_hr
0
240
Why we keep our community?
kawaguti
PRO
0
210
VSCode中心だった自分がターミナル沼に入門した話
sanogemaru
0
500
How to install a gem
indirect
0
1.4k
君はジョシュアツリーを知っているか?名前をつけて事象を正しく認識しよう / Do you know Joshua Tree?
ykanoh
4
120
Featured
See All Featured
SEO for Brand Visibility & Recognition
aleyda
0
4.4k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
210
The Curious Case for Waylosing
cassininazir
0
280
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.6k
WCS-LA-2024
lcolladotor
0
500
Designing Powerful Visuals for Engaging Learning
tmiket
0
290
Deep Space Network (abreviated)
tonyrice
0
96
Exploring anti-patterns in Rails
aemeredith
2
290
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Scaling GitHub
holman
464
140k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
130
30 Presentation Tips
portentint
PRO
1
260
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.