DieterW
asked on
More efficient way to start a console app from a URL than a Perl script through CGI
Hello,
The architecture I'm working on (.NET, C#, IIS) launches a console application using a perl script, in a CGI file. So it can be launched by accessing a URL.
In the perl script, I make a call to the console application using:
system("path_to_app.exe");
Now I have noticed that this console app, launched by perl, is a lot slower than when I run it directly on the server.
This is confirmed in the article: http://www.developer.com/lang/perl/article.php/1554501/Perl-Debunking-the-Speed-Myth.htm (under Tip 4).
Now I was wondering, is there a better way than this macgyver manoevre to start a console application using a cgi perl script?
Or else, is there an alternative in perl to speed things up a little?
Thank you for your time!
The architecture I'm working on (.NET, C#, IIS) launches a console application using a perl script, in a CGI file. So it can be launched by accessing a URL.
In the perl script, I make a call to the console application using:
system("path_to_app.exe");
Now I have noticed that this console app, launched by perl, is a lot slower than when I run it directly on the server.
This is confirmed in the article: http://www.developer.com/lang/perl/article.php/1554501/Perl-Debunking-the-Speed-Myth.htm (under Tip 4).
Now I was wondering, is there a better way than this macgyver manoevre to start a console application using a cgi perl script?
Or else, is there an alternative in perl to speed things up a little?
Thank you for your time!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.