On Wed, Jan 08, 2003 at 10:17:12AM +0900, Tom Sawyer wrote:
 TS> i've run into a couple of spots where it would be nice to have a
 TS> universally accessabe cgi instance,

Hm, can you explan where/how this can be useful? In Samizdat, I cache db
connection and parsed yaml config in singleton classes, and it gives me
great speed-up, too, but I don't see what CGI caching can add?

 TS> but i do not know if this is safe, especially considering that
 TS> mod_ruby can persist globals across requests.

The question is, does it persist globals (or singleton classes) across
apache processes, i.e. across parallel connections possibly from
different clients?

I also have another second thought that I didn't have time to play with
yet: there are other Ruby/CGI implementations beside mod_ruby, is it a
good idea to depend on mod_ruby behaviour, or is it worth developing
cross-implementation web application?

-- 
Dmitry Borodaenko