News for hackers. Stuff that matters.
Re:PostgreSQL Performance on Docker by felixgallo on Wednesday July 09, 2014 @01:32PM (#8010965)
I pray to god nobody uses docker and postgres or any other database until this question is resolved. The most rational explanation for why postgres would be 'faster' under docker virtualization than it is raw-on-the-operating-system would be that libcontainer/docker are skipping over some fundamental atomicity guarantee.
Re:PostgreSQL Performance on Docker by jfoutz on Wednesday July 09, 2014 @04:35PM (#8012101)
I had a somewhat snarky answer earlier.

I'd say it's much more likely the pre-configured docker digital ocean makes available is on hardware that isn't as heavily used as a regular old postgress configuration.

That is, there's more load in general on the postgress machine rather than the docker machine, you don't get perfect isolation in those environments.

Re:PostgreSQL Performance on Docker by kerr23 on Wednesday July 09, 2014 @06:03PM (#8012496)
I ran all of the benchmarks on the same machine.

I would see it possible that the pre-configured Digital Ocean machine favors docker processes over non-docker somehow.

Re:PostgreSQL Performance on Docker by cyphar on Thursday July 10, 2014 @12:26AM (#8013611)
Docker is just glue code. That's all it is. It sets up your bind mounts, cgroups and namespaces. It then execs the process and gtfos. The way the kernel is dealing with the namespace'd postgres is the difference.
Re:PostgreSQL Performance on Docker by feld on Wednesday July 09, 2014 @02:32PM (#8011425)
I can't wait for their data to disappear.
Re:PostgreSQL Performance on Docker by msane on Wednesday July 09, 2014 @03:17PM (#8011678)
You sound like a real stand-up guy.
Re:PostgreSQL Performance on Docker by steffan on Wednesday July 09, 2014 @03:22PM (#8011711)
Impatient, too