[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cgiapp] mod_perl and CGI::App


I have a few projects written with CGI::App right now. A couple of them are lower traffic sites but now a few of them are falling into the realm of performance intensive. I'd like to start using mod_perl for those sites. Someone said that CGI::App was written with mod_perl in mind, so I'm thinking this post is appropriate on this list.

The server that I'm using has an option to enable mod_perl. After checking that, I now have a perl directory in /var/www which I'm guessing is where my mod_perl scripts would go. If I put all the cgi scripts into that directory would I start to see performance enhancements? Would I have to change any of the code (assuming that I am currently cleaning up things properly, using strict, etc)? Would my module files stay loaded in memory or is it just the perl intrepreter? From what I've read, it looks like I would have to load the modules with startup.pl or edit apache's config file to load my modules or maybe use Apache::Registry to keeps my scripts loaded in memory. I don't know, maybe this is more appropriate for the mod_perl list but if someone has taken the step of moving a CGI::App site from regular perl to mod_perl could you please point me in the right direction? I want to make sure I'm hitting the right lake before I jump in with both feet.

All feedback is appreciated, thanks,
Nate


---------------------------------------------------------------------
Web Archive:  http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.