Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I'm not sure whether that's actually useful... -- Larry Wall in <199710011704.KAA21395@wall.org>


devel / comp.lang.python / Re: Why so fast a web framework?

SubjectAuthor
o Re: Why so fast a web framework?Calvin Spealman

1
Re: Why so fast a web framework?

<mailman.125.1635448573.23718.python-list@python.org>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=20247&group=comp.lang.python#20247

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: cspealma@redhat.com (Calvin Spealman)
Newsgroups: comp.lang.python
Subject: Re: Why so fast a web framework?
Date: Thu, 28 Oct 2021 15:15:53 -0400
Lines: 41
Message-ID: <mailman.125.1635448573.23718.python-list@python.org>
References: <CADrxXXnxBfdbTOEX1ghE5Lmz9fO7BDW3ysARh1mzPNF2qCZ9DQ@mail.gmail.com>
<CADrxXXmYumrjvyRzBym-igY8Ej3y8uPn=cwbZUZK3cGyYFkuvA@mail.gmail.com>
<CACo5Rz4dDkd+uYOAmaWwBN_iv9mT5J7Xs9daFXvTicgSU6MUDA@mail.gmail.com>
<CADrxXXkebPeSJkGRXHWtUQUP-r3f8AMbfQS-EjD2Snw1XPmJNw@mail.gmail.com>
<CACo5Rz5dEsA1T5dmveb+17vmbrq-1uMhxDZ15xrjodAhV50PAA@mail.gmail.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
X-Trace: news.uni-berlin.de fWYG4LBwcFhIlI7qYp9U1gj87Uiwq2hjmFILeN5FiRYg==
Return-Path: <cspealma@redhat.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=pass
reason="1024-bit key; unprotected key"
header.d=redhat.com header.i=@redhat.com header.b=cXBGlZYF;
dkim-adsp=pass; dkim-atps=neutral
X-Spam-Status: OK 0.072
X-Spam-Evidence: '*H*': 0.86; '*S*': 0.00; 'engineer': 0.02; 'url-
ip:140.82/16': 0.03; 'subject:Why': 0.07; 'cc:addr:python-list':
0.09; 'fewer': 0.09; 'url-ip:67.199.248.12/32': 0.09; 'url-
ip:67.199.248.13/32': 0.09; 'url:github': 0.14; 'url-ip:140/8':
0.15; 'cc:name:python': 0.16; 'context.': 0.16; 'janhangeer':
0.16; 'mauritius': 0.16; 'so-called': 0.16; 'url:latest': 0.16;
'wrote:': 0.16; 'python': 0.16; 'github': 0.17; 'thu,': 0.19;
'cc:addr:python.org': 0.20; 'anything': 0.25; 'actual': 0.25;
'cc:2**0': 0.25; 'url-ip:51/8': 0.26; 'bit': 0.27; 'etc': 0.28;
'received:209.85.210': 0.29; 'blog': 0.30; 'think': 0.32;
'context': 0.32; 'message-id:@mail.gmail.com': 0.32; 'but': 0.32;
'there': 0.33; 'header:In-Reply-To:1': 0.34;
'received:google.com': 0.34; 'received:209.85': 0.37;
'received:209': 0.39; 'two': 0.39; 'use': 0.39; 'received:(using
tls)': 0.40; 'received:mimecast.com': 0.40; 'want': 0.40;
"there's": 0.61; 'url-ip:184.50/16': 0.62; 'here': 0.62;
'service': 0.64; 'url-ip:67.199.248/24': 0.64; 'url-ip:67.199/16':
0.64; 'your': 0.64; 'similar': 0.65; 'url:png': 0.66; 'per': 0.68;
'exactly': 0.68; 'url-ip:67/8': 0.69; 'compare': 0.69; '2021':
0.71; 'compared': 0.71; 'performance': 0.71; 'url-ip:209/8': 0.76;
'discuss': 0.78; 'quality': 0.80; 'queries': 0.81; 'received:170':
0.81; 'php,': 0.84; 'queries?': 0.84; 'surprised': 0.84;
'url:logo': 0.91; 'url:sig': 0.91
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1635448570;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
in-reply-to:in-reply-to:references:references;
bh=3sJGaEHhXB43g6Rcrlz8zP7nLVxazujGi53nphoQy1A=;
b=cXBGlZYFrA7jxoG8ldlth7g/FzLr3T7kWNgZGJk6JHALaLvRmpVQvHUV/o4Ckpqp1aN4SN
ALrQ9dXKPfixkZB+RpPIK6xYJ+02FLydooNY0FW2hE0L0e5w+PX9u4sJKqSJa4JPCAK2U5
dDeoUV8W5F4N+HRxn6NwwLGCyz6egPs=
X-MC-Unique: gdc3Wq-XP_CV--RPuQ4RNw-1
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=3sJGaEHhXB43g6Rcrlz8zP7nLVxazujGi53nphoQy1A=;
b=hvRauqi6pWLT3ts6BglWxmkarQFF2ghwscxF9opHQEI75PiDhg0EiErThpSrWuTMze
8nf+yivwYhtGAeATthsAn1mqZYDrRvILGxLLyp9Vr6YSWlsn1D5q+hjHARESLpD54W1e
qYpZAF9GUuK3Qnft3wKv+WeSMcAQSEoZ/hMQR2kDfatW9TZZjlFZTUJKwq5Ihd3OWkFs
jcTGkL/648sDWgehCXSgFF5jsFHr0gXgELSCmTpDbeEbseD1kNJh278zL+vu6w1mSVg7
ibO/+XYLjfWoGIzpQ9uBHh6j2Hni5yvar0CeJ8cOAPjsOtsYgW4IJh5bdASYjcou+tC6
uRFA==
X-Gm-Message-State: AOAM531NF+hvPcdaGiC15Jw4btGZOxYPBei7VvKXXW6ZbF+3gnvPhkF1
gbY1nvT+TPhgM+nlCZC0/PHA9RjSjRs+8YlV4P0V7vz4NCRvj5CuHDtlZwkuNmcrDG1SZuBD4A1
mduWL7A8Bsy7raiW94XcOnW/DLHVOgb6L
X-Received: by 2002:a05:6830:3101:: with SMTP id
b1mr4915855ots.291.1635448565037;
Thu, 28 Oct 2021 12:16:05 -0700 (PDT)
X-Google-Smtp-Source: ABdhPJzJNG2xdVclL4R7V/0JoxB5BfRgeQ9bvhhTBkoBU4y2TRyUA8a0Ew+Kz4UeCEypilF2vZ4BhRbKqc0jNtEp7YA=
X-Received: by 2002:a05:6830:3101:: with SMTP id
b1mr4915838ots.291.1635448564817;
Thu, 28 Oct 2021 12:16:04 -0700 (PDT)
In-Reply-To: <CADrxXXkebPeSJkGRXHWtUQUP-r3f8AMbfQS-EjD2Snw1XPmJNw@mail.gmail.com>
Authentication-Results: relay.mimecast.com;
auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=cspealma@redhat.com
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Content-Filtered-By: Mailman/MimeDel 2.1.35
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.35
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <CACo5Rz5dEsA1T5dmveb+17vmbrq-1uMhxDZ15xrjodAhV50PAA@mail.gmail.com>
X-Mailman-Original-References: <CADrxXXnxBfdbTOEX1ghE5Lmz9fO7BDW3ysARh1mzPNF2qCZ9DQ@mail.gmail.com>
<CADrxXXmYumrjvyRzBym-igY8Ej3y8uPn=cwbZUZK3cGyYFkuvA@mail.gmail.com>
<CACo5Rz4dDkd+uYOAmaWwBN_iv9mT5J7Xs9daFXvTicgSU6MUDA@mail.gmail.com>
<CADrxXXkebPeSJkGRXHWtUQUP-r3f8AMbfQS-EjD2Snw1XPmJNw@mail.gmail.com>
 by: Calvin Spealman - Thu, 28 Oct 2021 19:15 UTC

