What is Fast-cgi?

FastCGI is an enhancement to the existing CGI.

FastCGI is an interface which helps to connect webservers with new application.

Features:

Based on Performance
F-cgi can be reused to handle multiple request without creating new processes for each request.

Based on Simplicity
Can be easily migrated from existing CGI.

Based on Language independence
FCGI applications can be written in nearly any language.

Process isolation
A buggy FastCGI application cannot crash or corrupt the core server or other applications
neither can they steal any secrets from the webserver.

Architecture independence
Any webserver can include fcgi irrespective of any particular server architecture.

Distributed computing
Fcgi has the ability to run remotely which helps in managing external websites and load distribution.