Re:Distributed SQLite with Elixir
by im_down_w_otp on Thursday February 16, 2023 @12:32AM
(#34815441)
Litestream isn't for those kinds of use cases. It's for DR, not availability and/or scale.
Replicating writes to all nodes does not sound scalable. Is it?
Litestream is different from LiteFS: same author, different projects.
LiteFS provides replication with the ability to serve read traffic from those replicas. Litestream provides disaster recovery by streaming a constant backup to an S3 bucket (or similar).
Whats DR?
But it sounds like LiteFS (with a single writer?) might be a pretty nice setup if it handles replication for you, as you probably don't want to build a Raft or Paxos system yourself.