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


in reply to can Perl-CGI run persistently on Windows 2008 with IIS 7.5? how?

abcperl5,

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