Share
VIDEOS 1 TO 50
CGI: What is CGI? | lynda.com
CGI: What is CGI? | lynda.com
Published: 2012/10/02
Channel: LinkedIn Learning Solutions
How to set up Nginx + FastCGI Mono web server on Ubuntu 12.10
How to set up Nginx + FastCGI Mono web server on Ubuntu 12.10
Published: 2013/02/19
Channel: Gleb Lebedev
FastCGI
FastCGI
Published: 2012/06/20
Channel: MitasTrainingVideos
CGI Programming in C Tutorial using Raspberry PI with Linux
CGI Programming in C Tutorial using Raspberry PI with Linux
Published: 2015/09/30
Channel: ShellWaveX
How to install PHP as FastCGI under Apache on Windows 10
How to install PHP as FastCGI under Apache on Windows 10
Published: 2017/02/04
Channel: Masim Man
Лекция 17: CGI скрипт
Лекция 17: CGI скрипт
Published: 2016/08/23
Channel: НОУ ИНТУИТ
nginx - PHP - FastCGI
nginx - PHP - FastCGI
Published: 2012/10/18
Channel: openscreencast
Setting up PHP to run under FastCGI in Apache (on Windows)
Setting up PHP to run under FastCGI in Apache (on Windows)
Published: 2013/08/24
Channel: Artexic
PHP on IIS with FastCGI
PHP on IIS with FastCGI
Published: 2011/01/26
Channel: Nizam Tajik
How to setup Multiple PHP versions on Apache using FastCGI
How to setup Multiple PHP versions on Apache using FastCGI
Published: 2017/11/23
Channel: Linux Help
How nginx talks to php-fpm using FastCGI protocol
How nginx talks to php-fpm using FastCGI protocol
Published: 2013/11/11
Channel: Electronic Elves
Use C++ as a Server Side Language (CGI Common Gateway Interface)
Use C++ as a Server Side Language (CGI Common Gateway Interface)
Published: 2016/12/22
Channel: RobotZer0
lighttpd - PHP - FastCGI
lighttpd - PHP - FastCGI
Published: 2012/10/18
Channel: openscreencast
How to Install PHP-FPM FastCGI Process Manager on ubuntu
How to Install PHP-FPM FastCGI Process Manager on ubuntu
Published: 2016/12/15
Channel: Quick Notepad Tutorial
Configurar PHP FastCGi en IIS7
Configurar PHP FastCGi en IIS7
Published: 2010/05/28
Channel: Eduardo García
Nginx for dynamic PHP sites (with PHP-FPM) [Episode 4]
Nginx for dynamic PHP sites (with PHP-FPM) [Episode 4]
Published: 2015/10/02
Channel: Christophe Limpalair
How to install PHP as FastCGI under Apache on Windows 10
How to install PHP as FastCGI under Apache on Windows 10
Published: 2017/09/06
Channel: Philip Wright
How to install HHVM with Apache FastCGI on Ubuntu 13.10
How to install HHVM with Apache FastCGI on Ubuntu 13.10
Published: 2014/04/15
Channel: The Codepunker
Raspberry Pi 3 as a Webserver, very fast, running apache2-fpm / fastcgi / php7
Raspberry Pi 3 as a Webserver, very fast, running apache2-fpm / fastcgi / php7
Published: 2016/03/20
Channel: Jasper
Εγκατάσταση Wordpress σε EasyEngine με nginx  και fastcgi cache
Εγκατάσταση Wordpress σε EasyEngine με nginx και fastcgi cache
Published: 2015/06/22
Channel: GreekHost
Rackspace cloud: Initial Django setup using FastCGI
Rackspace cloud: Initial Django setup using FastCGI
Published: 2011/03/10
Channel: Kevin Veroneau
Windows 7 X32 and X64 IIS PHP FastCGI MySQL Tutorial - Franklin Gan
Windows 7 X32 and X64 IIS PHP FastCGI MySQL Tutorial - Franklin Gan
Published: 2011/01/09
Channel: MrFranklinGan
Windows Server 2008, семинар,  CGI приложение, FastCGI. Часть 4
Windows Server 2008, семинар, CGI приложение, FastCGI. Часть 4
Published: 2009/11/04
Channel: MicrosoftUkraine
How To Install PHP5 With FastCGI on Windows 2008 Server
How To Install PHP5 With FastCGI on Windows 2008 Server
Published: 2008/03/28
Channel: thewebhostinghero
Configuring FastCGI on IIS7 to host PHP Applications Part 1
Configuring FastCGI on IIS7 to host PHP Applications Part 1
Published: 2008/12/12
Channel: Uk Dpe
Php e Fast CGI no IIS - 2003 Server
Php e Fast CGI no IIS - 2003 Server
Published: 2010/12/04
Channel: Alexandre Costa
Linux / Debian Fast CGI statt Apache Modul verwenden
Linux / Debian Fast CGI statt Apache Modul verwenden
Published: 2013/02/09
Channel: TeachingTechs
Windows Server 2008, семинар,  CGI приложение, FastCGI. Часть 1
Windows Server 2008, семинар, CGI приложение, FastCGI. Часть 1
Published: 2009/11/04
Channel: MicrosoftUkraine
IIS 7/7.5 - Configuring PHP via FastCGI on Windows Server 2008 R2
IIS 7/7.5 - Configuring PHP via FastCGI on Windows Server 2008 R2
Published: 2013/09/29
Channel: Rob Willis
【第4课】oldboy04 PHP服务之FASTCGI介绍特点详解及原理画图详解 rec
【第4课】oldboy04 PHP服务之FASTCGI介绍特点详解及原理画图详解 rec
Published: 2017/07/17
Channel: Ten Month
wordpress fastcgi
wordpress fastcgi
Published: 2017/10/22
Channel: Dudley Durham
Windows Server 2008, семинар,  CGI приложение, FastCGI. Часть 3
Windows Server 2008, семинар, CGI приложение, FastCGI. Часть 3
Published: 2009/11/04
Channel: MicrosoftUkraine
[vtut] OpenBSD + nginx + PHP-FastCGI + MySQL
[vtut] OpenBSD + nginx + PHP-FastCGI + MySQL
Published: 2013/07/30
Channel: new crew
WordPress Tutorial: Enable PHP5 fastcgi and  ZLIB compression on Bluehost.avi
WordPress Tutorial: Enable PHP5 fastcgi and ZLIB compression on Bluehost.avi
Published: 2010/05/08
Channel: WPhowtotips
[thuthuatdoday] Hướng dẫn cài đặt IIS + FastCGI(PHP) + IIRF
[thuthuatdoday] Hướng dẫn cài đặt IIS + FastCGI(PHP) + IIRF
Published: 2017/11/23
Channel: thuthuatdoday
Nginx WordPress WebsiteS w/ FastCGI installed. Spokane Web Design
Nginx WordPress WebsiteS w/ FastCGI installed. Spokane Web Design
Published: 2016/01/30
Channel: GooeyPixel
Rackspace Cloud: Initial config and PHP FastCGI setup
Rackspace Cloud: Initial config and PHP FastCGI setup
Published: 2011/03/10
Channel: Kevin Veroneau
Nginx Caching  Tutorial
Nginx Caching Tutorial
Published: 2015/03/31
Channel: Michał Czeraszkiewicz
Install IIS 7.5 PHP & FastCGI on Windows 7
Install IIS 7.5 PHP & FastCGI on Windows 7
Published: 2013/02/01
Channel: Nexus Network
[Nasıl Yapılır] IIS 8 üzerinde PHP, FastCGI, MySQL ve PhpMyAdmin Kurulumu
[Nasıl Yapılır] IIS 8 üzerinde PHP, FastCGI, MySQL ve PhpMyAdmin Kurulumu
Published: 2016/02/21
Channel: Enis Kurtay Yilmaz
XサーバーPHP高速化設定(FastCGI化)の方法
XサーバーPHP高速化設定(FastCGI化)の方法
Published: 2014/04/02
Channel: イノウエ2222
Windows Server 2008, семинар,  CGI приложение, FastCGI. Часть 2
Windows Server 2008, семинар, CGI приложение, FastCGI. Часть 2
Published: 2009/11/04
Channel: MicrosoftUkraine
hollodotme/fast-cgi-client examples
hollodotme/fast-cgi-client examples
Published: 2017/04/15
Channel: Holger Woltersdorf
HowTo: Setup PHP5.3 binaries for FastCGI use in IIS7 on Win 2008 Web Edition
HowTo: Setup PHP5.3 binaries for FastCGI use in IIS7 on Win 2008 Web Edition
Published: 2011/05/14
Channel: GeneralGunrider
How to Update PHP CLI Version on GoDaddy
How to Update PHP CLI Version on GoDaddy's Web Hosting | cPanel | 2018
Published: 2017/10/07
Channel: incapio
014. linux ubuntu server 15 04, nginx, php php5 fpm fastcgi, memcached with load balancing and pseud
014. linux ubuntu server 15 04, nginx, php php5 fpm fastcgi, memcached with load balancing and pseud
Published: 2015/04/30
Channel: Al Ligator
How to install PHP in FastCGI mode on Windows
How to install PHP in FastCGI mode on Windows's IIS (in Thai) ภาษาไทย
Published: 2010/05/22
Channel: darkcashyz
エックスサーバーで表示速度を高速化(FastCGI)
エックスサーバーで表示速度を高速化(FastCGI)
Published: 2014/08/08
Channel: Masakichi Kudou
PHP 5 sur Apache 2.2 avec FastCGI et suEXEC - config utilisateur
PHP 5 sur Apache 2.2 avec FastCGI et suEXEC - config utilisateur
Published: 2012/08/26
Channel: Wildservices.net
Configuring FastCGI on IIS7 to host PHP Applications Part 2
Configuring FastCGI on IIS7 to host PHP Applications Part 2
Published: 2008/12/12
Channel: Uk Dpe
NEXT
GO TO RESULTS [51 .. 100]

