[Zope] Large virtual hosting solution

Dieter Maurer dieter@handshake.de
Wed, 11 Jun 2003 20:50:38 +0200

Eron Lloyd wrote at 2003-6-10 17:19 -0400:
 > ...
 > I'm in the process of developing a massive state-wide solution using Zope. I 
 > have almost 70 organizations with the same Web application needs, and was 
 > thinking about using one Zope machine to do virtual hosting to each of the 
 > individual accounts. Each account would be an instance of a custom product 
 > I'm working on (and will release the source once I'm done if anyone is 
 > interested), which will have to be customized to each group. All instances 
 > would have their own subdomains, and could map to a top level domain if they 
 > choose. Much of the back-end will rely on MySQL, with a database for each 
 > instance. Is it possible to develop a product like this in such a way that I 
 > can globally update the product code and have each instance get those 
 > changes?

Yes. We do something similar.

You must watch out for the file descriptor limit.
Most DAs are very file descriptor hungry (usually: one file descriptor
per worker thread per DA instance). Many Unix versions have a
limit of 1024 file descriptors per process.

 > I've never attempted anything of this scale before...I imagine I'd 
 > need to produce a Web farm of ZEO clusters and sit it behind Squid or Pound 
 > as well.
We use something similar.