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
12
フロントエンドのテストコード何を書くか
wwwy
0
77
ケモインフォマティクス
wwwy
0
39
Other Decks in Technology
See All in Technology
Digitization部 紹介資料
sansan33
PRO
1
6.7k
最速で価値を出すための プロダクトエンジニアのツッコミ術
kaacun
1
430
Lambda Durable FunctionsでStep Functionsの代わりはできるのかを試してみた
smt7174
3
170
EventBridge API Destination × AgentCore Runtimeで実現するLambdaレスなイベント駆動エージェント
har1101
7
290
Werner Vogelsが14年間 問い続けてきたこと
yusukeshimizu
2
260
VRTと真面目に向き合う
hiragram
1
520
What happened to RubyGems and what can we learn?
mikemcquaid
0
120
制約が導く迷わない設計 〜 信頼性と運用性を両立するマイナンバー管理システムの実践 〜
bwkw
2
440
Amazon Bedrock AgentCore EvaluationsでAIエージェントを評価してみよう!
yuu551
0
200
新規事業における「一部だけどコア」な AI精度改善の優先順位づけ
zerebom
0
440
フロントエンド開発者のための「厄払い」
optim
0
180
全員が「作り手」になる。職能の壁を溶かすプロトタイプ開発。
hokuo
1
630
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
Discover your Explorer Soul
emna__ayadi
2
1.1k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
53
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.5k
Designing Powerful Visuals for Engaging Learning
tmiket
0
210
Embracing the Ebb and Flow
colly
88
5k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
280
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
200
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
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. まだ α 版の機能で制約が多いが、そこを含めて推しポイント 皆さんの推しも教えてください
😺