The GAS supports FastCGI. FastCGI is a protocol for interfacing the Web Server and
Application Server, like the Common Gateway Interface (CGI) protocol.
The main advantages of FastCGI include:
- Independence of Web Server used. The Web Server simply needs to have a FastCGI extension.
- Instead of creating a new process for every request (as is done with CGI), FastCGI communicates
with the GAS, which handles many requests over its lifetime.
- FastCGI can manage the GAS dispatcher process [Start, Stop, Relaunch on Failure]
FastCGI extension manages the GAS dispatcher process:
- The Web Server and GAS will have the same lifetime: starting the Web Server will start the GAS.
process, while stopping the Web Server will stop the GAS dispatcher process. If the GAS dispatcher
fails, the Web Server restarts a new GAS process.
- The Web Server and GAS must be on the same computer.
GAS FastCGI support is provided by using the fastcgidispatch executable.