I'm still waiting on how they'll prevent accidental corruption from multiple writers; there's a PR implementing write leases, not sure if that's the direction they'll take.
That said, pausing local polling when writes are enabled - i.e. assuming you're the only writer - makes sense, it's a good idea; hadn't occurred to me.
Ideally, I'd like to offer durability on fullfsync. I think this is feasible. In a concurrent system (single host), while a writer is waiting for durability confirmation, readers can continue reading the previous state, and the next writer can read the committed - but not yet durable - data and queue its writes to be batched. You can have as many pending writes as you're willing to have connections.
I'm not sure you can have readers see something separate than writers. When SQLite promotes a read lock to a write lock under WAL then it checks if any of the data has changed and then fails the transaction if it has.
I find the ways people extend or build on top of Sqlite to be fascinating. I use it in a few apps but not on the server (yet). Multi-writer for something like would be amazing (incredibly difficult to do well, obviously). I work on a home-rolled distributed database (multi-writer) but it has numerous downsides/issues so I love seeing how other people approach and solve these things.
To achieve what you describe, you should be just able to setup a Postgres replica that’s setup on top of ZeroFS.
[0] https://github.com/Barre/ZeroFS
[1] https://github.com/Barre/ZeroFS?tab=readme-ov-file#postgresq...
Does anyone know whether you could use this to stitch together a bunch of .db files (that share the same schema) in an ad-hoc way?
For example, if I decided I wanted to synchronize my friend's .db file, could I enable this using litestream? And, what if my friend wanted to sync two of his friends' .db files, but I'm only interested in his changes, not theirs? I assume this kind of fan out is not possible, but it would be fun if so.
- webdav
- file
- SFTP basically ssh ( i have used tailscale and linux laptop ssh)
Been about two weeks now since the linked article was published.
Hey fly, what are the internal usage numbers on "sprites"?
Is anyone using them? To do what? Worth the effort?
Sprites are the best thing we've ever built. Extremely worth it.
If you haven't played with them yet, my best and for now only answer is: go kick the tires. They're very fun.
I was expecting that commonality to be dispelled you chose otherwise.
I know zip about the back story here, but I and many can appreciate that two weeks is bugger all when there are a lot of balls in the air and these guys will no doubt say more when they have more .. or not if it goes nowhere.
Stick a pin in your calendar and circle back in one or six months.