News for hackers. Stuff that matters.
Re:Show HN: WunderBase – Serverless OSS database on top of S... by gregwebs on Thursday September 15, 2022 @11:44AM (#32853777)
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

Re:Show HN: WunderBase – Serverless OSS database on top of S... by benbjohnson on Thursday September 15, 2022 @12:04PM (#32854092)
LiteFS/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.