in reply to Re: Answer: What is true database connection pooling and can it be done with Perl?
in thread What is true database connection pooling and can it be done with Perl?

One thing you should have in mind is DBI is not thread safe! So, working with 'pure' DBI + threads is a dangerous way because the treatment of this thing will be stay by your own. And believe me! This a very boring task!

If you're using( or want to use ) some database abstraction, you can search for DBIx::Class namespace. There are various pooling solutions. Google refs

But if you don't want to use database abstractions, I recommend for you AnyEvent::DBI and/or AnyEvent::Tools CPAN refs .

Cheers!

  • Comment on Re^2: Answer: What is true database connection pooling and can it be done with Perl?