WIKIPEDIA ARTICLE

From Wikipedia, the free encyclopedia
Jump to: navigation, search

FastCGI is a binary protocol for interfacing interactive programs with a web server. FastCGI is a variation on the earlier Common Gateway Interface (CGI); FastCGI's main aim is to reduce the overhead associated with interfacing the web server and CGI programs, allowing a server to handle more web page requests at once.

History[edit]

CGI is a protocol for interfacing external applications to web servers. CGI applications run in separate processes, which are created at the start of each request and torn down at the end. This "one new process per request" model makes CGI programs very simple to implement, but limits efficiency and scalability. At high loads, the operating system process creation and destruction overhead becomes significant. In addition, the CGI process model limits resource reuse techniques (such as reusing database connections, in-memory caching, etc.).

To address the scalability shortcomings of CGI, Open Market developed FastCGI and first introduced it in their webserver product in the mid-1990s. Open Market originally developed FastCGI in part as a competitive response to Netscape's proprietary, in-process API (NSAPI) for developing Web applications.

Although initially developed by Open Market, FastCGI was implemented by a number of other webserver makers. The FastCGI approach, however, competed against other techniques which also aimed to speed and simplify server-subprogram communications. Apache modules such as mod_perl and mod_php appeared around the same time, and they also quickly gained popularity. Today, all of these various approaches (including CGI) remain in common use.

