webserver performance (was Re: Why so few Python jobs? (and licenses))

Paul Rubin phr-n2001d at nightsong.com
Fri Oct 12 12:02:46 EDT 2001


"Alex Martelli" <aleax at aleax.it> writes:
> > These programs are all way too slow for a high-traffic site on the
> > hardware we used back then.  Even with today's hardware, it would be
> 
> Have you actually _measured_ the performance and scalability of a web
> server architecture based on asyncore/asynchat, versus more traditional
> architectures based on multiple processes and/or multiple threads?  I
> haven't done it systematically at all, but the few informal attempts
> I did do have consistently amazed me.  Event-driven programming seems
> to have extremely interesting characteristics in this sense.

Take a look at the benchmarks for thttpd and other servers, at
www.acme.com, if you're interested in that question.  I haven't
personally done measurements but Jef's look right to me.  We played
with the Java web server and it was dog slow.



More information about the Python-list mailing list