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
80
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
78
Cloud on the beach - いろいろな雲のかたち
bohnen
1
77
TiUG #1 TiDB overview and update
bohnen
0
250
みんなのPython勉強会: 最近のDB事情 TiDB Serverlessの紹介
bohnen
1
770
Postman Tokyo Meetup - Serverless Integration with Flows
bohnen
2
220
Serverless Meetup Re:boot 福岡 TiDB Serverlessの紹介
bohnen
1
160
TiUG #0 発表資料: TiDBの紹介と最新情報
bohnen
0
270
Momento会 #8 Serverless with TiDB/Momento/Postman
bohnen
0
86
Momento Topics使ってみた
bohnen
0
180
Other Decks in Technology
See All in Technology
AWS UG Grantでグローバル20名に選出されてre:Inventに行く話と、マルチクラウドセキュリティの教科書を執筆した話 / The Story of Being Selected for the AWS UG Grant to Attending re:Invent, and Writing a Multi-Cloud Security Textbook
yuj1osm
1
110
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.2k
CREが作る自己解決サイクルSlackワークフローに組み込んだAIによる社内ヘルプデスク改革 #cre_meetup
bengo4com
0
210
LLMプロダクトの信頼性を上げるには?LLM Observabilityによる、対話型音声AIアプリケーションの安定運用
ivry_presentationmaterials
0
750
「魔法少女まどか☆マギカ Magia Exedra」のIPのキャラクターを描くための3Dルック開発
gree_tech
PRO
0
140
Kubernetes self-healing of your workload
hwchiu
0
320
コンパウンド組織のCRE #cre_meetup
layerx
PRO
0
190
もう外には出ない。より快適なフルリモート環境を目指して
mottyzzz
10
6.5k
「魔法少女まどか☆マギカ Magia Exedra」の多様なバトルの開発を柔軟かつ効率的に実現するためのPure C#とUnityの分離について
gree_tech
PRO
0
230
混合雲環境整合異質工作流程工具運行關鍵業務 Job 的經驗分享
yaosiang
0
140
ソフトウェアエンジニアの生成AI活用と、これから
lycorptech_jp
PRO
0
790
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.8k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Navigating Team Friction
lara
190
15k
Designing Experiences People Love
moore
142
24k
Gamification - CAS2011
davidbonilla
81
5.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
140
34k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Automating Front-end Workflow
addyosmani
1371
200k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
10
880
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.