Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #29831

RE: Fastest web framework

Path csiph.com!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <andriy.kornatskyy@live.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.044
X-Spam-Evidence '*H*': 0.91; '*S*': 0.00; 'cache': 0.05; 'frameworks': 0.05; 'welcome.': 0.07; 'python': 0.09; 'django,': 0.09; 'sep': 0.09; "'hello": 0.16; 'interesting:': 0.16; 'parts,': 0.16; 'renders': 0.16; 'throughput': 0.16; 'wrote:': 0.17; 'skip:- 40': 0.21; 'thanks.': 0.21; 'split': 0.23; '(this': 0.24; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'all.': 0.28; 'run': 0.28; 'date:': 0.29; 'url:mailman': 0.29; 'probably': 0.29; 'e.g.': 0.30; 'framework': 0.30; 'hosted': 0.30; 'url:2012': 0.30; 'url:python': 0.32; 'url:listinfo': 0.32; 'comments': 0.33; 'from:addr:live.com': 0.33; 'to:addr:python-list': 0.33; 'likely': 0.33; 'thanks': 0.34; 'list': 0.35; 'fastest': 0.35; 'posting': 0.35; 'something': 0.35; 'next': 0.35; 'subject:': 0.36; 'but': 0.36; 'url:org': 0.36; 'email addr:python.org': 0.36; 'does': 0.37; 'two': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'things': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'application': 0.40; 'url:mail': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'matter': 0.61; 'real': 0.61; 'first': 0.61; 'email name :python-list': 0.62; 'worth': 0.63; 'world': 0.63; 'more': 0.63; 'url:blogspot': 0.64; 'serving': 0.66; 'article': 0.78; 'benchmark': 0.84; 'email addr:panix.com': 0.84; 'charset:windows-1251': 0.97
X-Originating-IP [213.130.16.2]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To <python-list@python.org>
Subject RE: Fastest web framework
Date Sun, 23 Sep 2012 20:42:47 +0300
Importance Normal
In-Reply-To <roy-49DA49.10022823092012@news.panix.com>
References <roy-49DA49.10022823092012@news.panix.com>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 23 Sep 2012 17:42:47.0287 (UTC) FILETIME=[D820D070:01CD99B2]
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.1133.1348422237.27098.python-list@python.org> (permalink)
Lines 47
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1348422237 news.xs4all.nl 6874 [2001:888:2000:d::a6]:41340
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:29831

Show key headers only | View raw


If we take a look at web application we can split it into at least two parts, one that renders things out and the other one that does data extraction, e.g. from database (this is what you are pointing at).

If you made a first call to database you get your list and can easily cache it. The next call IS without impact that database call may cause... but you still keep serving pages out...

Thanks.

Andriy


----------------------------------------
From: roy@panix.com
Subject: Re: Fastest web framework
Date: Sun, 23 Sep 2012 10:02:28 -0400
To: python-list@python.org


In article <mailman.1110.1348392023.27098.python-list@python.org>,
Andriy Kornatskyy <andriy.kornatskyy@live.com> wrote:

> I have run recently a benchmark of a trivial 'hello world' application for
> various python web frameworks (bottle, django, flask, pyramid, web.py,
> wheezy.web) hosted in uWSGI/cpython2.7 and gunicorn/pypy1.9... you might find
> it interesting:
>
> http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html
>
> Comments or suggestions are welcome.

That's a nice comparison, thanks for posting it.

One thing that's worth pointing out, however, is that in a real world
application, as long as you're using something halfway decent, the speed
of the framework is probably not going to matter at all. It's much more
likely that database throughput will be the dominating factor.

--
http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 12:19 +0300
  Re: Fastest web framework Roy Smith <roy@panix.com> - 2012-09-23 10:02 -0400
    Re: Fastest web framework Stefan Behnel <stefan_ml@behnel.de> - 2012-09-23 17:50 +0200
    Re: Fastest web framework Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-23 18:20 +0100
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 20:42 +0300
    Re: Fastest web framework Stefan Behnel <stefan_ml@behnel.de> - 2012-09-23 19:48 +0200
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 20:57 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 21:15 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 21:16 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 21:17 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-09-23 21:41 +0300

csiph-web