http://www.perlmonks.org?node_id=985202


in reply to Re^2: can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?
in thread can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?

abcperl5,

I wouldn't worry about not having mod-perl, with a script as small as 100-300 lines your talking milliseconds difference. Your testing will be a lot easier without mod-perl, since you can call the script from the command line. We didn't use mod-perl until we put the product into production.

In your environment, with a lot of uploads, you wouldn't notice the compile step for Perl on the cgi script. The speed advantage is the persistent application that sits waiting to quickly respond to the cgi requests. From 'login' to 'logout' and all work in between, nothing has to be loaded after startup!

We pre-forked the children so that they were waiting for work. The first time we tested, it looked like they never got called since our monitoring screen never changed from 'waiting' to 'working'. Checking the logs, it was working, but the time it took in the persistent application was faster than the refresh rate of the monitor.

Good Luck!

"Well done is better than well said." - Benjamin Franklin

  • Comment on Re^3: can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?