News for hackers. Stuff that matters.
Re:Let's build a distributed Postgres proof of concept by nijave on Tuesday May 17, 2022 @03:09PM (#31415099)
Litestream allows scale up application architectures whereas Postgres allows scale out architectures (by only scaling up the database portion instead of also scaling up application servers).

It's basically the same thing as monolith vs microservices but extending monolith to the data persistence layer. With horizontally scaling apps being the predominant architecture right now, I don't really see Litestream changing much.

If you're going to horizontally scale Litestream with a multiple writers you're going to end up introducing all the network and synchronization pieces Postgres architectures already have.

Re:Let's build a distributed Postgres proof of concept by Mertax on Tuesday May 17, 2022 @07:24PM (#31417426)
I only have experience with Azure's App Service, but their App Service can scale out and still use the same mounted local storage layer that is shared across all app instances. So I've been considering this for multi-tenant applications where each tenant's data can be siloed in it's own SQLite database.
Re:Let's build a distributed Postgres proof of concept by nijave on Wednesday May 18, 2022 @07:31PM (#31428907)
I'm curious if you can get that setup to work reliably (and if it's performant when done). It looks like Azure uses SMB to mount a share so Sqlite + SMB caveats apply (generally getting synchronous writes and locks working correctly over a network filesystem). Additional details https://www.sqlite.org/draft/useovernet.html