Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
推しの Serverless DB について語りたい
Search
Watanabe Yuito
July 19, 2023
Technology
160
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
推しの Serverless DB について語りたい
Watanabe Yuito
July 19, 2023
More Decks by Watanabe Yuito
See All by Watanabe Yuito
2026 opendata lt
wwwy
0
10
異世界転生したら俺の「JavaScriptランタイム」がアイドルになっていた件
wwwy
0
31
フロントエンドのテストコード何を書くか
wwwy
0
81
ケモインフォマティクス
wwwy
0
44
Other Decks in Technology
See All in Technology
人間はどの意思決定を手放せるのか
kawasima
15
7.2k
AIを活用するために決めた "やらないこと" - 価値に注目する / Not betting on AI
soudai
PRO
2
550
AgentCore Runtime上にAgentic Coding基盤を構築・展開する際の設計ポイントと限界点 / Design considerations and limitations when building an agentic coding platform on AgentCore Runtime
har1101
4
250
作って終わりじゃないサーバーレス 〜9年運用する大規模EC物流API基盤の設計・運用のリアル〜
zozotech
PRO
0
130
ソフトウェアDNAとクラウドエージェントのススメ
cloudace
0
110
事業課題から技術的負債に向き合う
sansantech
PRO
2
1.9k
LTのテーマ どうきめてる?〜5つの型と私のやり方〜
yama3133
1
110
LLMに渡さなかった仕事
nanaism
0
670
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
510
アプリをもっと"iOSアプリっぽく"する小さな工夫 / Small Touches That Make Your App Feel More Like an iOS App
matsuji
2
950
What the customer really needed
kawaguti
PRO
3
210
HHKBエバンジェリストになる方法
941
0
110
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
How STYLIGHT went responsive
nonsquared
100
6.3k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
730
The agentic SEO stack - context over prompts
schlessera
0
940
Joys of Absence: A Defence of Solitary Play
codingconduct
1
520
Amusing Abliteration
ianozsvald
1
300
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Mind Mapping
helmedeiros
1
360
Darren the Foodie - Storyboard
khoart
PRO
4
3.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
370
A Tale of Four Properties
chriscoyier
163
24k
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. まだ α 版の機能で制約が多いが、そこを含めて推しポイント 皆さんの推しも教えてください
😺