4 ms·
So… litestream is bidirectional? Nothing can go wrong when daemon A and daemon B write almost at the same time? Edit: I just found this tips and gotcha page: h
by didip 5y ago
So… litestream is bidirectional? Nothing can go wrong when daemon A and daemon B write almost at the same time?
Edit: I just found this tips and gotcha page: https://litestream.io/tips/ https://litestream.io/tips/
- benbjohnson 5y agoLitestream author here. I'm glad you were able to track down what you were looking for. For posterity, I'll add a response here. Litestream is a one-way, physical replication tool so you have a single primary node that continuously copies changes out to an external destination (S3, SFTP, etc). If you're looking to have multiple primaries then you can try using the SQLite session extension[1] and copying patch files. That's quite a bit more complicated though. [1]: https://www.sqlite.org/sessionintro.html https://www.sqlite.org/sessionintro.html