开发者在实现“工作流即代码”中所面临挑战的实证研究:以 Apache Airflow 为例
An Empirical Study of Developers' Challenges in Implementing Workflows as Code: A Case Study on Apache Airflow
AI总结:
本文通过分析 1,000 个 Stack Overflow 帖子,系统研究了开发人员使用 Apache Airflow 实现“工作流即代码”时面临的挑战,构建了包含 7 大类 14 子类的分类体系,并识别出 10 个根本原因。
摘要:
“工作流即代码”范式在简化数据密集型软件系统中复杂流程的设计与管理方面正变得越来越重要。这些系统需要强大的能力来处理、分析并从大规模数据集中提取洞见。诸如 Apache Airflow 等工作流编排平台在满足这些需求方面发挥着关键作用,因为它们有效支持“工作流即代码”范式的实现。然而,尽管该范式具有显著优势,由于工作流编排的专业化要求以及分布式执行环境的复杂性,开发人员仍然面临诸多挑战。在本文中,我们人工研究了从 9,591 个与 Airflow 相关的问题中抽取的 1,000 个 Stack Overflow 帖子样本,以理解开发人员在实现“工作流即代码”时所遇到的挑战及其根本原因。我们的分析产生了一个关于 Airflow 相关挑战的层次化分类体系,包含 7 个高级类别和 14 个子类别。我们发现,开发人员最显著的障碍出现在定义和执行其工作流时。我们的深入分析识别出这些挑战背后的 10 个根本原因,包括错误的工作流配置、复杂的环境设置,以及对 Airflow 及其所交互的外部系统缺乏基础知识。此外,我们对所收集帖子中分享的参考文献的分析表明,除了经常被引用的 Airflow 文档之外,来自外部系统和第三方提供商的文档也常被引用来解决与 Airflow 相关的挑战。
英文摘要:
The Workflows as Code paradigm is becoming increasingly essential to streamline the design and management of complex processes within data-intensive software systems. These systems require robust capabilities to process, analyze, and extract insights from large datasets. Workflow orchestration platforms such as Apache Airflow are pivotal in meeting these needs, as they effectively support the implementation of the Workflows as Code paradigm. Nevertheless, despite its considerable advantages, developers still face challenges due to the specialized demands of workflow orchestration and the complexities of distributed execution environments. In this paper, we manually study 1,000 sampled Stack Overflow posts derived from 9,591 Airflow-related questions to understand developers' challenges and root causes while implementing Workflows as Code. Our analysis results in a hierarchical taxonomy of Airflow-related challenges that contains 7 high-level categories and 14 sub-categories. We find that the most significant obstacles for developers arise when defining and executing their workflow. Our in-depth analysis identifies 10 root causes behind the challenges, including incorrect workflow configuration, complex environmental setup, and a lack of basic knowledge about Airflow and the external systems that it interacts with. Additionally, our analysis of references shared within the collected posts reveals that beyond the frequently cited Airflow documentation, documentation from external systems and third-party providers is also commonly referenced to address Airflow-related challenges.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。