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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
bohnen
February 16, 2024
Technology
0
88
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
89
Cloud on the beach - いろいろな雲のかたち
bohnen
1
92
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
96
Momento Topics使ってみた
bohnen
0
190
Other Decks in Technology
See All in Technology
ソフトウェアアーキテクトのための意思決定術: Create Decision Readiness—The Real Skill Behind Architectural Decision
snoozer05
PRO
29
8.7k
Windows ネットワークを再確認する
murachiakira
PRO
0
250
AI Coding Agentの地殻変動 ~ ai-coding.info の定点観測 ~
kotauchisunsun
1
510
バクラクのSREにおけるAgentic AIへの挑戦/Our Journey with Agentic AI
taddy_919
2
980
primeNumber DATA MANAGEMENT CAMP #2:
masatoshi0205
1
680
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
1.6k
マルチロールEMが実践する「組織のレジリエンス」を高めるための組織構造と人材配置戦略
coconala_engineer
2
320
自動テストが巻き起こした開発プロセス・チームの変化 / Impact of Automated Testing on Development Cycles and Team Dynamics
codmoninc
1
970
Eight Engineering Unit 紹介資料
sansan33
PRO
1
6.9k
男(監査)はつらいよ - Policy as CodeからAIエージェントへ
ken5scal
5
720
白金鉱業Meetup_Vol.22_Orbital Senseを支える衛星画像のマルチモーダルエンベディングと地理空間のあいまい検索技術
brainpadpr
1
110
開発組織の課題解決を加速するための権限委譲 -する側、される側としての向き合い方-
daitasu
3
170
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
110
Designing for humans not robots
tammielis
254
26k
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.1k
Claude Code のすすめ
schroneko
67
220k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
The Limits of Empathy - UXLibs8
cassininazir
1
240
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
190
Faster Mobile Websites
deanohume
310
31k
Accessibility Awareness
sabderemane
0
71
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
1
460
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
140
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
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.