Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: What if mod_perl is not an option?

by Coruscate (Sexton)
on Feb 04, 2004 at 21:54 UTC ( [id://326610]=note: print w/replies, xml ) Need Help??


in reply to Re: What if mod_perl is not an option?
in thread What if mod_perl is not an option?

Eliminating redundant database connection is a good idea with both mod_perl and CGI.

Are you suggesting that there exists a method of keeping pooled database connections from within a CGI, non-mod_perl environment? Or just saying that there should be as few (most likely one) database connection(s) per script instance?

Replies are listed 'Best First'.
Re: What if mod_perl is not an option?
by Abigail-II (Bishop) on Feb 04, 2004 at 22:22 UTC
    Or just saying that there should be as few (most likely one) database connection(s) per script instance?
    Yes.

    Abigail

Re: Re: What if mod_perl is not an option?
by borisz (Canon) on Feb 04, 2004 at 22:06 UTC
    As long, as you have the resources keep the connection to the database open. Apache::DBI does that for you.
    Boris

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326610]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-16 11:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found