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
4
フロントエンドのテストコード何を書くか
wwwy
0
73
ケモインフォマティクス
wwwy
0
36
Other Decks in Technology
See All in Technology
作曲家がボカロを使うようにPdMはAIを使え
itotaxi
0
450
Should Our Project Join the CNCF? (Japanese Recap)
whywaita
PRO
0
330
ビズリーチが挑む メトリクスを活用した技術的負債の解消 / dev-productivity-con2025
visional_engineering_and_design
3
6.9k
OSSのSNSツール「Misskey」をさわってみよう(右下ワイプで私のOSCの20年を振り返ります) / 20250705-osc2025-do
akkiesoft
0
150
モバイル界のMCPを考える
naoto33
0
440
Tokyo_reInforce_2025_recap_iam_access_analyzer
hiashisan
0
180
American airlines ®️ USA Contact Numbers: Complete 2025 Support Guide
airhelpsupport
0
360
敢えて生成AIを使わないマネジメント業務
kzkmaeda
2
420
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
27
10k
マーケットプレイス版Oracle WebCenter Content For OCI
oracle4engineer
PRO
3
960
Delegating the chores of authenticating users to Keycloak
ahus1
0
140
Beyond Kaniko: Navigating Unprivileged Container Image Creation
f30
0
130
Featured
See All Featured
Building Adaptive Systems
keathley
43
2.7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
22k
Optimising Largest Contentful Paint
csswizardry
37
3.3k
What's in a price? How to price your products and services
michaelherold
246
12k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
20
1.3k
Building an army of robots
kneath
306
45k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Navigating Team Friction
lara
187
15k
Rebuilding a faster, lazier Slack
samanthasiow
82
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
For a Future-Friendly Web
brad_frost
179
9.8k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
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. まだ α 版の機能で制約が多いが、そこを含めて推しポイント 皆さんの推しも教えてください
😺