Go ahead, self-host Postgres

94 points by kowale


k749gtnc9l3w

I've had data corruption when using a 3rd party vendor just the same as I've had when self-hosting.

As far as I'm concerned this is roughly comparable to the time you spend debugging RDS connection limits, working around parameter groups you can't modify, or dealing with surprise maintenance windows.

The main operational difference is that you're responsible for incident response. If your database goes down at 3 AM, you need to fix it. But here's the thing: RDS goes down too. And when it does, you're still the one getting paged, you just have fewer tools to fix the problem.

Doesn't look like it will ever become non-true…

mxey

None of this is technically complex

Proper automated failover is quite complex. Luckily you don’t implement it yourself for Postgres.

We run our own Postgres just fine but I would love to not have to run MySQL. Cloud vendors typically handle database replication by replicating block devices, which gives them a generic solution that doesn’t have to deal with the problems of each database.