Today around 1:39pm, Tarak Parekh hammered out this masterpiece:

: Hello, 

Hi.

: I am trying to create a connection pool for a perl script. A pool which would
: hold open connections (lets say 100) to a database or a webserver and reuse
: them to make this efficient. Common problem. I would like to know what would
: be a good way to do this ?

use mod_perl and Apache::DBI.  You can have a pool of connections waiting around
for you to use them.

: I looked a little into mod_perl and also into using one of the Shareable or
: ShareLite modules.  Would anyone have any suggestions on this as to what would
: be a better choice ?

mod_perl

Grab the book _Writing Apache Modules in Perl and C_  It's invaluable.

-- 
print(join(' ', qw(Casey R. Tweten)));my $sig={mail=>'[EMAIL PROTECTED]',site=>
'http://home.kiski.net/~crt'};print "\n",'.'x(length($sig->{site})+6),"\n";
print map{$_.': '.$sig->{$_}."\n"}sort{$sig->{$a}cmp$sig->{$b}}keys%{$sig};
my $VERSION = '0.01'; #'patched' by Jerrad Pierce <belg4mit at MIT dot EDU>

Reply via email to