Implementation details[edit]

Instead of creating a new process for each request, FastCGI uses persistent processes to handle a series of requests. These processes are owned by the FastCGI server, not the web server. [1]

To service an incoming request, the web server sends environment information and the page request itself to a FastCGI process over either a Unix domain socket, a named pipe or a TCP connection. Responses are returned from the process to the web server over the same connection, and the web server subsequently delivers that response to the end-user. The connection may be closed at the end of a response, but both the web server and the FastCGI service processes persist.[2]

Each individual FastCGI process can handle many requests over its lifetime, thereby avoiding the overhead of per-request process creation and termination. Processing of multiple requests simultaneously can be achieved in several ways: by using a single connection with internal multiplexing (i.e. multiple requests over a single connection); by using multiple connections; or by a combination of these techniques. Multiple FastCGI servers can be configured, increasing stability and scalability.

Web site administrators and programmers can find that the separation of web applications from the web server in FastCGI has many advantages over embedded interpreters (mod_perl, mod_php, etc.). This separation allows server and application processes to be restarted independently – an important consideration for busy web sites. It also enables the implementation of per-application / hosting service security policies, which is an important requirement for ISPs and web hosting companies.[3] Different types of incoming requests can be distributed to specific FastCGI servers which have been equipped to handle those particular types of requests efficiently.

