On Mon, Nov 06, 2000 at 09:19:04PM -0500, Thomas A. Lowery wrote:
> On Mon, Nov 06, 2000 at 04:19:13PM +0000, Tim Bunce wrote:
> 
> > On Thu, Nov 02, 2000 at 10:10:09PM -0800, Perrin Harkins wrote:
> > > Tim Bunce wrote:
> > > > You could have a set of apache servers that are 'pure' DBI proxy servers.
> > > > That is, they POST requests containing SQL (for prepare_cached) plus
> > > > bind parameter values and return responses containing the results.
> > > > 
> > > > Basically I'm proposing that apache be used as an alternative framework for
> > > > DBI::ProxyServer. Almost all the marshaling code and higher level logic
> > > > is already in DBI::ProxyServer and DBD::Proxy. Shouldn't be too hard to do
> > > > and you'd gain in all sorts of ways.
> > > 
> > > I think this is a really good idea.  The thing is, any effort put into
> > > this kind of thing right now feels like a throw away, because mod_perl
> > > 2.0 will solve the problem in the right way with real pooling of
> > > database handles (and other objects) between threads.
> > > 
> > > Maybe it's time for DBD:: authors to start checking their code for
> > > thread safety?
> > 
> > Yeap.
> 
> How about an explaination on how to test a pure perl driver for thread safety
> and/or what types of code we need to check for or look into?

I'd hope that the Apache 2 docs would include a section on thread safety
and how to check/change old code.

Tim.

Reply via email to