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
bohnen
February 16, 2024
Technology
0
80
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
78
Cloud on the beach - いろいろな雲のかたち
bohnen
1
77
TiUG #1 TiDB overview and update
bohnen
0
250
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
780
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
220
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
160
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
270
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
86
Momento Topics使ってみた
bohnen
0
180
Other Decks in Technology
See All in Technology
Azure Well-Architected Framework入門
tomokusaba
1
130
Retrospectiveを振り返ろう
nakasho
0
100
スタートアップの現場で実践しているテストマネジメント #jasst_kyushu
makky_tyuyan
0
130
AIプロダクトのプロンプト実践テクニック / Practical Techniques for AI Product Prompts
saka2jp
0
110
オブザーバビリティと育てた ID管理・認証認可基盤の歩み / The Journey of an ID Management, Authentication, and Authorization Platform Nurtured with Observability
kaminashi
1
690
可観測性は開発環境から、開発環境にもオブザーバビリティ導入のススメ
layerx
PRO
0
310
「タコピーの原罪」から学ぶ間違った”支援” / the bad support of Takopii
piyonakajima
0
140
Biz職でもDifyでできる! 「触らないAIワークフロー」を実現する方法
igarashikana
7
3.4k
JSConf JPのwebsiteをGatsbyからNext.jsに移行した話 - Next.jsの多言語静的サイトと課題
leko
2
190
SOTA競争から人間を超える画像認識へ
shinya7y
0
450
オブザーバビリティが育むシステム理解と好奇心
maruloop
2
1.1k
頭部ふわふわ浄酔器
uyupun
0
110
Featured
See All Featured
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Speed Design
sergeychernyshev
32
1.2k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
620
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Rails Girls Zürich Keynote
gr2m
95
14k
Scaling GitHub
holman
463
140k
Into the Great Unknown - MozCon
thekraken
40
2.1k
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.