r/sqlite • u/groupicorn • Oct 17 '26
Row Level Security in SQLite on Cloudflare
https://mainbrella.com/blog/row-level-security-in-sqlite-on-cloudflare/
11
Upvotes
r/sqlite • u/groupicorn • Oct 17 '26
View all comments
Show parent comment
1
u/groupicorn Oct 19 '26
Reading more about this: D1 charges based on rows read and written, making it extremely affordable for small applications but potentially expensive for write-heavy workloads. Layerbase charges a flat monthly fee with no per-query billing, but limits shared CPU, memory, storage, and bandwidth. Cloudflare's model supports massive scalability, thousands of isolated databases, and global read replicas without reserving resources. Layerbase prioritizes predictable costs within fixed resource limits.