[Zope] Zope fine tuning HOW-TO / Zope Performance

Itamar Shtull-Trauring itamars@ibm.net
Sun, 16 Apr 2000 11:42:44 +0300


"Felipe E. Barousse" wrote:

> 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.

Switching to FastCGI/whatever and tuning the webserver should be the last
thing you do.

To speed things up:

1. Do the kind of optimization you'd do in any programming environment. 
E.g. move repeated calculations out of loops, etc..

2. Rewrite key sections of your DTML in Python should help.

3. Add caching of results.  Sending prerendered data is 5-10 times faster
than sending the DTML that generates the data.  This is an especially good
idea if you're dealing with structured text.

4. Add HTTP caching headers so your pages get called less.

-- 
Itamar S.T.  itamars@ibm.net