RE: [Zope] Performance of webserver?
YMMV: I've been working on benchmarking myself (freebsd/apache/pcgi/zope) and noticed this: ./start script uses the -D option. I was noting rather high CPU usage. I shut down Zope and restarted it with python z2.py -p/path/to/Zope.cgi and got better results. This allows the python process to detach from the terminal, since -D is debugging mode. While many benchmarking stats are meaningless, I can support Amos' basic contention that zerver is about 4x faster that apache/pcgi/zerver.
-----Original Message----- From: Andreas Kostyrka [mailto:andreas@mtg.co.at] Sent: Tuesday, August 31, 1999 3:10 PM To: zope@zope.org Cc: Zope-l Subject: Re: [Zope] Performance of webserver?
On Tue, 31 Aug 1999, Itamar Shtull-Trauring wrote:
Christopher Petrilli wrote:
Performance on a "mid size" Linux box would be 35-50 hits/second (which translates to 3.8M hits/day).
Is this using ZServer or PCGI via Apache? Well, I just benchmarked a simple Zope page (http://www.mtg.co.at/) locally. (Simple is relative, it does have an tree tag on it.) The hardware: K6-III/400, enough RAM to keep the whole thing in RAM, IDE discs.
The software: ZOPE 2.0.0b6 configured with pcgi-wrapper/pcgi-publisher.py Apache 1.3.9 (mod_ssl 2.40) RedHat Linux 6.0 ab (Apache Benchmark tool)
I did some tries with different concurrency, and it seems like it does not have any effects on the results. Well, with a higher concurrency, the average time needed per request increases. Well, pcgi serializes all requests.
In fact, I just scored 15-16 requests per second, but the python process never reached more than 69% CPU utilization (probably the serialization stuff). 46KB/s.
For comparision, a simple static page (actually the "please wait, we are updating our server" page you find on most of our hosted domains at the moment), gets 540 requests per second with 950KB/s transfer rate.
Andreas -- Andreas Kostyrka | andreas@mtg.co.at phone: +43/1/7070750 | phone: +43/676/4091256 MTG Handelsges.m.b.H. | fax: +43/1/7065299 Raiffeisenstr. 16/9 | 2320 Zwoelfaxing AUSTRIA
_______________________________________________ Zope maillist - Zope@zope.org http://www.zope.org/mailman/listinfo/zope
(To receive general Zope announcements, see: http://www.zope.org/mailman/listinfo/zope-announce
For developer-specific issues, zope-dev@zope.org - http://www.zope.org/mailman/listinfo/zope-dev )
I have a somewhat different question about ZServer performance vs. Apache/pcgi. Under 1.10.3, it seems that clients can bog down or even bring down the Zope server (the deprecated old one, not ZServer). A client with a slow connection will hold the server's attention until they've managed to load a whole page, and if you break the connection (by pushing Stop or clicking a link on a partially loaded page) the server dies of a broken pipe. Apache/pcgi improves reliability hugely, by locally buffering Zope's output and shielding it from connection issues. I realize that ZServer is *far* more robust, with it's threaded Medusa base, but is it as completely free of connection-related problems as an Apache/pcgi/ZServer setup? Evan "4am" Simpson
participants (2)
-
Evan Simpson -
Thaxter, Jason M.