logoalt Hacker News

alemaneklast Saturday at 6:48 PM4 repliesview on HN

As someone who has set this up while not being a DBA or sysadmin.

Replication and backups really aren’t that difficult to setup properly with something like Postgres. You can also expose metrics around this to setup alerting if replication lag goes beyond a threshold you set or a backup didn’t complete. You do need to periodically test your backups but that is also good practice.

I am not saying something like RDS doesn’t have value but you are paying a huge premium for it. Once you get to more steady state owning your database totally makes sense. A cluster of $10-20 VPSes with NVMe drives can get really good performance and will take you a lot farther than you might expect.


Replies

ldngyesterday at 11:55 PM

More than that, it's easier than it ever was to setup but we live in the post-truth world where nobody wants to own their shit (both figuratively and concretely) ...

tormehyesterday at 12:22 AM

I think the pricing of the big three is absurd, so I'm on your side in principle. However, it's the steady state that worries me. When the box has been running for 4 years and nobody who works there has any (recent) experience operating postgres anymore. That shit makes me nervous.

andersmurphylast Saturday at 7:32 PM

Even easier with sqlite thanks to litestream.

show 1 reply
bg24yesterday at 10:54 AM

Yes. Also you can have these replicas of Postgres across regions.