Thilo Planz wrote: >>> I have not used Persistent Perl, but FastCGI is quite stable in my >>> experience. >>> >> Can it cache DB connections, or is a connection made per request? > > > Except for not being able to access Apache internals, PPerl and FastCGI > should not be much different than mod_perl in this respect. > > You can cache anything that you want by stuffing it into a global variable. > I think you can even use Apache::DBI, if you want. > > This could be another advantage of using FastCGI/PPerl: You need only > one DB connection per perl process, not one per Apache process, which > might free some resources on the DB server.
Like I mentioned earlier, most people have a smaller number of mod_perl processes as the backend. I would say that you probably need about as many back end mod_perl processes as FastCGI/PPerl processes for the same load. -- Michael Peters Developer Plus Three, LP --------------------------------------------------------------------- Web Archive: http://www.mail-archive.com/[email protected]/ http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2 To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
