Forum OpenACS Development: Virtual OpenACS hosting ?

Collapse
Posted by Malte Sussdorff on
Quick question. What method would you use, to provide hosting of
OpenACS4?

More specific, if you have 20 people interested in OpenACS hosting,
would you install 20 instances of OpenACS, each with a seperate
database and the like, or would you install 20 subcommunities in one
OpenACS instance.

Collapse
Posted by Malte Sussdorff on
It should read, 20 instances of OpenACS, each with a seperate database USER. Furthermore, is it possible to divert IP-Adresses and domain names to different subcommunities (e.g. www.sussdorff.org would resolve to hosting.net/sussdorff and sussdorff.org/bboard to hosting.net/bboard/sussdorff).
Collapse
Posted by Don Baccus on
If you install 20 subcommunities in one OpenACS instance, a clumsy or malicious person working on one subcommunity could destroy the other 19 from PSQL or SQL*Plus.

So for security reasons alone, installing 20 separate instances under 20 different database users would make the most sense if you're talking about hosting 20 people who don't know and trust each other.

You're asking an implicit performance question, too.  I don't know that answer to that but I'm interested in it.

Collapse
Posted by Jerry Asher on
I can't answer the performance characteristics completely, but I think you have a couple of options (or questions to ask).

A. You can install, I gather, 20 subcommunities within one OpenACS instance.

B. You can install 20 ACS installations all using the same instance of AOLserver.

C. You can install 20 ACS installations, each using a different AOLserver instance, and use nsvhr or Apache or SQUID to multiplex port 80.

Will all these guys be on exactly the same version of OpenACS and be sharing the same customized modules?  If so, that's solution A or B.

Or will these folks need different tcl libraries?  That's C (or B using AOLserver 4).

Will all the sites be upgrating/evolving at the same rates?  A or B.

Do you want to guarantee db isolation?  C.

Would you prefer that all your communities die at the same time should an AOLserver bug crop up?  A or B.

Or would you prefer that one community die with one AOLserver at a time?  C.

When the 21st dude shows up, are you willing to stop all the other 20 websites to bring up the 21st?  A or B.  Do you want the other 20 to be relatively independent? C.

When the 26th site comes along, and you find your 2G box crawling along, would you prefer having had a solution all along that lets you clone the box and move sites 13-26 to the new box, or would you prefer just starting with a new box and site 26, giving you one box with 25 sites and one box with site 26?  That's C, or (A or B) depending on your choices.