I'm all-in on server-side SQLite (2022)
1–10 of 167 posts
Re: I'm all-in on server-side SQLite (2022)
#2Re: I'm all-in on server-side SQLite (2022)
#32022
Discussion: https://news.ycombinator.com/item?id=37497345
Re: I'm all-in on server-side SQLite (2022)
#42022
Re: I'm all-in on server-side SQLite (2022)
#5LifeFS was announced and is intended to help this. Now seems like (https://fly.io/docs/litefs/getting-started-fly/) it requires an HTTP proxy so that the application can guess about sqlite write/read usage by reading the HTTP request method. This seems... to introduce a different (maybe better?) set of gotchas to navigate.
There are now SQLite cloud offerings but you pay the network overhead and avoiding that was so much of the appeal of using SQLite.
Are people successfully using SQLite in a work or production setting with a replication and consistency strategy that they like? I've had trouble getting a setup to the point where I can recommend it for use at my jarb.
Re: I'm all-in on server-side SQLite (2022)
#6Been feeling a little miffed about this recently. Litestream is excellent but if you have multiple writers your db gets corrupted. Quite easy to do with rolling deploys. LifeFS was announced and is intended to help this. Now seems like ( https://fly.io/docs/litefs/getting-started-fly/ ) it requires an HTTP proxy so that the application can guess about sqlite write/read usage by reading the HTTP request method. This s…
- https://github.com/canonical/dqlite
Re: I'm all-in on server-side SQLite (2022)
#7Re: I'm all-in on server-side SQLite (2022)
#8Been feeling a little miffed about this recently. Litestream is excellent but if you have multiple writers your db gets corrupted. Quite easy to do with rolling deploys. LifeFS was announced and is intended to help this. Now seems like ( https://fly.io/docs/litefs/getting-started-fly/ ) it requires an HTTP proxy so that the application can guess about sqlite write/read usage by reading the HTTP request method. This s…
Isn't this not only well-documented, but (restricting to a single writer to avoid distributed systems issues while still making it easy to move that single writer around) sort of the whole point?
Re: I'm all-in on server-side SQLite (2022)
#9What I would like is a good primer about the layers on top of SQLite. What does Litestream do for me? How does it compare to competitors? Why not just use SQLite directly? A more in-depth technical discussion would be nice. I'd also like to understand wrappers and ORMs for migration to other systems, should SQLite stop scaling.