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 DB について語りたい
Search
Watanabe Yuito
July 19, 2023
Technology
0
150
推しの Serverless DB について語りたい
Watanabe Yuito
July 19, 2023
Tweet
Share
More Decks by Watanabe Yuito
See All by Watanabe Yuito
異世界転生したら俺の「JavaScriptランタイム」がアイドルになっていた件
wwwy
0
6
フロントエンドのテストコード何を書くか
wwwy
0
75
ケモインフォマティクス
wwwy
0
38
Other Decks in Technology
See All in Technology
「改善」ってこれでいいんだっけ?
ukigmo_hiro
0
400
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
14k
データ戦略部門 紹介資料
sansan33
PRO
1
3.8k
Okta Identity Governanceで実現する最小権限の原則 / Implementing the Principle of Least Privilege with Okta Identity Governance
tatsumin39
0
160
物体検出モデルでシイタケの収穫時期を自動判定してみた。 #devio2025
lamaglama39
0
270
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
120
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
1
320
AIエージェント入門 〜基礎からMCP・A2Aまで〜
shukob
1
150
Kubernetes self-healing of your workload
hwchiu
0
330
事業開発におけるDify活用事例
kentarofujii
4
1.2k
serverless team topology
_kensh
2
110
Claude Code Subagents 再入門 ~cc-sddの実装で学んだこと~
gotalab555
10
17k
Featured
See All Featured
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
48
9.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
7
570
4 Signs Your Business is Dying
shpigford
185
22k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Embracing the Ebb and Flow
colly
88
4.9k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.7k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Done Done
chrislema
185
16k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
34
2.5k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
The Straight Up "How To Draw Better" Workshop
denniskardys
238
140k
Transcript
推しの Serverless DB について語りたい @wwwyo
自己紹介 名前: 渡部唯登(ささ み) 仕事: 新卒フロントエンドエンジニア 好き: 最近は猫とささみ
話す内容 1. 背景 2. Serverless DB 3. 推し活
簡単にフロントエンドの話をさせてください 背景
背景~フロント領域の変化~ • 流行として、BFF(Backend for Frontend), RSC(React Server Components)が目立つ • フロントの領域がサーバーにも広がってきている
• 実際、サーバー機能 (Node.js) まで提供するホスティングサービスも多く登場 DBの面倒を見てくれない どこにおけば、、
Serverless DB • サーバー管理不要 • DB 設定不要 ◦ RDBMS, NoSQL
が入っている • 小規模なら料金が安くつく ◦ 無料枠が大きい
Serverless DB の例 Cloud Firestore SPA時代からの先駆者, NoSQL Supabase Firebaseの座を狙う, Postgres
Vercel Postgres フロントを牽引, Postgres Cloudflare D1 次世代 Edge serverless, SQLite Neon ポスト Heroku, Postgres PlantScale Youtube 発祥, MySQL
Cloudflare D1 を推したい Cloudflare D1 とは何か※1 • Cloudflare Workers(エッジコンピューティング) 内で動く
Serverless DB • 世界中に Read Replica DB が存在 • SQLiteを使用(サーバーがないRDBMS)※2 ※1: https://blog.cloudflare.com/introducing-d1/ ※2: https://www.sqlite.org/serverless.html https://www.cloudflare.com/ja-jp/learning/cdn/what-is-a-cdn/
Cloudflare D1 を推したい 1. 高パフォーマンス 2. 低コスト 3. 成長性
Cloudflare D1を推したい~高パフォーマンス~ 他の Serverless DB よりも圧倒的に速い https://blog.cloudflare.com/d1-turning-it-up-to-11/
Cloudflare D1を推したい~低コスト~ 時間やレプリカの数に対するコストは無し(データ操作 , ストレージ に対して課金される) https://blog.cloudflare.com/d1-turning-it-up-to-11/
Cloudflare D1を推したい~成長性~ できないことが多い(まだ α 版) • 破壊的変更につき本番運用はまだ速い • よくわからんけど、エラー吐く時がある •
主要なORMが対応していない(e.g. Prisma, TypeORM) • 制約も多い( DB サイズ制限が 100 MB) しかし、成長過程が見れるというのも、また推せるポイントである。
まとめ 1. Cloudflare D1 は速度や料金面で優位性がある 2. まだ α 版の機能で制約が多いが、そこを含めて推しポイント 皆さんの推しも教えてください
😺