Python versus Other Languages using PostgreSQL

From: Paul Hughes <paul(at)vivation(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Python versus Other Languages using PostgreSQL
Date: 2017-05-08 21:26:02
Message-ID: CAMaVp2uwb0SU4HgovLaemAQgZvVpXy5A=3yc_YeQ7pVwfRpspg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I noticed that most of the largest web platforms that use PostgreSQL as
their primary database, also use Python as their primary back-end language.
Yet, according to every benchmark I could find over the last couple of
years, back-end languages like PHP, HHVM, and Node.JS outperform Python by
2x to 8x!

So here are my questions:

1) Why do the largest web applications that use PostgreSQL also use Python,
even though Python is significantly slower than it's biggest competitors?

2) Can PostgreSQL just as easily be used with PHP or Node.js? If not, why
not?

3) Can PostgreSQL be made to work seamlessly to take advantage of the
superior performance of HHVM or Node.js?

Thank you in advance!

~Paul

<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=icon>
Virus-free.
www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail&utm_term=link>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-05-08 21:49:51 Re: data transformation and replication
Previous Message Armand Pirvu (home) 2017-05-08 19:46:32 data transformation and replication