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
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
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
nginx - PHP - FastCGI
nginx - PHP - FastCGI
Published: 2012/10/18
Channel: openscreencast
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 nginx talks to php-fpm using FastCGI protocol
How nginx talks to php-fpm using FastCGI protocol
Published: 2013/11/11
Channel: Electronic Elves
Learning Apache http server - Executing CGI scripts
Learning Apache http server - Executing CGI scripts
Published: 2013/01/16
Channel: theurbanpenguin
FastCGI
FastCGI
Published: 2012/06/20
Channel: MitasTrainingVideos
PHP on IIS with FastCGI
PHP on IIS with FastCGI
Published: 2011/01/26
Channel: Nizam Tajik
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
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
Webcogs Template Language Preview - C++ Web Development Framework
Webcogs Template Language Preview - C++ Web Development Framework
Published: 2013/10/13
Channel: Michael Ainsworth
Rackspace Cloud: Initial config and PHP FastCGI setup
Rackspace Cloud: Initial config and PHP FastCGI setup
Published: 2011/03/10
Channel: Kevin Veroneau
Rackspace cloud: Initial Django setup using FastCGI
Rackspace cloud: Initial Django setup using FastCGI
Published: 2011/03/10
Channel: Kevin Veroneau
Linux / Debian Fast CGI statt Apache Modul verwenden
Linux / Debian Fast CGI statt Apache Modul verwenden
Published: 2013/02/09
Channel: TeachingTechs
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
An Updated FastCGI Interpretation
An Updated FastCGI Interpretation
Published: 2015/04/18
Channel: TheArtofService
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
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
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
Obyx.org - 2.1 Compiling Obyx as a fast CGI.
Obyx.org - 2.1 Compiling Obyx as a fast CGI.
Published: 2011/01/21
Channel: Obyxorg
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
XサーバーPHP高速化設定(FastCGI化)の方法
XサーバーPHP高速化設定(FastCGI化)の方法
Published: 2014/04/02
Channel: イノウエ2222
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
Лекция 17: CGI скрипт
Лекция 17: CGI скрипт
Published: 2016/08/23
Channel: НОУ ИНТУИТ
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
Configurar PHP FastCGi en IIS7
Configurar PHP FastCGi en IIS7
Published: 2010/05/28
Channel: Eduardo García
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
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 Catráz
【第4课】oldboy04 PHP服务之FASTCGI介绍特点详解及原理画图详解 rec
【第4课】oldboy04 PHP服务之FASTCGI介绍特点详解及原理画图详解 rec
Published: 2017/07/17
Channel: Ten Month
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
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
Εγκατάσταση Wordpress σε EasyEngine με nginx  και fastcgi cache
Εγκατάσταση Wordpress σε EasyEngine με nginx και fastcgi cache
Published: 2015/06/22
Channel: GreekHost
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
Php e Fast CGI no IIS - 2003 Server
Php e Fast CGI no IIS - 2003 Server
Published: 2010/12/04
Channel: Alexandre Costa
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
Navegação  HTTP by LIghttpd Web server + PHP Fast CGI
Navegação HTTP by LIghttpd Web server + PHP Fast CGI
Published: 2009/03/25
Channel: MasterRoot
[vtut] OpenBSD + nginx + PHP-FastCGI + MySQL
[vtut] OpenBSD + nginx + PHP-FastCGI + MySQL
Published: 2013/07/30
Channel: new crew
How to Install MySQL, PHP using FastCGI, and WordPress on II
How to Install MySQL, PHP using FastCGI, and WordPress on II
Published: 2008/07/15
Channel: 3DemoDotCom
Using PHP FPM   enabling the fcgi proxy Apache modules
Using PHP FPM enabling the fcgi proxy Apache modules
Published: 2017/03/21
Channel: Sameh Labib
[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
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
Freelancer FastCGI Test Answers Level 3
Freelancer FastCGI Test Answers Level 3
Published: 2017/03/24
Channel: Skill Test Guru
Nginx WordPress WebsiteS w/ FastCGI installed. Spokane Web Design
Nginx WordPress WebsiteS w/ FastCGI installed. Spokane Web Design
Published: 2016/01/30
Channel: Gooey Pixel
php in iis fast cgi and netstat to check port 80
php in iis fast cgi and netstat to check port 80
Published: 2011/10/12
Channel: Jonathan Soh
Windows Server 2008, семинар,  CGI приложение, FastCGI. Часть 1
Windows Server 2008, семинар, CGI приложение, FastCGI. Часть 1
Published: 2009/11/04
Channel: MicrosoftUkraine
Freelancer FastCGI Exam Answers Level-2
Freelancer FastCGI Exam Answers Level-2
Published: 2017/03/16
Channel: SkillTestAnswerDotcom
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 16 April 2016. 
  2. ^ "FastCGI:A High-Performance Web Server Interface". Open Market, Inc. 1996. Archived from the original on 16 April 2016. 
  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
  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