4 ms·
I haven't tried this with litestream! It will be worth exploring that as a replication strategy. The nice thing about queues is that backend storage doesn't re
by memset 2y ago
I haven't tried this with litestream! It will be worth exploring that as a replication strategy.
The nice thing about queues is that backend storage doesn't really need to be coordinated. Like, you could have two servers, with two sets of messages, and the client can just pull from them round robin. They (mostly) don't need to coordinate at all for this to work.
However, this is different for replication where we have multiple nodes as backups.
- xrd 2y agoSince this is a single go binary I bet it would work perfectly with litestream. I use litestream in the exact same way with Pocketbase and it works perfectly (Pocketbase is also a single go binary). I'm going to give it a try and report back.