[Zope] Zope fine tuning HOW-TO / Zope Performance
J. Atwood
Jatwood@bwanazulia.com
Mon, 17 Apr 2000 08:50:01 -0400
I used ApacheBench which is part of the default installation of Apache. It
is usually in /usr/sbin/ and is called "ab". The instructions are pretty
basic but you generally use the command:
/usr/bin/ab -c 25 -n 100 http://www.youzopesite.com
-c 25 is the concurrency level
-n 100 is the times.
So this would hit the server 100 times at a 25 concurrency level.
I ran tests of 25 / 100, 100 /100, 25/1000, 100/1000
I ran tests against just a DTML Document (static), a more complex one, pages
with one, two, three SQL calls. I also ran it against pages where I repeated
the same DTML over and over again (1, 2, 3, 10 times). I also tried
referencing images via <dtml-var image>, <img src=""> and finally by hosting
the images off of Apache and referencing them with <img src="http://...">.
Also increased and decreased the cache on SQL Methods as well as tried to
flush the Zope cache.
I also ran it against the same pages, images on an Apache installation on
the same box.
That is a good place to start. I have all of my results in a big word
document that I will publish at some point, probably after repeating all of
the tests.
J
> From: "kdie" <kedai@kedai.com.my>
> Date: Sat, 15 Apr 2000 15:48:37 +0800
> To: "J. Atwood" <Jatwood@bwanazulia.com>
> Cc: <zope@zope.org>
> Subject: Re: [Zope] Zope fine tuning HOW-TO / Zope Performance
>
>
> -----Original Message-----
> From: J. Atwood <Jatwood@bwanazulia.com>
> To: kdie@nstp.com.my <kdie@nstp.com.my>
> Date: Saturday, April 15, 2000 3:16 PM
> Subject: Re: [Zope] Zope fine tuning HOW-TO / Zope Performance
>
>
>> This is definitely something I am interested in.
>>
>> I have used AB and done a lot of testing on my Zope installation (Pentium
>> 300 MHz, 256 MB Ram, RH 6.1, PostgreSQL) and have found some interesting
>> facts and figures. I have them all in one big word document that I am
>> working on making into a Zope.org document. What would be nice is some
> other
>> servers, configurations to see if some of my test results hold up.
>>
>> I ran about 20 tests but was mainly looking at the Database side of things.
>>
>
> if you can give out what you did(the methods, test scripts, etc), i'd like
> to test it on my setup and give you the results. we haven't started to use
> database, but will be soon, like next month or so!
>
> so it'd be best to test it before releasing it.
> .
>> J
>>
>>
>>> Hi all:
>>>
>>> We are relatively new to Zope. I have found problems related to
> performance
>>> issues. Even though it is
>>> known that Apache alone is much faster than Zope, and when migrating
> (even
>>> static pages) to Zope a
>>> performance degradation may be expected, the differentials we are getting
> are
>>> very significant. Forget
>>> it when we add the dynamic parts.
>>>
>>> My question is: Has anyone seen a Zope fine tuning guideline. ? It
> would be
>>> interesting to have
>>> something like a cookbook on Tuning Zope and the overall web serving
>>> environment for specific cases.
>>>
>>> I am using RH Linux 6.1, Zope, PostgreSQL...all latest versions. As of
>>> hardware, at the minimum we have
>>> Pentium III, 128 MB RAM. As of now, very few hits but slow response
> though.
>>>
>>> Also, any names (URLs) of high traffic sites that are currently running
> Zope
>>> and serving dynamic
>>> content would be appreciated.
>>>
>>> Thanks
>>>
>>> Felipe
>>>
>>>
>>
>>
>> _______________________________________________
>> Zope maillist - Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> ** No cross posts or HTML encoding! **
>> (Related lists -
>> http://lists.zope.org/mailman/listinfo/zope-announce
>> http://lists.zope.org/mailman/listinfo/zope-dev )
>
>
> _______________________________________________
> Zope maillist - Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> ** No cross posts or HTML encoding! **
> (Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )