Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #29845
| Path | csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.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.028 |
| X-Spam-Evidence | '*H*': 0.94; '*S*': 0.00; 'cache': 0.05; 'dependency': 0.07; 'exceptions,': 0.09; 'sep': 0.09; "wouldn't": 0.11; 'static': 0.13; 'cause.': 0.16; 'parts,': 0.16; 'renders': 0.16; 'url:packages': 0.16; 'stefan': 0.17; 'skip:- 40': 0.21; 'thanks.': 0.21; 'split': 0.23; 'task': 0.23; 'to:2**1': 0.23; '(this': 0.24; 'least': 0.25; 'header:In-Reply-To:1': 0.25; 'pages,': 0.27; 'date:': 0.29; 'url:mailman': 0.29; 'e.g.': 0.30; 'framework': 0.30; 'you?': 0.32; 'url:python': 0.32; 'to:no real name:2**1': 0.32; 'url:listinfo': 0.32; 'from:addr:live.com': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'list': 0.35; 'fastest': 0.35; 'there': 0.35; 'next': 0.35; 'really': 0.36; '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; 'page': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'application': 0.40; 'url:mail': 0.40; 'your': 0.60; 'easy': 0.60; 'further': 0.61; 'lower': 0.61; 'first': 0.61; 'here:': 0.62; 'email name:python- list': 0.62; 'serving': 0.66; 'url:http': 0.79; 'charset:windows-1251': 0.97 |
| X-Originating-IP | [213.130.16.2] |
| From | Andriy Kornatskyy <andriy.kornatskyy@live.com> |
| To | <stefan_ml@behnel.de>, <python-list@python.org> |
| Subject | RE: Fastest web framework |
| Date | Sun, 23 Sep 2012 21:41:10 +0300 |
| Importance | Normal |
| In-Reply-To | <k3ni0r$usb$1@ger.gmane.org> |
| References | <k3ni0r$usb$1@ger.gmane.org> |
| Content-Type | text/plain; charset="windows-1251" |
| Content-Transfer-Encoding | quoted-printable |
| MIME-Version | 1.0 |
| X-OriginalArrivalTime | 23 Sep 2012 18:41:10.0732 (UTC) FILETIME=[005818C0:01CD99BB] |
| 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.1144.1348425738.27098.python-list@python.org> (permalink) |
| Lines | 44 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1348425738 news.xs4all.nl 6986 [2001:888:2000:d::a6]:33542 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:29845 |
Show key headers only | View raw
The problem is that easy if you have a complete control over what you are caching. Complete control over cache may look a challenging task however with use of cache dependency you can lower it significantly. Take a look here: http://packages.python.org/wheezy.caching/userguide.html#cachedependency If you have a willing to go even further consider take a look at content caching: http://packages.python.org/wheezy.http/userguide.html#content-cache Serving static page out of your data is not that impossible... there are still exceptions, of cause. Thanks. Andriy ---------------------------------------- > To: python-list@python.org > From: stefan_ml@behnel.de > Subject: Re: Fastest web framework > Date: Sun, Sep 2 :::::: +0<<< > > Andriy Kornatskyy, ......2 :::::: > > 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... > > Well, if it was really that easy, you wouldn't be using a database in the > first place but static pages, would you? > > Stefan > > -- > http://mail.python.org/mailman/listinfo/python-list
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll 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