[Zope] Zope is very slow!

ethan mindlace fremen mindlace@digicool.com
Mon, 21 Aug 2000 15:37:34 -0400


Christiano Anderson wrote:

> Do you have any example of the best Apache and ProxyCache configuration to
> running zope?
> 
> My configuration looks like this:
> 
> <IfModule mod_proxy.c>
> ProxyRequests On
> #ProxyReceiveBufferSize 65536
> ProxyReceiveBufferSize 0
> CacheRoot "/www/proxycache"
> CacheSize 5000
> CacheGcInterval 1
> CacheMaxExpire 48
> CacheLastModifiedFactor 0.1
> CacheDefaultExpire 5
> ProxyPass /paginas/ http://200.xxx.xxx.xxx:8080/
> ProxyPass /p_/ http://200.xxx.xxx.xxx:8080/p_/
> ProxyPass /misc_/ http://200.xxx.xxx.xxx:8080/misc_/
> ProxyPassReverse /paginas/ http://200.xxx.xxx.xxx:8080/
> ProxyPassReverse /p_/ http://200.xxx.xxx.xxx:8080/p_/
> ProxyPassReverse /misc_/ http://200.xxx.xxx.xxx:8080/misc_/


afaik this is far larger than you need.  First, i've started using
rewrite rules as i find it far more flexible.  For Zope.org, in lieu of
ProxyPass & ProxyPassReverse I just use:

RewriteRule / http://www.zope.org:xxxx [L,P]

If you've got the SiteAccess set up correctly (i.e. it reads
http://xxx.xxx.xxx/paginas/ ) then you should have no problems.

ProxyPassReverse is, as far as I can discern from the apache docs,
completely superfluous for Zope.

Hope that helps,
-- 
ethan mindlace fremen
Zopatista Community Liason
Abnegate I!