Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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).


Yes but there is still a (small) window where confirmed writes can be lost


Right and that window is bigger for RDS by the looks of it.


Interesting - I had not looked deep into this before.

Is suppose the difference is RDS has high 9s, whereas in the Litestream case the frequency of crashes is tied to your application code and deployment process. In practice this will take more work to reach the same uptime?


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


Please can you link to the relevant guarantees? I did read the documentation just today so clearly misunderstood something!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: