论文标题
“代码”活动:基础架构的开发反版社作为代码
The 'as Code' Activities: Development Anti-patterns for Infrastructure as Code
论文作者
论文摘要
上下文:基础架构中的“代码”后缀作为代码(IAC)是指应用软件工程活动,例如版本控制,以维护IAC脚本。没有这些活动的应用,可以在IAC脚本中引入可能会产生严重后果的缺陷。对IAC脚本的开发反理解的系统调查可以指导从业者识别活动,以避免IAC脚本中的缺陷。开发反故事是与有缺陷的IAC脚本有关的经常出现的开发活动。目标:本文的目的是通过识别与有缺陷的IAC脚本相关的开发活动来帮助从业人员提高基础架构的质量(IAC)脚本。方法论:我们通过采用混合方法方法来识别开发抗模式,在该方法中,我们将定量分析与2,138个开源IAC脚本一起使用,并与51名从业者进行调查。研究结果:我们观察到五项开发活动与我们的定量分析中有缺陷的IAC脚本有关。我们确定了五个发展的反故事,即“老板不在附近”,“许多厨师破坏”,“未成年人是剧透”,“筒仓”和“无重点的贡献”。结论:我们确定的开发反案是IAC中“作为代码”活动的重要性,因为这些活动与IAC脚本的质量有关。
Context: The 'as code' suffix in infrastructure as code (IaC) refers to applying software engineering activities, such as version control, to maintain IaC scripts. Without the application of these activities, defects that can have serious consequences may be introduced in IaC scripts. A systematic investigation of the development anti-patterns for IaC scripts can guide practitioners in identifying activities to avoid defects in IaC scripts. Development anti-patterns are recurring development activities that relate with defective IaC scripts. Goal: The goal of this paper is to help practitioners improve the quality of infrastructure as code (IaC) scripts by identifying development activities that relate with defective IaC scripts. Methodology: We identify development anti-patterns by adopting a mixed-methods approach, where we apply quantitative analysis with 2,138 open source IaC scripts and conduct a survey with 51 practitioners. Findings: We observe five development activities to be related with defective IaC scripts from our quantitative analysis. We identify five development anti-patterns namely, 'boss is not around', 'many cooks spoil', 'minors are spoiler', 'silos', and 'unfocused contribution'. Conclusion: Our identified development anti-patterns suggest the importance of 'as code' activities in IaC because these activities are related to quality of IaC scripts.