logoalt Hacker News

rienbdjyesterday at 2:17 PM2 repliesview on HN

My understanding is litestream can lose data if a crash occurs before the backup replication to object storage. This makes it an unfair comparison to a Postgres in RDS for example?


Replies

andersmurphyyesterday at 2:30 PM

Last I checked RDS uploads transaction logs for DB instances to Amazon S3 every five minutes. Litestream by default does it every second (you can go sub second with litestream if you want).

show 1 reply
sudodevnullyesterday at 2:41 PM

your understanding is very wrong. please read the docs or better yet the actual code.

show 1 reply