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
73
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
72
Cloud on the beach - いろいろな雲のかたち
bohnen
1
74
TiUG #1 TiDB overview and update
bohnen
0
230
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
710
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
210
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
150
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
260
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
77
Momento Topics使ってみた
bohnen
0
170
Other Decks in Technology
See All in Technology
Amplifyとゼロからはじめた AIコーディング 成果と展望
mkdev10
1
250
キャディでのApache Iceberg, Trino採用事例 -Apache Iceberg and Trino Usecase in CADDi--
caddi_eng
0
140
ユーザーのプロフィールデータを活用した推薦精度向上の取り組み
yudai00
0
400
今からでも間に合う! 生成AI「RAG」再入門 / Re-introduction to RAG in Generative AI
hideakiaoyagi
1
180
CIでのgolangci-lintの実行を約90%削減した話
kazukihayase
0
280
Create a Rails8 responsive app with Gemini and RubyLLM
palladius
0
120
新卒3年目の後悔〜機械学習モデルジョブの運用を頑張った話〜
kameitomohiro
0
290
Definition of Done
kawaguti
PRO
2
120
Devin(Deep) Wiki/Searchの活用で変わる開発の世界観/devin-wiki-search-impact
tomoki10
0
320
TODAY 看世界(?) 是我們在看扣啦!
line_developers_tw
PRO
0
210
生成AIをテストプロセスに活用し"よう"としている話 #jasstnano
makky_tyuyan
0
170
AI技術トレンド勉強会 #1MCPの基礎と実務での応用
nisei_k
1
200
Featured
See All Featured
Being A Developer After 40
akosma
90
590k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3k
Statistics for Hackers
jakevdp
799
220k
Six Lessons from altMBA
skipperchong
28
3.8k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Balancing Empowerment & Direction
lara
1
300
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.5k
4 Signs Your Business is Dying
shpigford
184
22k
How to Think Like a Performance Engineer
csswizardry
24
1.7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
52
2.8k
We Have a Design System, Now What?
morganepeng
52
7.6k
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.