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
120
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Serverless Meetup Fukuoka Workshop TiDB
bohnen
February 16, 2024
More Decks by bohnen
See All by bohnen
Momento会 #9 TiDB ServerlessとMomentoの話
bohnen
0
100
Cloud on the beach - いろいろな雲のかたち
bohnen
1
100
TiUG #1 TiDB overview and update
bohnen
0
300
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
880
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
260
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
190
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
310
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
110
Momento Topics使ってみた
bohnen
0
220
Other Decks in Technology
See All in Technology
[しろおび夏祭り2026] チャットするAIから、作業するAIへ - 使われ方の変化と、その裏側で起きていること
kk0n
0
1.7k
個人OSSが、机の上から世界に広がるまでの話
shinyasaita
1
370
もう一度考える SRE チームの作り方・育て方 / Rethinking SRE #1: Building and Growing SRE Teams
rrreeeyyy
6
1k
老害フォレンジッカーはAI羊の夢を見るか?
tadmaddad
0
310
トヨタ⽣産⽅式(TPS)⼊⾨
recruitengineers
PRO
3
650
AI ネイティブな組織に Gemini Enterprise Agent Platform がなぜ必要なのか
asei
1
190
生成 AI の基礎 〜 サンプル実装で学ぶ基本原理
enakai00
7
4.4k
Breaking the Seal: Static Deobfuscation of Compiled V8 JavaScript Bytecode Malware
hshrzd
0
660
侵入は突然に 〜 IoTマルウェアと悪用される家庭の機器 ~ / When Intrusion Strikes: IoT Malware and the Abuse of Home Devices
nttcom
0
1.6k
強化学習「理論」入門
enakai00
3
3.6k
【CEDEC2026】『ウマ娘 プリティーダービー』 英語版のキャラクターの方言や口調をローカライズするための創造的アプローチ
cygames
PRO
1
200
Redmine 7.0 新機能・機能強化解説(OSC2026京都ダイジェスト版)
vividtone
1
210
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
250
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Evolving SEO for Evolving Search Engines
ryanjones
0
250
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
540
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
230
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
Technical Leadership for Architectural Decision Making
baasie
3
470
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
470
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
930
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
990
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.5k
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.