FPM support for S6 service startup notifications
还没有人认领这个 Issue。
- 主要语言
- C
- 星标
- 40.4k
- 派生
- 8.1k
- 平均合并
- 2 天 13 小时
- 30 天内合并 PR
- 96
描述
Description
S6 and specifically its overlay is a popular set of programs for process supervision. It is very light and often used to run PHP-FPM with other services inside a single container (e.g. Docker). Currently to notify it about service startup, it needs to use s6-notifyoncheck program that runs as FPM master subprocess that polls FPM. It's not optimal and it has got its own issue described in #10315. S6 offers its own notification mechanism that would be better.
The idea is that FPM would receive the descriptor number when started and when it's ready it would write new line to that descriptor which would notify S6 that it's started.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
先阅读 S6 notifywhenup 文档和链接的 s6-overlay 上下文,然后将其与现有的 FPM 启动行为进行比较。查看 issue #10315,了解当前的轮询方式。当 FPM 能够在启动时接收一个描述符,并在准备就绪时写入一行 readiness,且相关 FPM 测试验证了该行为时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- c, php
- 领域
- backend, devops
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100