dbi_threads_db_connection_pooling

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



To: Gerald Richter <richter@ecos.de>
From: Tim Bunce <Tim.Bunce@ig.co.uk>
Subject: Re: Connection Pooling
Date: Tue, 30 Jan 2001 10:45:33 +0000

On Tue, Jan 30, 2001 at 06:49:46AM +0100, Gerald Richter wrote:
> 
> A better solution would be by using threads, because then you were able to
> maintain different pools of database connections within one process. From my
> point of view, this is also the only way how a DBD::Pool like Jochen suggest
> could work.
> 
> But, as far as I see, neither DBI (or all DBD's) nor Perl is really ready
> for threads (correct me if I am wrong) yet. That's the reason why I have
> build the preforked solution, because it works now!

Threads in perl are broken (fundamentally unsafe) and will continue to be
so for the foreseeable future. No one should use them in production code.

===

the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu