From: Tom Sawyer Date: 2003-01-26T01:08:03+09:00 Subject: Re: mod_ruby: what's persistent and what's shared? > > On Thursday 23 January 2003 05:05 pm, ahoward wrote: > > > that approach also makes me queasy... why not simple make a little drb > > > conection pool? that'd be pretty trival to implement and neatly solves > > > the problem externally to the web server and individual cgi scripts? by the way, this queasy solution works fairly well as long as you have a backup for when you loose the proccess (for a new one), thus i was able to persist a database connection and a few other things with difficulty and my sped up multiple times. > > > i've actually be working on a CGI::Cache for such purposes... it would > > > be just like a session but able so contain 'live' objects, like > > > database handles. it runs as a seperate service (using DRb)? > i sure hope so, otherwise my 'production' is doomed! ;-) seriouly though, > i figure DRb is so small that any problem can be tackled with a post to > this list, now take CORBA.... true true. i wonder then. if i use DRb would i then also be able to make my app easily run on a distributed enviornment? i.e. a cluster? -- tom sawyer, aka transami transami@transami.net