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
69
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
67
Cloud on the beach - いろいろな雲のかたち
bohnen
1
70
TiUG #1 TiDB overview and update
bohnen
0
220
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
680
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
200
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
140
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
250
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
74
Momento Topics使ってみた
bohnen
0
170
Other Decks in Technology
See All in Technology
CodeRabbitと過ごした1ヶ月 ─ AIコードレビュー導入で実感したチーム開発の進化
mitohato14
1
230
AIエージェント開発手法と業務導入のプラクティス
ykosaka
9
2.7k
AI 코딩 에이전트 더 똑똑하게 쓰기
nacyot
0
470
持続可能なドキュメント運用のリアル: 1年間の成果とこれから
akitok_
1
270
Twelve-Factor-Appから学ぶECS設計プラクティス/ECS practice for Twelve-Factor-App
ozawa
3
160
LLM アプリケーションのためのクラウドセキュリティ - CSPM の実装ポイント-
osakatechlab
0
170
正式リリースされた Semantic Kernel の Agent Framework 全部紹介!
okazuki
0
210
AI-in-the-Enterprise|OpenAIが公開した「AI導入7つの教訓」——ChatGPTで変わる企業の未来とは?
customercloud
PRO
0
130
AIと共に乗り越える、 入社後2ヶ月の苦労と学習の軌跡
sai_kaneko
0
190
Part2 GitHub Copilotってなんだろう
tomokusaba
0
230
Databricksで完全履修!オールインワンレイクハウスは実在した!
akuwano
0
140
Gateway H2 モジュールで スマートホーム入門
minoruinachi
0
130
Featured
See All Featured
Reflections from 52 weeks, 52 projects
jeffersonlam
349
20k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
2.9k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
30
2.3k
Embracing the Ebb and Flow
colly
85
4.7k
Fontdeck: Realign not Redesign
paulrobertlloyd
84
5.5k
For a Future-Friendly Web
brad_frost
177
9.7k
Making Projects Easy
brettharned
116
6.2k
Producing Creativity
orderedlist
PRO
344
40k
A Tale of Four Properties
chriscoyier
159
23k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.7k
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.