Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

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

by flexvault (Prior)
on Aug 03, 2012 at 09:36 UTC ( #985202=note: print w/ replies, xml ) Need Help??


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?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://985202]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (15)
As of 2015-07-07 14:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (89 votes), past polls