Lurker News
I periodically hear about projects that use/have used sqlite as their sole datastore. The theory seems to be is that you can test out an idea with fewer dependencies (and cost) and that it scales surprisingly far.

There are even distributed versions being built for reliability in the cloud: dqlite by canonical (of Ubuntu fame) and rqlite
Given the complexity it seems like there are use cases or needs here that I'm not seeing and I'd be very interested to know more from those who've tried.
Have you tried this? Did it go well? Or blow up? Were there big surprises along the way?
- https://sqlite.org - https://dqlite.io - https://github.com/rqlite/rqlite

Comments (325) 124 threads

Earlier comments
g5095#
back in 2010-ish I ran a bootstrap/startup that was a community based writing platform for indie authors. Our writing app was entirely web-based, offline with CRDTs between browser storage and backend, where everyone's book was it's own sqlite DB. The forums ran on sqlite as did the auth system.. it worked really well for us (although we had to build a bit of logic around lazy updating schemas). I think it's well suited to user-partitioned data.
teddyc#
I use it for production backups. There's a sqlite db in each compressed archive to store metadata about the backup.

It's probably elsewhere but I don't realize it.

frizlab#
Yes, for a project used internally in my company, 300k rows per week. So far it’s going great. If things get too slow I’ll migrate to Postgres.
samsaga21 reply#
It depends on the application you are developing. If you are doing microservices, separate the database from the application is a must.
jacob019#
Some microservices will need persistent local data that is only used by the microservice and sqlite can be a good fit.

Load more comments