一句话:通过对 Linux 内核 i915 子系统的实证研究,揭示多提交者模型如何缓解维护者压力并实现开源社区规模化。
大型开源社区(如 Linux 内核)规模与复杂度持续增长,传统维护者把关模式使子系统维护者承受巨大压力,威胁社区可持续性。本文对 Linux 内核社区广泛讨论的多提交者模型(MCM)开展实证研究,以 i915 子系统为对象,从压力、延迟、复杂度和质量保障四个维度评估其效果,并结合在线文档分析、维护者访谈与网络分析定位候选提交者。研究发现,采用该模型后 i915 维护者负担显著降低,且模型可扩展以容纳更多提交者;它适合拥有可信候选提交者的过载子系统,其成功依赖充分预提交测试、严格评审流程和简化工作并减少错误的工具。本文是首个聚焦开源社区如何规模化的研究。
Large-scale open source communities, such as the Linux kernel, have gone through decades of development, substantially growing in scale and complexity. In the traditional workflow, maintainers serve as "gatekeepers" for the subsystems that they maintain. As the number of patches and authors significantly increases, maintainers come under considerable pressure, which may hinder the operation and even the sustainability of the community. A few subsystems have begun to use new workflows to address these issues. However, it is unclear to what extent these new workflows are successful, or how to apply them. Therefore, we conduct an empirical study on the multiple-committer model (MCM) that has provoked extensive discussion in the Linux kernel community. We explore the effect of the model on the i915 subsystem with respect to four dimensions: pressure, latency, complexity, and quality assurance. We find that after this model was adopted, the burden of the i915 maintainers was significantly reduced. Also, the model scales well to allow more committers. After analyzing the online documents and interviewing the maintainers of i915, we propose that overloaded subsystems which have trustworthy candidate committers are suitable for adopting the model. We further suggest that the success of the model is closely related to a series of measures for risk mitigation---sufficient precommit testing, strict review process, and the use of tools to simplify work and reduce errors. We employ a network analysis approach to locate candidate committers for the target subsystems and validate this approach and contextual success factors through email interviews with their maintainers. To the best of our knowledge, this is the first study focusing on how to scale open source communities. We expect that our study will help the rapidly growing Linux kernel and other similar communities to adapt to changes and remain sustainable.