rfc:fpm
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | rfc:fpm [2011/04/06 10:59] – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Request for Comments: FPM SAPI inclusion ====== | ||
+ | * Version: 1.0 | ||
+ | * Date: 2010-03-22 | ||
+ | * Author: Antony Dovgal < | ||
+ | * Status: Under Discussion | ||
+ | * First Published at: http:// | ||
+ | |||
+ | This RFC discusses FPM SAPI and its inclusion to the core PHP distribution. | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some | ||
+ | additional features (mostly) useful for heavy-loaded sites. | ||
+ | |||
+ | These features include: | ||
+ | * advanced process management with graceful stop/start; | ||
+ | * ability to start workers with different uid/ | ||
+ | * stdout & stderr logging; | ||
+ | * emergency restart in case of accidental opcode cache destruction; | ||
+ | * accelerated upload support; | ||
+ | * " | ||
+ | * fastcgi_finish_request() - special function to finish request & flush all data while | ||
+ | continuing to do something time-consuming (video converting, stats processing etc.); | ||
+ | * dynamic/ | ||
+ | * basic SAPI status info (similar to Apache mod_status) | ||
+ | * XML-based config file which contains configuration for different process pools with different configuration settings (see [[http:// | ||
+ | FPM uses BSD-licensed libevent (this is the only external requirement) to handle connections and manage its children. | ||
+ | |||
+ | ==== Why do we need FPM? ==== | ||
+ | |||
+ | FastCGI becomes more and more popular these days as people tend to realize that ' | ||
+ | |||
+ | The FastCGI implementation in sapi/cgi requires third-party applications like spawn-fcgi or mod_fcgi to manage its processes and is a ' | ||
+ | |||
+ | ===== Proposal and Patch ===== | ||
+ | |||
+ | FPM is ready to be merged from PHP_5_3_FPM branch in the official PHP SVN. | ||
+ | All the FPM code is concentrated in sapi/fpm and no additional patches are required. | ||
+ | |||
+ | http:// | ||
+ | |||
+ | ===== Changelog ===== | ||
+ | |||
+ | tony - 2010-03-22 - initial RFC version. | ||
rfc/fpm.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1