Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Serverless Meetup Fukuoka Workshop TiDB
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
bohnen
February 16, 2024
Technology
130
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
Transcript
7 slides
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.
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
120
Cloud on the beach - いろいろな雲のかたち
bohnen
1
120
TiUG #1 TiDB overview and update
bohnen
0
320
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
920
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
290
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
200
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
330
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
130
Momento Topics使ってみた
bohnen
0
240
Other Decks in Technology
See All in Technology
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
メディアアートを〈拡張〉する——器官学と個体化論を手がかりに
_kotobuki_
0
260
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.3k
Metadata - Section 4 : MODS (Metadata Object Description Schema )
mohab1
0
110
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
160
[NW-JAWS DAY]「うちのAWS、インターネット出られないんで」― AWS外の自社サービスをPrivateLinkでシュッと公開する方法
ykimi
3
930
Kiro のリモートワークスペース: IDE は手元のままで、ワークスペースをクラウド、コンテナ、自前のマシンに置く
inariku
PRO
1
200
Kiro Enterprise Management: 管理者が 1 か所で決め、全員の Kiro に届ける
inariku
PRO
0
110
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
120
Taking back control of your AI development
inesmontani
PRO
0
310
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
1.1k
What's in a price? How to price your products and services
michaelherold
247
13k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Evolving SEO for Evolving Search Engines
ryanjones
0
370
Technical Leadership for Architectural Decision Making
baasie
4
660
4 Signs Your Business is Dying
shpigford
187
23k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
33
5.9k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Context Engineering - Making Every Token Count
addyosmani
9
1.3k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
360
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k