[paul@vivation.com: Python versus Other Languages using PostgreSQL]

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: pgsql-general(at)postgresql(dot)org
Cc: paul(at)vivation(dot)com
Subject: [paul@vivation.com: Python versus Other Languages using PostgreSQL]
Date: 2017-05-08 22:36:23
Message-ID: 20170508223623.73zilmnxfc3p56lw@alvherre.pgsql
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>

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2017-05-08 22:50:52 Re: Python versus Other Languages using PostgreSQL
Previous Message Alvaro Herrera 2017-05-08 22:34:11 [plncek2@gmail.com: Can I safe my Data?]