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
84
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
84
Cloud on the beach - いろいろな雲のかたち
bohnen
1
86
TiUG #1 TiDB overview and update
bohnen
0
260
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
830
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
91
Momento Topics使ってみた
bohnen
0
180
Other Decks in Technology
See All in Technology
ブロックテーマでサイトをリニューアルした話 / 2026-01-31 Kansai WordPress Meetup
torounit
0
450
仕様書駆動AI開発の実践: Issue→Skill→PRテンプレで 再現性を作る
knishioka
2
590
Meshy Proプラン課金した
henjin0
0
250
Deno・Bunの標準機能やElysiaJSを使ったWebSocketサーバー実装 / ラーメン屋を貸し切ってLT会! IoTLT 2026新年会
you
PRO
0
290
toCプロダクトにおけるAI機能開発のしくじりと学び / ai-product-failures-and-learnings
rince
6
5.5k
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
67k
Digitization部 紹介資料
sansan33
PRO
1
6.8k
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
550
MySQLのJSON機能の活用術
ikomachi226
0
150
Kiro IDEのドキュメントを全部読んだので地味だけどちょっと嬉しい機能を紹介する
khmoryz
0
160
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
120
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
400
Featured
See All Featured
sira's awesome portfolio website redesign presentation
elsirapls
0
140
Music & Morning Musume
bryan
47
7.1k
Code Review Best Practice
trishagee
74
20k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Technical Leadership for Architectural Decision Making
baasie
1
240
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
170
Thoughts on Productivity
jonyablonski
74
5k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.9k
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
The Language of Interfaces
destraynor
162
26k
Raft: Consensus for Rubyists
vanstee
141
7.3k
Building an army of robots
kneath
306
46k
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.