rfc:socketactivation
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:socketactivation [2012/10/18 23:26] – [Benefits] davidstrauss | rfc:socketactivation [2017/09/22 13:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2012-10-17 | * Date: 2012-10-17 | ||
* Author: David Strauss < | * Author: David Strauss < | ||
- | * Status: | + | * Status: |
* First Published at: http:// | * First Published at: http:// | ||
* Patches: [[rfc/ | * Patches: [[rfc/ | ||
Line 61: | Line 61: | ||
==== / | ==== / | ||
+ | |||
+ | It's possible the final implementation may move to " | ||
< | < | ||
Line 88: | Line 90: | ||
==== Why not just use the ondemand process manager? ==== | ==== Why not just use the ondemand process manager? ==== | ||
- | The ondemand process manager still keeps considerable memory | + | The ondemand process manager still keeps considerable memory allocated, and PHP-FPM currently has some idle CPU load when not processing requests. It' |
- | allocated, and PHP-FPM currently has some idle CPU load (<1% per | + | |
- | service, but it adds up when you manage 500+ pools on a box) when not | + | The ondemand process manager doesn' |
- | processing requests. | + | ==== What about Upstart support? ==== |
+ | |||
+ | Upstart seems to have basic socket activation support, and integrating PHP-FPM with it would be a great follow-on project. All socket activation basically works the same way, in the sense of a file descriptor getting handed into the daemon. This RFC would pave the way for integration into additional superserver and init daemons. | ||
+ | |||
+ | ==== What about APC opcode cache efficiency? ==== | ||
- | The ondemand process manager doesn' | + | In order for pools to share an opcode cache they must be forked from the same parent process. There are ways to work around |
- | mentioned earlier (a web server requiring PHP-FPM | + | |
- | allow privileges | + | |
- | latter is useful for platform providers | + | |
- | PHP-FPM for their individual use cases but want to provide assigned | + | |
- | " | + | |
===== Changelog ===== | ===== Changelog ===== | ||
+ | * 2012-11-09: Explain a minor configuration change possibility to harmonize this proposal with the one for nginx. | ||
+ | * 2012-10-18: Integrate discussion items from the PHP internals list. | ||
* 2012-10-18: Patches added. | * 2012-10-18: Patches added. | ||
* 2012-10-17: Initial version. | * 2012-10-17: Initial version. |
rfc/socketactivation.1350602788.txt.gz · Last modified: 2017/09/22 13:28 (external edit)