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
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
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
990
Bedrock AgentCore Memoryの新機能 (Episode) を試してみた / try Bedrock AgentCore Memory Episodic functionarity
hoshi7_n
2
1.9k
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
120
ペアーズにおけるAIエージェント 基盤とText to SQLツールの紹介
hisamouna
2
1.7k
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.4k
マイクロサービスへの5年間 ぶっちゃけ何をしてどうなったか
joker1007
21
8.3k
AWSインフルエンサーへの道 / load of AWS Influencer
whisaiyo
0
230
Authlete で実装する MCP OAuth 認可サーバー #CIMD の実装を添えて
watahani
0
200
TED_modeki_共創ラボ_20251203.pdf
iotcomjpadmin
0
150
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
4k
MySQLとPostgreSQLのコレーション / Collation of MySQL and PostgreSQL
tmtms
1
1.3k
Snowflake Industry Days 2025 Nowcast
takumimukaiyama
0
130
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
0
320
New Earth Scene 8
popppiees
0
1.2k
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2k
Evolving SEO for Evolving Search Engines
ryanjones
0
77
Everyday Curiosity
cassininazir
0
110
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.1k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
130
A Soul's Torment
seathinner
1
2k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
410
Into the Great Unknown - MozCon
thekraken
40
2.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.