Web Servers that implement FastCGI[edit]

Note: unless stated, completeness of FastCGI implementation is unknown

Language bindings for the FastCGI API[edit]

FastCGI can be implemented in any language that supports network sockets. (Since "FastCGI is a protocol, not an implementation," it is not tightly bound to any language at all.) APIs exist[17] for:

Recent frameworks such as Ruby on Rails, Catalyst, Django, Kepler and Plack allow use with either the embedded interpreters (mod_ruby, mod_perl, mod_python or mod_lua, for example), or FastCGI.

References[edit]

  1. ^ "FastCGI Specification". Open Market, Inc. 1996. Archived from the original on 19 January 2016. 
  2. ^ "FastCGI:A High-Performance Web Server Interface". Open Market, Inc. 1996. Archived from the original on 1 October 2010. 
  3. ^ Paul Heinlein (1 November 1998). "FastCGI: Persistent Applications for Your Web Server". Linux Journal. Retrieved 4 October 2010. 
  4. ^ FastCGI apache module mod_fcgid
  5. ^ Debian bug #450748: Please add support for TCP/IP FastCGI servers
  6. ^ Issues with Apache 2.4 and PHP-FPM
  7. ^ libapache-mod-fastcgi on Github
  8. ^ FastCGI – The Forgotten Treasure/ Section 2.3.
  9. ^ Caddy User Guide – FastCGI
  10. ^ FastCGI for Cherokee
  11. ^ FastCGI HOWTO for Hiawatha
  12. ^ a b FastCGI Support in Jetty
  13. ^ FastCGI for Lighttpd
  14. ^ "FastCGI Extension for IIS6.0 - RTM". FastCGI for IIS. Microsoft. 2008-02-28. Retrieved 2008-02-29. 
  15. ^ OpenBSD's httpd(8) initial commit
  16. ^ [1]
  17. ^ Application Libraries / Development Kits
  18. ^ Matreshka
  19. ^ ExtPascal
  20. ^ How to use FastCGI from Common Lisp
  21. ^ Goanna Eiffel
  22. ^ jFastCGI, a Java Servlet implementing FastCGI protocol
  23. ^ node-fastcgi npm package
  24. ^ There are a number of FastCGI modules for Perl: FCGI (a compiled module written in C), FCGI::Async (for asynchronous FastCGI applications), AnyEvent::FCGI (for AnyEvent-based applications), FCGI::EV (for EV-based applications), CGI::Fast (Perl CGI-like interface for FastCGI), FCGI::Client (a FastCGI client library), and Net::FastCGI (constants and functions to build and parse FastCGI messages).
  25. ^ FasterCGI with HHVM
  26. ^ REAL Studio Web Edition, builds web apps called via FastCGI Archived 2011-02-08 at the Wayback Machine.
  27. ^ [2]

External links[edit]

Disclaimer

None of the audio/visual content is hosted on this site. All media is embedded from other sites such as GoogleVideo, Wikipedia, YouTube etc. Therefore, this site has no control over the copyright issues of the streaming media.

All issues concerning copyright violations should be aimed at the sites hosting the material. This site does not host any of the streaming media and the owner has not uploaded any of the material to the video hosting servers. Anyone can find the same content on Google Video or YouTube by themselves.

The owner of this site cannot know which documentaries are in public domain, which has been uploaded to e.g. YouTube by the owner and which has been uploaded without permission. The copyright owner must contact the source if he wants his material off the Internet completely.

Powered by YouTube
Wikipedia content is licensed under the GFDL and (CC) license