by suggala · 4y ago · 0 comments
Not bad to invest some extra time to get better performance.
You are falling to “Appeal to antiquity” fallacy if you think something old is better.
If you're gonna spend effort in running Postgres manually, do it on bare-metal and at least get some reward out of it (performance and reduced cost).
On GCP, at least, you can provision a GKE node-pool where the nodes have direct-attached NVMe storage; deploy a privileged container that formats and RAID0s up the drives; and then make use of the resulting scratch filesystem via host-mounts.
What?? We run replicated Patroni on local NVMEs and it's incredibly fast.