Fast Common Gateway Interface

What Does Fast Common Gateway Interface Mean?

Fast Common Gateway Interface (FastCGI) is a standard protocol for interfacing external applications to Web servers. It is a feature-enhanced version of the existing standard Common Gateway Interface (CGI). FastCGI remains the preferred choice over CGI and other proprietary server application programming interfaces (APIs) because its features are fast, open and maintainable. However, FastCGI remains a proposed open standard and is not yet widely used.


Techopedia Explains Fast Common Gateway Interface

FastCGI extends and enhances the CGI model in several ways:

  • Applications may be written in any programming language
  • Supports process isolation so that a defective FastCGI application cannot crash or corrupt core servers or other applications
  • It is platform independent and not tied to any particular server architecture. Any Web server can implement a FastCGI interface.
  • Provides reliable performance and processes that can be used recurrently to handle multiple requests
  • Migration from CGI is simple.
  • Supports distributed architecture
  • It is a nonproprietary, proposed open standard and developers are committed to open standardization. Thus, libraries and modules are freely available to popular and free Web servers.

FastCGI seems like the solution for all Web server issues. However, its applications have disadvantages, including:

  • Memory leaks may occur because FastCGI applications do not terminate after each Web server request.
  • Although FastCGI supports process isolation, it does not support request isolation. FastCGI applications handle complex multiple requests simultaneously. Thus, rather than isolating the defective request, all other requests also crash.
  • Writing multiplexing FastCGI applications is complex and time-consuming.

Related Terms

Latest Hardware Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…