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
93
0
Share
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
96
Cloud on the beach - いろいろな雲のかたち
bohnen
1
94
TiUG #1 TiDB overview and update
bohnen
0
270
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
860
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
240
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
180
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
280
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
98
Momento Topics使ってみた
bohnen
0
200
Other Decks in Technology
See All in Technology
🀄️ on swiftc
giginet
PRO
0
390
レビューしきれない?それは「全て人力でのレビュー」だからではないでしょうか
amixedcolor
0
260
サイボウズ 開発本部採用ピッチ / Cybozu Engineer Recruit
cybozuinsideout
PRO
10
78k
職能の壁を取り払った先で見えた壁 -AI時代のクロスファンクショナル組織-
shimotaroo
1
110
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.3k
プロンプトエンジニアリングを超えて:自由と統制のあいだでつくる Platform × Context Engineering
yuriemori
0
240
最近の技術系の話題で気になったもの色々(IoT系以外も) / IoTLT 花見予定会(たぶんBBQ) @都立潮風公園バーベキュー広場
you
PRO
1
210
AIエージェントの権限管理 1: MCPサーバー・ツールの Fine grained access control 編
ren8k
3
480
みんなの「データ活用」を支えるストレージ担当から持ち込むAWS活用/コミュニティー設計TIPS 10選~「作れる」より、「続けられる」設計へ~
yoshiki0705
0
210
Claude Code を安全に使おう勉強会 / Claude Code Security Basics
masahirokawahara
1
7.1k
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
800
Digitization部 紹介資料
sansan33
PRO
1
7.3k
Featured
See All Featured
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
110
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
Evolving SEO for Evolving Search Engines
ryanjones
0
180
So, you think you're a good person
axbom
PRO
2
2k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.2k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Everyday Curiosity
cassininazir
0
190
Into the Great Unknown - MozCon
thekraken
40
2.3k
The Spectacular Lies of Maps
axbom
PRO
1
690
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
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.