You can always apply caching to results returned from database... so you get back to your web framework / template engine, etc. The question is how much particular framework adds to serve a simple thing...
The only thing I found nginx burst the application performance is by using keep-alive... that I am missing in uWSGI (of cause static files from from nginx / CDN is always a good idea). Another benchmark related to template engines is here (trivial big table example plus real world application): http://mindref.blogspot.com/2012/07/python-fastest-template.html P.S. I am planning contrast uWSGI/CPython2.7 vs Gunicorn/PyPy (can not get uWSGI running on PyPy) somewhere later. Thanks. Andriy Kornatskyy ---------------------------------------- > Date: Tue, 18 Sep 2012 14:41:37 +0200 > From: [email protected] > To: [email protected] > Subject: Re: [uWSGI] Trivial Benchmark of Python Web Frameworks in uWSGI > > I understand that the test "hello world" is such a stencil base, the > starting point. But is not it better to do a decent test, for example > a query to a database and display 10 results. Then soon it turns out > that the results are significantly different. > > > For this test, I would add the served from nginx a static page with options: > > open_file_cache max = 1000 inactive = 50s; > open_file_cache_valid 60s; > > As a model serving from RAM. > > > > > > > 2012/9/18 Andriy Kornatskyy <[email protected]>: > > > > 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... you might > > find it interesting: > > > > http://mindref.blogspot.com/2012/09/python-fastest-web-framework.html > > > > Comments or suggestions are welcome. > > > > Thanks. > > > > Andriy Kornatskyy > > > -- > Łukasz Wróblewski > http://www.nri.pl/ - Nowoczesne Rozwiązania Internetowe > http://www.hostowisko.pl/ - Profesjonalny i tani hosting > http://www.katalog-polskich-firm.pl/ - Najlepszy darmowy katalog firm > _______________________________________________ > uWSGI mailing list > [email protected] > http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi _______________________________________________ uWSGI mailing list [email protected] http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi
