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


Groups > comp.lang.python > #32125

RE: Fastest web framework

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!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.026
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'handler': 0.04; 'frameworks': 0.05; 'transform': 0.05; 'executed': 0.07; 'welcome.': 0.07; 'python': 0.09; 'cached': 0.09; 'django,': 0.09; 'sep': 0.09; 'essential': 0.15; "'hello": 0.16; '+0300': 0.16; 'caching': 0.16; 'interesting:': 0.16; 'throughput': 0.16; 'url:packages': 0.16; 'memory': 0.18; 'to:name:python- list@python.org': 0.20; 'skip:- 40': 0.21; 'thanks.': 0.21; 'header:In-Reply-To:1': 0.25; 'run': 0.28; 'date:': 0.29; 'url:mailman': 0.29; 'framework': 0.30; 'hosted': 0.30; 'returned': 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; 'fastest': 0.35; 'there': 0.35; 'subject:': 0.36; 'ability': 0.36; 'url:org': 0.36; 'compare': 0.36; 'email addr:python.org': 0.36; 'should': 0.36; 'possible': 0.37; 'two': 0.37; 'subject:: ': 0.38; 'from:': 0.38; 'instead': 0.39; 'to:addr:python.org': 0.39; 'application': 0.40; 'url:mail': 0.40; 'your': 0.60; 'skip:u 10': 0.60; 'most': 0.61; 'here:': 0.62; 'email name:python-list': 0.62; 'capable': 0.63; 'maximum': 0.63; 'effective': 0.63; 'more': 0.63; 'url:blogspot': 0.64; 'url:10': 0.65; 'user,': 0.69; 'email addr:live.com': 0.71; 'attention': 0.75; 'url:http': 0.79; 'benchmark': 0.84; 'time)': 0.91; 'url:tutorial': 0.93; 'charset:windows-1251': 0.97
X-Originating-IP [194.44.213.194]
From Andriy Kornatskyy <andriy.kornatskyy@live.com>
To "python-list@python.org" <python-list@python.org>
Subject RE: Fastest web framework
Date Thu, 25 Oct 2012 16:47:27 +0300
Importance Normal
In-Reply-To <DUB117-W80EE2285B5E415AA14B5B9919F0@phx.gbl>
References <DUB117-W80EE2285B5E415AA14B5B9919F0@phx.gbl>
Content-Type text/plain; charset="windows-1251"
Content-Transfer-Encoding quoted-printable
MIME-Version 1.0
X-OriginalArrivalTime 25 Oct 2012 13:47:27.0886 (UTC) FILETIME=[458732E0:01CDB2B7]
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.2842.1351172918.27098.python-list@python.org> (permalink)
Lines 52
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1351172918 news.xs4all.nl 6971 [2001:888:2000:d::a6]:54146
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:32125

Show key headers only | View raw


Web content caching is the most effective type of cache. This way your python handler is not executed to determine a valid response to user, instead one returned from cache. Since the operation is that simple, it should be the maximum possible speed your `real world` application capable to provide.

The web content caching benchmark is provided for two types of caching: memory and distributed. There is payed attention how gzip transform impact throughput of cached content. Read more here:

http://mindref.blogspot.com/2012/10/python-web-caching-benchmark.html

Your ability to utilize managed (semi-real time) caching is essential to be able run your `real world` at the speed of `hello world`. Read more here:

http://packages.python.org/wheezy.http/userguide.html#content-cache
http://packages.python.org/wheezy.web/tutorial.html

Compare throughput with numbers from the other post:

http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html

Comments or suggestions are welcome.

Thanks.

Andriy Kornatskyy

----------------------------------------
> From: andriy.kornatskyy@live.com
> To: python-list@python.org
> Subject: Fastest web framework
> Date: Sun, 23 Sep 2012 12:19:16 +0300
>
>
> 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.
>
> Thanks.
>
> Andriy Kornatskyy
>
> --
> http://mail.python.org/mailman/listinfo/python-list
 		 	   		  

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


Thread

RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-25 16:47 +0300

csiph-web