I don't think there's anything meaningful being compared in that so-called
"benchmark" at all. There is no evidence that its worth even the smallest
bit of attention.

You want to write a web service? Do it. Use Python or PHP, or whatever you
prefer. Do you think your service is "slow"? You won't know until you
measure *your* service and compare that against actual requirements you
have. There is no context here to discuss performance and performance can
*only* be discussed in a context.

"SQL queries per second" is pointless. Why are you making so many SQL
queries? If you want your service to be more efficient, make fewer queries!

On Thu, Oct 28, 2021 at 12:49 PM Abdur-Rahmaan Janhangeer <
arj.python@gmail.com> wrote:

> Me
>
> Like why exactly is that the case, i would not be surprised for rust, C,
> CPP etc
> But as to where the difference comes for two comparatively similar langs.
>
> Kind Regards,
>
> Abdur-Rahmaan Janhangeer
> about <https://compileralchemy.github.io/> | blog
> <https://www.pythonkitchen.com>
> github <https://github.com/Abdur-RahmaanJ>
> Mauritius
>

--

CALVIN SPEALMAN

SENIOR QUALITY ENGINEER

calvin.spealman@redhat.com M: +1.336.210.5107
[image: https://red.ht/sig] <https://red.ht/sig>
TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>


devel / comp.lang.python / Re: Why so fast a web framework?

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor