Cloudflare D1
Cloudflare's serverless SQLite-based database for Workers and Pages applications.
HN commenters use it as the database for side projects and small apps built on Cloudflare Workers and Pages,12345 often staying on the free plan or paying about $5 a month.678 Caveats are few but include occasional timeout hiccups9 and unspecified limitations of its distributed SQLite design.10
Why people recommend it
Cloudflare integration · 3
Pairs easily with Workers, Pages, R2 and KV as the database layer of an all-Cloudflare stack.
“D1 is database”
“It runs on Cloudflare Workers + D1 for DB”
Show 1 more
“I use D1 for my database”
Low cost · 3
Commenters run apps on the free plan or for about $5 a month.
“D1 is database”
“It runs on Cloudflare Workers + D1 for DB”
Show 1 more
“I use D1 for my database”
Scaling · 2
Commenters say the Cloudflare stack, including D1, has scaled well for their apps.
“I use D1 for my database”
“D1 is a fine database.”
SQLite compatibility · 1
It is SQLite compatible, and one commenter found its full-text search works well.
“D1 is a fine database.”
Caveats and dissent
Timeouts · 1
One commenter reports occasional timeout hiccups on D1 and KV.
“Cloudflare, unfortunately, sometimes have hiccups on D1 and KV with timeout”
Design limits · 1
One commenter notes that the distributed SQLite-based database has its limitations.
“Cloudflare D1, the distributed SQLite based database, have its limitations.”
Often compared with
Threads where it came up
- Ask HN: How do you host your vibe coded tools/sites? 2 mentions
- Show HN: Independent Vet – Find locally owned vets (and corporate ones) near you 1 mention
- The internet discovers TLA+. Now what? 1 mention
- Among European Companies That Use a CDN, Nearly 9 in 10 Use Cloudflare 1 mention
- Substack writers, you need a website 1 mention
- Show HN: Minvoice – invoicing app that runs on Cloudflare Workers and D1 1 mention
Data: cloudflare-d1.json. Quotes are verbatim; the verdict and theme labels are written by a model from these comments, and every clause links to its sources.
All comments 10
“I use D1 for my database”
“Cloudflare, unfortunately, sometimes have hiccups on D1 and KV with timeout”
“Cloudflare D1, the distributed SQLite based database, have its limitations.”
“with D1 as a database when needed”
“D1 is database”
“comments are stored in Cloudflare D1”
“It runs on Cloudflare Workers + D1 for DB”
“use D1 Database and Cloudflare KV to replace Redis”
“Cloudflare Pages + D1 for the leaderboard”
“D1 is a fine database.”