Re: A reminder of why we're here...
[email protected] ("Perrin Harkins") Sun, 9 Jun 2002 14:57:14 -0400
| Newsgroups | perl.p5ee |
|---|---|
| Message-ID | <001d01c20fe7$7865e180$e089fea9@charlotte> |
> I was talking to a TA from Accenture recently about Perl, mod_perl and > Java and he told me that some java application server (i forgot to ask > him which) could maintain less JDBC connections than http session > handling threads and share them between the threads as needed without > prior knowledge of wheter or not the thread needed to do DB work. Sure, any multi-threaded Java program can do that. It's not as useful as it sounds, unless your program has a lot of threads that don't do any database work. That's not very common. For more on this, see this post: http://mathforum.org/epigone/modperl/breetalwox/[email protected] g > Is there an equivalent way to do this with mod_perl? With the current mod_perl you should use the recommended reverse proxy architecture to keep requests for non-mod_perl content from tying up database connections. With mod_perl 2, those requests will not invoke a perl interpreter and thus will not tie up a database connection. - Perrin