[Zope] Re: Zope performance ?

Paul Everitt paul@digicool.com
Thu, 25 Feb 1999 06:49:34 -0500


"M.-A. Lemburg" wrote:
> 
> With all this hype about Zope being high performance, I was wondering:
> how well does Zope perform in hits/second using an average setup, e.g.
> Apache, P266, Linux ?
>
> As reference I'd suggest using a page with some dynamic HTML
> generation not too far down the site's path.

I've never been too good at test methodologies.  There are so many
things to take into account: interference of the client, interference of
the network, getting enough clients involved, etc.

Just for grins I logged into the zope.org site which is a PII-350,
RedHat 5.1, and Apache.  I ran a little Python script that requested a
URL ten times in a row and measured the elapsed time.  The URL was two
hops into the site and is pretty dynamic (standard header/footer,
sidebar menu computed from a Folder property, etc.).

The elapsed time for ten requests was 1.3-1.4 seconds.  This included
connecting to Apache, which forked/fired up PCGI, which connected to
Zope, which ran the requests and sent data back to PCGI, which read it
off the domain socket and returned it to Apache, which returned it to my
Python script.

Just for grins I fired up a ZServer (Zope woven tightly with Medusa, no
Apache).  The elapsed time for ten requests dropped to 0.7 seconds!

I'm just as surprised as the next guy by that.  *If* it's true, it
probably means that a mod_pcgi Apache module, or a switch to
mod_fastcgi, is in the future.

I did a test a while ago of our full-text search speed.  On my laptop --
P166, 64 Mb, NT 4 -- I loaded a 24 Mb, 27,000 record copy of the
Internet movie database into a Z Table (Tabula).  I did a search that
combined a keyword, year, and full-text searchterm (actor AND actress
AND star).  The search came back in under a second, formatting the first
20 of around a thousand matches.

Anyway, none of these tests are rigorous.

--Paul