durusmail: quixote-users: RewriteRule
RewriteRule
2002-05-21
2002-05-22
2002-05-22
2002-05-22
2002-05-22
2002-05-23
2002-05-24
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
2002-05-29
RewriteRule
Neil Schemenauer
2002-05-23
On Wed, May 22, 2002 at 09:17:37AM -0600, Jonathan Corbet wrote:
> Neil asked why I'm using mod_python: mostly because I was more familiar
> with it, and because I didn't want to throw in yet another server process
> to handle every request.  I'm worried about performance.  Of course, the
> FastCGI folks say their approach is faster.  I should really do some
> testing, I guess...

I did a little bit of silly benchmarking today.  I used the /qdemo/12/
as the path (from the Quixote demo).  I used Apache 1.3.23 as the web
server and 'ab' as the client.  The same machine was used as both client
and server and it was a AMD Athlon XP 1700+ running Linux 2.4.  Here are
the results:

    ab -n 500
                Requests per second
    SCGI        396.83
    mod_python  357.91
    FastCGI     248.88


    ab -n 1000 -c 3

                Requests per second  Time per request (mean, [ms])
    SCGI        403.88               7.43
    mod_python  336.47               8.92
    FastCGI     249.69               12.02

The SCGI driver script used for the demo will be included in the next
release.

  Neil


reply