[Zope] ADVICE needed: multi-site Zope installations, PCGI and ZServer

Doug Hellmann hellmann@GNNcast.net
Tue, 14 Sep 1999 18:03:05 +0000


Tony McDonald wrote:
> 
> 5) If I understand it correctly, if I use Apache to manage the
> virtual servers I *have* to use PCGI rather than ZServer. PCGI is
> approximately 4 times slower than ZServer (this from a Jason Thaxter
> email of 1/9/99)
> "While many benchmarking stats are meaningless, I can support Amos' basic
> contention that zerver is about 4x faster that apache/pcgi/zerver."

It is possible to run ZServer behind Apache.  Take a look at the
WEBSERVER.txt file in the docs directory of the source distribution. 
Essentially, you run z2.py with an argument telling it where the PCGI
file is.  If you configure Apache and ZServer to use the same PCGI
config file, it works fine.  And it is *MUCH* faster than PCGI since you
get multithreading.

Doug