in reply to can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?
<Disclaimer> Haven't done this on Windows!</Disclaimer>
But I have done this on *nix!
Years ago I would use 'mod-perl', but Perl and mod-perl are moving apart (IMHO). So on one of my recent gigs, I used a persistent Perl parent/forked process ( ~25,000 lines ).
The web server called a small cgi mod-perl script ( ~200 lines ) that sent the request to the persistent process using sockets, wait for the response, and then sent that response to the webserver. The performance was fantastic. With prototyping, eventually we got 8-10 requests per second per core. The input was 200-400 bytes, but the output could be 30K-200K bytes of HTML text.
Good Luck!
"Well done is better than well said." - Benjamin Franklin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?
by BrowserUk (Patriarch) on Aug 03, 2012 at 09:49 UTC | |
by flexvault (Monsignor) on Aug 03, 2012 at 10:21 UTC | |
by Anonymous Monk on Aug 03, 2012 at 09:52 UTC | |
|
Re^2: can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?
by Anonymous Monk on Aug 02, 2012 at 19:35 UTC | |
by flexvault (Monsignor) on Aug 03, 2012 at 09:36 UTC |