Quote:
Originally posted by HQ
what about PerlEx?
PerlEX is only for windows systems, I *think*.
|
yup, PerlEx is just for windows. It's pretty solid, there are some pretty heavy sites using it without problems. We had a **huge** performance increase when we got it for one of our sites.
if you have the same web/cgi script ticking off several times a second you will probably see a huge improvement porting it to mod_perl. The porting would probably be pretty easy, you can look into the Apache::Registry module for running perl cgi scripts under mod_perl with little to no change and Apache::DBI for persistant database connections. There are issues with using non-thread safe perl libs under PerlEx and there probably will be with mod_perl and the new multi-threaded Apache.
I only noticed a small speed improvement using the apache c api over mod_perl except for a project that required custom crypto. The C crypto routines really took off compared to the perl (big surprise ;-) but I bet that if the crypto had been compiled as an xs lib the mod_perl version would have been almost as fast.