3 ms·
> Having recently heard a lot of about PostgreSQL in Kubernetes I could never get a straight answer on whether running a database in a container (and mounting
by MuffinFlavored 4y ago
> Having recently heard a lot of about PostgreSQL in Kubernetes
I could never get a straight answer on whether running a database in a container (and mounting the storage volume through a bind mount/network drive or whatever) came with a performance hit compared to running it as a systemd service for example.
- speedgoose 4y agoIt does but it’s minimal. Especially compared to the high latency and low throughout network volumes provides (which are the defaults on cloud VMs).
- ahachete 4y agoIn case you are interested, I blogged about it last year: https://thenewstack.io/kubernetes-will-revolutionize-enterprise-database-management/ https://thenewstack.io/kubernetes-will-revolutionize-enterpr... TL;DR performance impact should be negligible, could be even slightly negative compared to a VM (when running K8s on bare metal).
- MuffinFlavored 4y agoWhat's the best way to simply mount the storage volume needed for Postgres to be performant?