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


Groups > comp.lang.python > #31415

Re: Fastest web framework

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.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 <demianbrecht@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.008
X-Spam-Evidence '*H*': 0.98; '*S*': 0.00; 'cache': 0.05; '*not*': 0.07; 'used.': 0.07; 'cached': 0.09; 'construed': 0.09; 'supported.': 0.09; 'cc:addr:python-list': 0.10; 'django': 0.10; 'times,': 0.13; 'slightly': 0.15; '"hello': 0.16; 'backward': 0.16; 'caching': 0.16; 'deprecate': 0.16; 'deprecated.': 0.16; 'did).': 0.16; 'hard-coded': 0.16; 'personally,': 0.16; 'pressed': 0.16; 'typo': 0.16; 'url:packages': 0.16; 'wording': 0.16; 'wrote:': 0.17; 'usability': 0.17; 'solution.': 0.18; '(not': 0.20; 'mostly': 0.20; 'driven': 0.22; 'minor': 0.22; "i'd": 0.22; 'cc:2**0': 0.23; 'example': 0.23; 'solutions.': 0.23; 'statement': 0.23; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'am,': 0.27; "doesn't": 0.28; 'initial': 0.28; 'app.': 0.29; 'context,': 0.29; 'framework': 0.30; 'point': 0.31; 'url:python': 0.32; 'generally': 0.32; 'not.': 0.32; 'received:209.85.160.46': 0.32; 'asked': 0.33; 'another': 0.33; 'received:google.com': 0.34; 'project': 0.34; 'list': 0.35; 'decisions': 0.35; 'received:209.85': 0.35; 'something': 0.35; 'there': 0.35; 'but': 0.36; 'message- id:@gmail.com': 0.36; 'url:org': 0.36; "wasn't": 0.36; 'should': 0.36; 'being': 0.37; 'why': 0.37; 'item': 0.37; 'received:209': 0.37; 'subject:: ': 0.38; 'comment': 0.38; 'header:Received:5': 0.40; 'think': 0.40; 'your': 0.60; 'easy': 0.60; 'skip:u 10': 0.60; 'matter': 0.61; 'first': 0.61; 'worth': 0.63; 'details': 0.63; 'other.': 0.64; 'here': 0.65; 'due': 0.66; 'fact,': 0.69; 'lack': 0.71; 'felt': 0.75; 'url:http': 0.79; 'introduce': 0.80; 'heavy': 0.83; 'more:': 0.84; 'to:addr:live.com': 0.84; 'wish.': 0.84; 'fight': 0.97; 'charset:windows-1251': 0.97
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=C7Xpvbi8mdsv7jMzhqChh+8GSK8shZaYDN6+qb4PfaA=; b=Hr+KLmcIhOUdEU8mPpJdb1a2bhn+wgHY6avadWbeTMz8+P78a0G9tS6vICCwxjJG9c uuWVcU5Hm3maiCUOmPUXfWF0dwwg8Ng7v5FmlHBzQsMk8spFhpqibJc01dY+TqElfZ4N rpnolO9iP2kw5e7FhDnhO2wH4QnagjOKEqiiNupCKOsVg5N29erw4DGfKEEP641UFkGz ycW0GKC+l+xKJ4AVeRc13z8xiGrGg+3UK6TkVdEL7Tuf7Oh2MO5ZjX5HRM6vBVyasw8D KjD8oHB7WzzzaVRp6UIaj/oqcwW+5vvVy6fSA5bgR3iwPL89uwP5zG0PxqXjcoGCAUE8 pf0w==
Date Tue, 16 Oct 2012 09:07:14 -0700
From Demian Brecht <demianbrecht@gmail.com>
User-Agent Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1
MIME-Version 1.0
To Andriy Kornatskyy <andriy.kornatskyy@live.com>
Subject Re: Fastest web framework
References <CAE+T62Z7mbRcuhnWJcYQCL5SOQDQou8o6SSR7Hkx+KRj8eyBEg@mail.gmail.com> <DUB117-W27EF5EE49EA42A6CE186E791700@phx.gbl>
In-Reply-To <DUB117-W27EF5EE49EA42A6CE186E791700@phx.gbl>
Content-Type text/plain; charset=windows-1251; format=flowed
Content-Transfer-Encoding 7bit
Cc "python-list@python.org" <python-list@python.org>
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.2288.1350403640.27098.python-list@python.org> (permalink)
Lines 45
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350403640 news.xs4all.nl 6878 [2001:888:2000:d::a6]:52974
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31415

Show key headers only | View raw


On 10/16/2012 7:47 AM, Andriy Kornatskyy wrote:
I think that my first batch of questions were slightly out of context, 
mostly due to a lack of caffeine first thing in the morning. My 
understanding at the time was that your "an answer to effectivity" was, 
in fact, a list of highlights for wheezy.web (which is why I asked the 
questions I did). Having said that..

 > The initial decisions taken while building a project might be wrong. 
Due to continues backward compatibility, you can not change them even 
you wish.

You can always deprecate old functionality in favor of new solutions. 
I'd be hard pressed to find a reason to find a reason why something 
*can't* be deprecated. It may not be easy at times, but it should always 
be doable.

 > That glue is usability case: recommendation how to use it with one or 
the other.

As long as your framework doesn't require you to fight with it in order 
to use another solution. One of my early gripes with Django for example 
(ages ago) was that it felt like I had to fight the framework in order 
to introduce functionality that wasn't natively supported.

 > For you, personally, let me point this again. N.P.
 >
 > Here is how: use content caching with cache dependency. Read more:
 > http://packages.python.org/wheezy.http/userguide.html#content-cache

It doesn't matter if you're using cached content or not. It will *not* 
be as fast as a hard-coded, simple response (not that a static, 
hard-coded response is the way to go obviously). I don't think I have to 
get into the details about I/O. My point is simply that the statement 
that a database driven site (cached content or not), *can not* be as 
fast as a "hello world" app. My comment may be construed as being 
nit-picky, but I thought it was worth calling out due to the 
matter-of-fact wording that you used.

On a somewhat unrelated note, I caught a minor typo in the content-cache 
docs:

"Since there is no heavy processing and just simple operation to get an 
item from cache it should be supper fast"

I don't know about you, but my supper generally isn't fast ;)

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


Thread

RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-15 16:39 +0300
  Re: Fastest web framework alex23 <wuwei23@gmail.com> - 2012-10-15 18:26 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 14:49 +0300
    Re: Fastest web framework Demian Brecht <demianbrecht@gmail.com> - 2012-10-16 07:08 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 17:47 +0300
    Re: Fastest web framework Demian Brecht <demianbrecht@gmail.com> - 2012-10-16 09:07 -0700
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-16 19:35 +0300
    RE: Fastest web framework Andriy Kornatskyy <andriy.kornatskyy@live.com> - 2012-10-26 13:53 +0300

csiph-web