Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Serverless Meetup Fukuoka Workshop TiDB
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
bohnen
February 16, 2024
Technology
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
120
Cloud on the beach - いろいろな雲のかたち
bohnen
1
110
TiUG #1 TiDB overview and update
bohnen
0
310
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
910
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
280
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
190
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
320
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
120
Momento Topics使ってみた
bohnen
0
240
Other Decks in Technology
See All in Technology
[re:Invent2026事前勉強会(有志開催)]続きは、ラスベガスの廊下で / continue-in-the-vegas-hallway
sh_fk2
0
440
ドメインエキスパートは いかにして AI を使って プロダクト開発をするか
tatsuyashiraishi
1
240
Agent 活用環境の構築・運用のための AWS サービスのご紹介/agentcore-for-building-and-operating-agents
ren8k
1
280
"AWSはちょっと苦手"でも大丈夫。AWS Blocks で手軽に作る Flutter のバックエンド #FlutterKaigi
tacck
PRO
0
110
なぜAI時代に技術記事を書くのか?どう書くのか? 〜bunの場合〜
kworkdev
PRO
0
1.1k
素人でもできた!AIを使った短編小説創作入門
delhi09
PRO
0
250
AX時代の自治体支援リソース再配分と役割分担の再構成:戦略とロードマップ(概要)
sishi2026
0
140
自律的なチームを作るためにTechPMがやらないこと
ny7760
0
310
キヨさん、67歳。AIコーディングエージェントに挑む
happysamurai294
0
130
Draft AIエージェントの トークン消費を最小化する 8つの原則
kinopeee
6
1.9k
Vibe-to-Spec開発_実践ガイド
happysamurai294
0
130
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
490
Featured
See All Featured
The Cult of Friendly URLs
andyhume
79
7k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
540
How STYLIGHT went responsive
nonsquared
100
6.3k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
370
The Invisible Side of Design
smashingmag
301
52k
Music & Morning Musume
bryan
48
7.5k
WENDY [Excerpt]
tessaabrams
14
40k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
550
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.2k
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.