From: Kirk Haines Date: 2004-07-22T08:51:39+09:00 Subject: Re: mod_ruby or fastcgi+ruby? On Thu, 22 Jul 2004 07:47:02 +0900, Gully Foyle wrote > I think the only remaining question I have is regarding this: > > > - Interpreter is shared among all users of mod_ruby. Potential > for > namespace clashes because of this. > > I'm not quite sure I understand the nature of the namespace clash in > mod_ruby. Each seperate Apache process has its own interpreter. However, each of the different users of mod_ruby within a process share that same interpreter. So doing something has a global effect in one piece of code can affect the execution of an unrelated piece of code later. Since it sounds like you are in control of your own server, this probably isn't an issue to worry too much about. Just don't use globals much, or if you do. make sure you are careful with the names, don't modify base classes in a way in one piece of code that will break another, and generally respect each piece of code's stomping ground, and you'll be fine. Kirk Haines