[Zope] Zope Performance Methodology?

Michel Pelletier michel@digicool.com
Wed, 8 Dec 1999 10:56:48 -0500


> -----Original Message-----
> From: Michael A. Alderete [mailto:alderete@be.com]
> Sent: Tuesday, December 07, 1999 9:00 PM
> To: zope@zope.org
> Subject: [Zope] Zope Performance Methodology?
> 
> 
>   - Do multiple processors help?

A little.  Python's interpreter has a global lock that all threads
share, so all python code per Zope process is serialized.  However, a
lot of the underlying C code will release the python lock, for example,
the oracle api calls in DCOracle free the lock so that Zope (or some
other thread) can continue to work while the oracle call completes, so
in these special cases another processor helps (and, of course,
everything on your system at the processor level will benefit, but Zope
won't benefit as much).

>   - How much RAM?

That depends directly on what kind of performance you want.  The bigger
you can let your object cache get, the faster Zope will serve content.
This doesn't matter much if your site only has a few objects, but for
huge sites with lots and lots and lots of objects (like the Zope site
162,096) a big cache is a big win.

-Michel