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
72
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
69
Cloud on the beach - いろいろな雲のかたち
bohnen
1
71
TiUG #1 TiDB overview and update
bohnen
0
230
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
700
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
200
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
140
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
260
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
77
Momento Topics使ってみた
bohnen
0
170
Other Decks in Technology
See All in Technology
人とAIとの共創を夢見た2か月 #共創AIミートアップ / Co-Creation with Keito-chan
kondoyuko
0
420
トイルを撲滅!インフラ領域での生成AI活用のススメ
shuya
0
330
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
5
37k
撤退危機からのピボット : 4年目エンジニアがリードする TypeScript で挑む事業復活 / crisis-to-pivot-4th-year-engineer-ts-relaunch
carta_engineering
2
730
熱々🔥のUDN🍜を喰らえ❗マルチテナントもVM統合も思いのまま❗新機能で切り拓くk8sネットワークの未来
tsukaman
0
190
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
12k
CSS polyfill とその未来
ken7253
0
110
グループ ポリシー再確認 ③
murachiakira
0
140
iOS/Androidで無限循環Carousel表現を考えてみる
fumiyasac0921
0
110
OCI Database Management サービス詳細
oracle4engineer
PRO
1
4.5k
Microsoft Season of Agent AI エージェントの使用開始
takas0522
0
110
Digitization部 紹介資料
sansan33
PRO
1
3.7k
Featured
See All Featured
Java REST API Framework Comparison - PWX 2021
mraible
31
8.6k
Testing 201, or: Great Expectations
jmmastey
42
7.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
160
15k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
820
It's Worth the Effort
3n
184
28k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
5
600
YesSQL, Process and Tooling at Scale
rocio
172
14k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
Being A Developer After 40
akosma
91
590k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.2k
Into the Great Unknown - MozCon
thekraken
38
1.8k
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.