Massyn has asked for the wisdom of the Perl Monks concerning the following question:
#!/fellow/monks.pl
I'm spending a lot of time with mySQL, Oracle, and DBI. You'll probably notice that from most of the questions I ask.
I'm busy with a web based system, which currently works fine with CGI, however, for performance sake, I'd like to use mod_perl, which is my next step. I got mod_perl installed, compiled and running on my Mandrake 9.1 box with Apache 1.3.27.
Now to the question : It was said that database connections and authentications are very expensive in terms of performance. To solve the problem, you need to make a persistent connection within mod_perl. I'm very new to mod_perl, so I'd like to have some info on particularly the persistent DBI connections.
I had a look on http://perl.apache.org, but I didn't see anything about persistent connections.
If any of you could point me to some doco's, that will be a great help.
Cheers!
#!/massyn.pl
Don't -- me without telling me why. If you asked a stupid question, I wouldn't down vote you.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Persistent DBI connection with mySQL
by PodMaster (Abbot) on Jul 18, 2003 at 10:49 UTC | |
|
Re: Persistent DBI connection with mySQL
by Massyn (Hermit) on Jul 18, 2003 at 10:50 UTC | |
|
Re: Persistent DBI connection with mySQL
by dga (Hermit) on Jul 18, 2003 at 15:26 UTC | |
|
Re: Persistent DBI connection with mySQL
by antirice (Priest) on Jul 18, 2003 at 10:48 UTC | |
by PodMaster (Abbot) on Jul 18, 2003 at 10:52 UTC |