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
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
推しの Serverless DB について語りたい
Watanabe Yuito
July 19, 2023
Transcript
13 slides
推しの 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. まだ α 版の機能で制約が多いが、そこを含めて推しポイント 皆さんの推しも教えてください
😺
More Decks by Watanabe Yuito
See All by Watanabe Yuito
2026 opendata lt
wwwy
0
16
異世界転生したら俺の「JavaScriptランタイム」がアイドルになっていた件
wwwy
0
32
フロントエンドのテストコード何を書くか
wwwy
0
85
ケモインフォマティクス
wwwy
0
55
Other Decks in Technology
See All in Technology
目を覚ませ!僕らの認証情報が何者かに侵略されてるぞ
tkito
2
490
NutanixへのSSHアクセスの今後について
shadowhat
0
170
技術書典で本を売る流れ
yoshimura_datam
0
130
フロントエンドのテストカバレッジは 100%強制がいい
bengo4com
5
1.5k
Test Impact Analysis を武器に立ち向かう、AI 時代のテスト増加に対するヌーラボのアプローチ / getting-started-datadog-test-impact-analysis
k6s4i53rx
3
420
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
1
350
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
970
エンタープライズIAMについて - ID・権限をどう統制するか
oidfj
1
310
ポケモンバトルのAIエージェント
koji_kawamura
0
220
設計手法を「道具」として使いこなすために
a_suenami
7
1.7k
PHPで家庭用ゲーム機の専用コントローラーをMIDIデバイスとして扱ってみる
wind111
0
200
現場に渡し、構造で守る AI エージェントを活用したセルフサーブのデータ基盤の運用
legalontechnologies
PRO
0
110
Featured
See All Featured
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
640
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
580
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Statistics for Hackers
jakevdp
799
230k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
380
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.5k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
750
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
830
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Faster Mobile Websites
deanohume
310
32k