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
56
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
59
Cloud on the beach - いろいろな雲のかたち
bohnen
1
64
TiUG #1 TiDB overview and update
bohnen
0
200
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
630
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
180
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
130
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
240
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
65
Momento Topics使ってみた
bohnen
0
160
Other Decks in Technology
See All in Technology
いまからでも遅くない!コンテナでWebアプリを動かしてみよう!コンテナハンズオン編
nomu
0
160
EDRの検知の仕組みと検知回避について
chayakonanaika
12
5k
入門 PEAK Threat Hunting @SECCON
odorusatoshi
0
160
事業モメンタムを生み出すプロダクト開発
macchiitaka
0
100
1行のコードから社会課題の解決へ: EMの探究、事業・技術・組織を紡ぐ実践知 / EM Conf 2025
9ma3r
11
3.9k
Exadata Database Service on Cloud@Customer セキュリティ、ネットワーク、および管理について
oracle4engineer
PRO
2
1.5k
Amazon Aurora のバージョンアップ手法について
smt7174
2
150
LINEギフトにおけるバックエンド開発
lycorptech_jp
PRO
0
300
AI Agent時代なのでAWSのLLMs.txtが欲しい!
watany
2
230
Aurora PostgreSQLがCloudWatch Logsに 出力するログの課金を削減してみる #jawsdays2025
non97
1
220
ウォンテッドリーのデータパイプラインを支える ETL のための analytics, rds-exporter / analytics, rds-exporter for ETL to support Wantedly's data pipeline
unblee
0
130
Two Blades, One Journey: Engineering While Managing
ohbarye
4
2.1k
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
306
110k
The Cost Of JavaScript in 2023
addyosmani
47
7.4k
Typedesign – Prime Four
hannesfritz
40
2.5k
Building Applications with DynamoDB
mza
93
6.2k
A better future with KSS
kneath
238
17k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Git: the NoSQL Database
bkeepers
PRO
427
65k
Rails Girls Zürich Keynote
gr2m
94
13k
How To Stay Up To Date on Web Technology
chriscoyier
790
250k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Measuring & Analyzing Core Web Vitals
bluesmoon
6
260
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
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.