6 ms·
Author here. We've done some proof-of-concept work on creating distributed leases using S3. We have some use cases internally where we've considered adding writ
by benbjohnson 9mo ago
Author here. We've done some proof-of-concept work on creating distributed leases using S3. We have some use cases internally where we've considered adding write capabilities to the VFS but we haven't started any work on it yet.
- hobo_mark 9mo agoIs this VFS for read-only databases? Or can I query a database that has a single litestream writer somewhere continously making updates and backing them up to S3?
- benbjohnson 9mo agoThe VFS is read only but it will continuously poll for new updates so if you have a writer somewhere else using regular Litestream then it will pick up those updates automatically.
- reactordev 9mo agoIt’s a tricky problem that goes beyond the fs as you know. Since it’s cloud and since it’s distributed, a manager wouldn’t be that far fetched that could issue CRDT like messages across the cluster of nodes to issue a “write” or utilize the sync mechanism you have to propagate a “master” db that you write to (aggregate or designate, either way). I did some work on this on a go based database graph and ended up doing a gossip sync crdt message bus.
- withinboredom 9mo agoIf latency isn't important. Something like this could work. For applications where latency or linearizability is important, it probably won't work.