Hacker News new | ask | show | jobs
by onetoo 882 days ago
Cool. I'm still trying to wrap my head around how to use it responsibly: Is this a "good, old fashioned" single durable server type of deployment?

I was wondering if you had any experience with, essentially, "always restore DB during startup".

I like my systems made such that the server can die, get scaled vertically and oops data disk wiped, forget to mount volume in a container, etc. without me lifting a finger. It looks like I can do that with litestream, but I always want to hear from people who have tried it in the real world.

1 comments

> Is this a "good, old fashioned" single durable server type of deployment?

Yep!

> I like my systems made such that the server can die, get scaled vertically and oops data disk wiped, forget to mount volume in a container, etc. without me lifting a finger. It looks like I can do that with litestream, but I always want to hear from people who have tried it in the real world.

I can't really help you there unfortunately, but I know fly.io is trying to offer something like that.

Oh the complexity and pain I go through in my quest for "keeping it simple."

It's fine, my server for stupid side projects is a cheap VPS with a systemd-based configuration anyway, I am just trying to figure out all the failure modes here vs "apt-get install postgresql", including, most likely, myself.