4 ms·
I'm in the process of adding read replication to Litestream[1] so folks can scale out the read-side of their SQLite applications to multiple nodes (or replicate
by benbjohnson 6y ago
I'm in the process of adding read replication to Litestream[1] so folks can scale out the read-side of their SQLite applications to multiple nodes (or replicate to edge nodes for low-latency).
[1]: https://litestream.io/ https://litestream.io/
- pdimitar 6y agoAmazing. This was missing for my use-case and I gave up on LiteStream because of it but now it seems I have to revisit! Wonderful job.
- yellowapple 6y agoNeat. I'll have to give that a whirl. Would this enable any node to be a writer (i.e. would it lock the DB across all nodes)? Or would I have to designate some "master" server with exclusive write access and have any other servers forward write requests to that server?
- benbjohnson 6y agoIt would be the latter. You'd need to have a single primary and replicas would need to redirect writes to that node.