Re: [Zope] Performance of webserver?
Hi,
One of the last questions for now, I'd like to know the answer for is:
What is the performance of the webserver in Zope 2? I'd like to compare to Apache on Linux (our Zope will be running on one of these).
Some nebulous number that I can invent for your statistical pleasure. Quite honestly you've asked a question which has no answer. Zope2 is slower. But not if you compare CGI v. Zope. Zope2 is a 100% dynamic page generation situation, whereas Apache is only serving static pages. So if you're site is 100% static, use Apache, but as it gets more dynamic, I think you'll find Zope2 to be faster and faster. Performance on a "mid size" Linux box would be 35-50 hits/second (which translates to 3.8M hits/day).
Can the webserver be used in productionenvironment? How much load can it take compared to Apache before I need to upgrade hw? The same? Half? Double?
Do you understand the unanswerable nature of your question? The only benchmark that matters is your own application. Chris -- | Christopher Petrilli Python Powered Digital Creations, Inc. | petrilli@digicool.com http://www.digicool.com
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? -- Itamar - itamars@ibm.net ---------------------------o----------------------------------------------o Perl/Gimp Greeting Cards | Trust? Ha! The US dollar is backed by ICBMs! | http://www.sealingwax.com | --Anonymous Coward, Slashdot |
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
participants (3)
-
Andreas Kostyrka -
Christopher Petrilli -
Itamar Shtull-Trauring