by roncesvalles · 4y ago · 0 comments
>Especially among pragmatic software builders who run their own business and do not work for the man.
That's the perfect use case for a SaaS database. Administering a database adds zero business value and you'd be doing it to save at most $50 a month.
If you treat it as a database outside of your application code, yes. Its "database replication" tools are far behind.
But that's "using it wrong". Outside of the application code using it, a sqlite database should be treated as a file, that's the whole magic of it.
Backup and replication tools for files are great and mature, far more mature than for most database. Something as simple as rsync already covers 99% of use case you need for it.
If you need "live replication across multiple servers" or something like that, you're completely out of the scope of the what sqlite is made for.
In particular - it makes it incredibly frustrating to manage multiple instances accessing it, and has some very strict limitations around how the underlying FS is mounted.
SQLite is an incredible tool - but the right place for it is in a deployed client application (where - seriously - it's a first class project and is an incredible joy). It's not really designed to be your web db.