Prev: a huge shared read-only data in parallel accesses -- How? multithreading? multiprocessing?
Next: Parsing json where object keys are not quoted?
From: Antoine Pitrou on 26 Dec 2009 12:40
Le Fri, 25 Dec 2009 10:38:19 -0800, Aahz a écrit :
> In article <mailman.1720.1260539582.2873.python-list(a)python.org>,
> Antoine Pitrou <solipsis(a)pitrou.net> wrote:
>>Apparently you have debugged your speed issue so I suppose you don't
>>have performance problems anymore. Do note, however, that Python is
>>generally not as fast as C -- especially for low-level stuff -- and a
>>Python Web server will probably serve around 10x less requests per
>>second than a C Web server like Apache (this will still give you
>>hundreds of simple requests per second on a modern machine).
> For static pages or dynamic pages? Once you get into dynamic pages, I
> sincerely doubt that the smaller Apache overhead makes lots of
For static pages. Yes, I guess the difference for dynamic pages would
indeed be quite small. Especially if database activity is also involved.
From: python on 27 Dec 2009 09:08
> This is a new wsgi web server implemented in a single file.
Thank you Massimo.