Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
82
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
81
Cloud on the beach - いろいろな雲のかたち
bohnen
1
79
TiUG #1 TiDB overview and update
bohnen
0
260
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
810
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
220
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
170
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
270
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
90
Momento Topics使ってみた
bohnen
0
180
Other Decks in Technology
See All in Technology
Introduce marp-ai-slide-generator
itarutomy
0
120
AI時代のワークフロー設計〜Durable Functions / Step Functions / Strands Agents を添えて〜
yakumo
3
2.2k
Agent Skillsがハーネスの垣根を超える日
gotalab555
6
4.3k
Amazon Bedrock Knowledge Bases × メタデータ活用で実現する検証可能な RAG 設計
tomoaki25
6
2.4k
Entity Framework Core におけるIN句クエリ最適化について
htkym
0
120
M&Aで拡大し続けるGENDAのデータ活用を促すためのDatabricks権限管理 / AEON TECH HUB #22
genda
0
240
たまに起きる外部サービスの障害に備えたり備えなかったりする話
egmc
0
410
松尾研LLM講座2025 応用編Day3「軽量化」 講義資料
aratako
6
3.4k
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
20
7.7k
SQLだけでマイグレーションしたい!
makki_d
0
1.2k
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
3.8k
株式会社ビザスク_AI__Engineering_Summit_Tokyo_2025_登壇資料.pdf
eikohashiba
1
110
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
73
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
65
35k
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
400
Making Projects Easy
brettharned
120
6.5k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
1.7k
Odyssey Design
rkendrick25
PRO
0
440
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.1k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
49
A Soul's Torment
seathinner
1
2k
So, you think you're a good person
axbom
PRO
0
1.8k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.3k
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
0
45
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.