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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
bohnen
February 16, 2024
Technology
0
92
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
91
Cloud on the beach - いろいろな雲のかたち
bohnen
1
93
TiUG #1 TiDB overview and update
bohnen
0
270
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
840
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
230
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
180
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
280
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
97
Momento Topics使ってみた
bohnen
0
190
Other Decks in Technology
See All in Technology
Tebiki Engineering Team Deck
tebiki
0
27k
わからなくて良いなら、わからなきゃだめなの?
kotaoue
1
370
A Casual Introduction to RISC-V
omasanori
0
130
進化するBits AI SREと私と組織
nulabinc
PRO
1
230
わたしがセキュアにAWSを使えるわけないじゃん、ムリムリ!(※ムリじゃなかった!?)
cmusudakeisuke
1
770
最強のAIエージェントを諦めたら品質が上がった話 / how quality improved after giving up on the strongest AI agent
kt2mikan
0
190
プラットフォームエンジニアリングはAI時代の開発者をどう救うのか
jacopen
7
3.7k
Claude Code Skills 勉強会 (DevelersIO向けに調整済み) / claude code skills for devio
masahirokawahara
1
22k
2026-03-11 JAWS-UG 茨城 #12 改めてALBを便利に使う
masasuzu
2
390
【Oracle Cloud ウェビナー】【入門編】はじめてのOracle AI Data Platform - AIのためのデータ準備&自社用AIエージェントをワンストップで実現
oracle4engineer
PRO
1
150
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
140
S3はフラットである –AWS公式SDKにも存在した、 署名付きURLにおけるパストラバーサル脆弱性– / JAWS DAYS 2026
flatt_security
0
1.8k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.9k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
Accessibility Awareness
sabderemane
0
82
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
990
Abbi's Birthday
coloredviolet
2
5.4k
HDC tutorial
michielstock
1
550
Technical Leadership for Architectural Decision Making
baasie
3
290
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
230
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
110
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
310
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.