About
FastCGI is an open extension to CGI. FastCGI is a replacement for “standard” CGI scripts.
In old-school CGI, the web server would start up your script, send it a request, wait for a response, then the script would terminate.
FastCGI's main feature is that the script doesn't die, but hangs around, waiting for another request.
- No process creation for each request
- The interpreted script is not reloaded, etc.
Library
- Java to FastCGI: https://github.com/Happyr/fcgi4j