perl - Which FastCGI server mode should I choose under Apache? -


I am new to FastCGI and to use this platform to speed up my existing vanilla CGI (Pearl) program I am searching.

While reading this, it appears that I can set up my script (once converted to use different initialization / request sections) as one of the following in Apache configuration

1) dynamic

4) static "within the scope of the setholondle" stabilized

3) within the "stable realm of the handler"

4) Fixed "outside the scope of the set / AddHandler" (Or, I think, it can be called 'external'

I am confused about those 4 options, and am the default of 'dynamic', who should I go with, but someone explains the pros / cons of these?

There is not enough to worry about add / set handsands, they just have a way to define Which extensions have to be identified as FCG scripts.

What you can think, is dynamic, stable or external.

  1. Apache starts as (it is possible that this is the most common setup)
  2. Whenever a request is made for the first time (starts) This is the default)
  3. The FCG server needs to run separately from Apache (this is the most advanced configuration)

I suggest you look for more information (At least in summary):

FastCGI applications under mod_fastcgi are defined as one of three types Method: static, dynamic, or external they have configured using FastCgiServer, FastCgiConfig, and FastCgiExternalServer directions respectively. Any URI that recognizes Apache as FastcGI application and which is not explicitly configured through a Fastgci Server or FastcxX Engineer Directive, is handled as a dynamic application (For more information, see Fastcgi Config Directive See).

Applications are created and managed by the FastCGI stable and dynamic Fastcgi process manager, FCG-PM. The processor manager is borne by Apache server on initialization.

Of course, if you are using Perl, then you can try mod_perl, where you can start already.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -