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
16
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
Tweet
Share
More Decks by bohnen
See All by bohnen
Cloud on the beach - いろいろな雲のかたち
bohnen
1
30
TiUG #1 TiDB overview and update
bohnen
0
78
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
310
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
110
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
86
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
110
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
30
Momento Topics使ってみた
bohnen
0
91
Other Decks in Technology
See All in Technology
PhpStorm超絶技巧40分集中講義 #phpconkagawa
yusuke
4
790
能動学習のいろは:書籍「Human-in-the-Loop機械学習」3〜5章
hiroyoshiito
0
310
ハードウェアを動かすTypeScriptの世界
9wick
3
1.2k
QA経験のないエンジニアリング マネージャーがQAのカジュアル面談に出て 苦労していること・気づいたこと / scrum fest niigata 2024
yoshikiiida
2
680
B2C、B2B プロダクトマネジメントの違い(および思考の罠) / B2C, B2B PM and reduction fallacy
ykmc09
5
2.5k
Google Cloudを組織(企業)で運用する時のベストプラクティス × 健康の環境分離戦略 #まるクラ勉強会
yasumuusan
0
190
データベース04: SQL (1/3) 単純質問 & 集約演算
trycycle
0
180
Security Hubのセキュリティスコアはどうやって計算されるか
toru_kubota
0
110
OPENLOGI Company Profile
hr01
0
46k
AWS CLIの起動が重くてつらいので aws-sdk-client-go を書いた / kamakura.go#6
fujiwara3
6
3.4k
1Q86
kawaguti
PRO
2
190
QAエンジニアが伝えたい品質保証の羅針盤 / Compass for Quality Assurance
mii3king
2
350
Featured
See All Featured
Documentation Writing (for coders)
carmenintech
60
4k
Building Adaptive Systems
keathley
32
1.9k
Done Done
chrislema
178
15k
Building Effective Engineering Teams - LeadDev
addyosmani
33
1.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
15
1.6k
Embracing the Ebb and Flow
colly
80
4.2k
The Brand Is Dead. Long Live the Brand.
mthomps
49
31k
Building Applications with DynamoDB
mza
88
5.7k
Fantastic passwords and where to find them - at NoRuKo
philnash
39
2.5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
34
8.9k
Why You Should Never Use an ORM
jnunemaker
PRO
51
8.7k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
34
6.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.