mod_python performs several magnitudes slower than PHP?

Graham Dumpleton Graham.Dumpleton at gmail.com
Mon May 21 04:26:56 EDT 2007


On May 21, 5:51 pm, Winfried Tilanus <no_s... at tilanus.com> wrote:
> On 05/20/2007 Graham Dumpleton wrote:
>
> Hi,
>
> > A more suitable example for comparison would have been:
>
> And are there any benchmarks with this new version available? Just
> curious...

Unless someone else posts that specific example comparing it to PHP on
the same system, then you might instead look at:

  http://www.modpython.org/pipermail/mod_python/2007-May/023654.html

This shows the original posters Python example compared to another way
of doing it, not what I posted, which would be even quicker, ie.,
using Python itself to do the buffering.

Do note that such benchmarks are pretty meaningless as you will never
achieve such throughputs once you actually load on top your Django,
TurboGears, Pylons or other mega web framework application. Such
applications are huge and carry a lot of overhead which dwarfs any
overhead of mod_python itself.

Graham




More information about the Python-list mailing list