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
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
kubellの最新データ分析環境
kubell_hr
2
270
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
510
さようならSSH鍵、こんにちはゼロトラスト ― AIフレンドリーで快適な自宅鯖SSH
atalie2m
14
7.6k
HTTP通信に使おうとすると実はめんどくさいfile_get_contents
maguroalternative
0
260
その修正で本当に速くなったのか? k6とOpenTelemetryで確かめる性能改善 / Performance review with k6 and OpenTelemetry
ymotongpoo
3
440
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
280
こんなに変わった! AWSネットワークの常識
shotashiratori
16
12k
Context parameters で作る!はじめての型クラス
kworkdev
PRO
1
180
サーバーラックは作る時代! 3Dプリンターで作る10インチラックのススメ
jacopen
2
520
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
670
共通基盤の実装に Kotlin - Quarkus を選定した理由と採用したアーキテクチャ
nealle
1
160
gradle-best-practices 使ってみた
mikanichinose
0
230
Featured
See All Featured
エンジニアに許された特別な時間の終わり
watany
109
250k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.7k
For a Future-Friendly Web
brad_frost
184
11k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
18k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
320
The Cost Of JavaScript in 2023
addyosmani
56
10k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
2
4k
So, you think you're a good person
axbom
PRO
2
2.3k