oyse has asked for the wisdom of the Perl Monks concerning the following question:
Hi Fellow Monks
I am currently trying out FastCGI on IIS and have some basic questions that I hope that some of you can shed some light on.
First a bit little bit of background. I am working on a web application that have existed for something like 10 years. It is written as a pure CGI application. Most of the application use CGI::Application, but some older parts are just plain old CGI .pl script that print directly to STDOUT. In total the application contains about 100.000 lines of Perl code in addition to templates, Javascript, etc. Clients buying the application can either have it hosted on our servers or we can install it on-site. Our own servers run IIS (not going to change) and all our clients with on-site installs have IIS as well.
In general we have no problems with running the application using pure CGI except of course speed. The application is not extremely slow, taking perhaps 1-2 seconds to answer a typical request, but if I could drop that to for instance 0.5 seconds for a typical request I think it would greatly improve the application.
So in an attempt to speed up the application I thought I could try to run it under FastCGI. I have now tried running the application using the FastCGI extension for IIS 5.1 from Microsoft and tried out both CGI::Fast and FCGI::IIS. I have partially gotten the application to run with a significant speed boost, but there seems that there are a number of tricky bugs that need to be fixed to get it to work flawlessly. Some of the bugs I have experinced are:
So before I spend any more time tracking down these bugs and others that will undoubtly crop up I have a few questions I hope some of you can answer.
Any help and/or recommendations are greatly appreciated.
- oyse
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Getting pure CGI application to run under FastCGI on IIS
by locked_user sundialsvc4 (Abbot) on Feb 04, 2009 at 22:25 UTC | |
by oyse (Monk) on Feb 05, 2009 at 11:47 UTC | |
by locked_user sundialsvc4 (Abbot) on Feb 05, 2009 at 15:31 UTC | |
|
Re: Getting pure CGI application to run under FastCGI on IIS
by perrin (Chancellor) on Feb 04, 2009 at 21:22 UTC | |
by oyse (Monk) on Feb 04, 2009 at 22:09 UTC | |
|
Re: Getting pure CGI application to run under FastCGI on IIS
by zentara (Cardinal) on Feb 05, 2009 at 15:00 UTC | |
by oyse (Monk) on Feb 05, 2009 at 18:22 UTC |