4 ms·
Are you going to use LiteFS then for replication [1]? LiteFS replication is asynchronous, meaning failover can lose the latest data. Will LiteFS scale down to
by gregwebs 4y ago
Are you going to use LiteFS then for replication [1]?
LiteFS replication is asynchronous, meaning failover can lose the latest data.
Will LiteFS scale down to 0? Does scaling down to zero mean electing a leader when scaling back up to 1 and will that have a delay? Will the read replicas scale down to 0 along with LiteFS when the primary scales down to 0?
[1] https://github.com/superfly/litefs https://github.com/superfly/litefs
- benbjohnson 4y agoLiteFS/Litestream author here. LiteFS will scale to zero with a persistent volume attached. For short-lived instances (aka serverless), we still have a few more features to complete on the road map (e.g. S3 replication, synchronous replication) to make that work well. Pure serverless (e.g. Lambda, Vercel) is also something we plan to support but we want to get LiteFS working well on more traditional deployments (e.g. longer running instances, Kubernetes, etc) first.