Top
Best
New

Posted by pavel_lishin 4 days ago

Go ahead, self-host Postgres(pierce.dev)
673 points | 396 commentspage 7
alexfromapex 4 days ago|
Just don't try to build it from source haha. Compiling Postgres 18 with the PostGIS extension has been such a PITA because the topology component won't configure to not use the system /usr/bin/postgres and has given me a lot of grief. Finally got it fixed I think though.
olavgg 4 days ago|
I actually always build PostgreSQL from source as I want 32kb block size as default. It makes ZFS compression more awesome.
cromulent 4 days ago||
Without disagreeing:

Sometimes it is nice to simplify the conversation with non-tech management. Oh, you want HA / DR / etc? We click a button and you get it (multi-AZ). Clicking the button doubles your DB costs from x to y. Please choose.

Then you have one less repeating conversation and someone to blame.

999900000999 4 days ago||
I've had to set up postgres manually ( before docker TBF) and it's best described as suffering.

Things will go wrong. And it's all your fault. You can't just blame AWS.

Also are we changing the definition of self hosting. Self hosting on Digital Ocean ?!

reillyse 4 days ago||
Disk read write performance is also orders of magnitude better/cheaper/faster.
polskibus 3 days ago||
What's the SOTA for on-prem Postgres, in terms of point-in-time-recovery? are there any well-tested tools for it?
banditelol 3 days ago||
One of the things that made me think twice for self hosting postgres is securing the OS I host PG on. Any recommendation where to start for that?
danparsonson 3 days ago|
Can you get away without exposing it to the internet? Firewall it off altogether, or just open the address of a specific machine that needs access to it?
FragrantRiver 4 days ago||
People really love jumping through hoops to avoid spending five dollars.
jurschreuder 4 days ago||
I moved from AWS RDS to ScaleWay RDS, had the same effect on cost
heyalexej 4 days ago|
Without stating actual numbers if not comfortable, what was the % savings one over the other? Happy with performance? Looking at potential of doing the same move.
bradley13 4 days ago||
Huh? Maybe I missed something, but...why should self-hosting a database server be hard or scary? Sure, you are then responsible for security backups, etc...but that's not really different in the cloud - if anything, the cloud makes it more complicated.
m4ck_ 4 days ago||
Well for the clickops folks who've built careers on the idea that 'systems administration is dead'... I imagine having to open a shell and install some stuff or modify a configuration file is quite scary.
empthought 4 days ago|||
Self-hosting a database server is not particularly hard or scary for an engineer.

Hiring and replacing engineers who can and want to manage database servers can be hard or scary for employers.

Nextgrid 4 days ago||
> Hiring and replacing engineers who can and want to manage database servers can be hard or scary for employers.

I heard there's this magical thing called "money" that is claimed to help with this problem. You offer even half of the AWS markup to your employees and suddenly they like managing database servers. Magic I tell you!

xboxnolifes 4 days ago||
I'd say a managed dB, at minimum, should be handling upgrades and backups for you. If it doesn't, thats not a managed db, thats a self-service db. You're paying a premium to do the work yourself.
geldedus 4 days ago|
Pros self-host their DB's
More comments...