arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2006.00177cs.SE
收藏

“即代码”活动:基础架构即代码的开发反模式

The 'as Code' Activities: Development Anti-patterns for Infrastructure as Code

Akond Rahman, Effat Farhana, Laurie Williams

摘要:

内容:基础设施即代码(IaC)中的“as code”后缀指的是应用软件工程活动(如版本控制)来维护IaC脚本。如果不应用这些活动,可能会在IaC脚本中引入可能造成严重后果的缺陷。对IaC脚本的开发反模式进行系统的调查可以指导从业者识别活动,以避免IaC脚本中的缺陷。开发反模式是与有缺陷的IaC脚本相关的重复开发活动。目标:本文的目标是通过识别与有缺陷的IaC脚本相关的开发活动,帮助从业者提高基础设施即代码(IaC)脚本的质量。方法学:我们通过采用混合方法来识别开发反模式,我们对2,138个开源IaC脚本进行了定量分析,并对51名从业者进行了调查。结果:我们观察到五个发展活动与有缺陷的IaC脚本从我们的定量分析。我们确定了五个发展反模式,即“老板不在”,“许多厨师破坏”,“未成年人是破坏者”,“筒仓”和“未集中的贡献”。结论:我们确定的开发反模式表明了IaC中“as code”活动的重要性,因为这些活动与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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