arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2302.01894cs.SE
收藏

理解微服务系统中的问题、原因和解决方案:一项实证研究

Understanding the Issues, Their Causes and Solutions in Microservices Systems: An Empirical Study

Tampere University(坦佩雷大学);Wuhan University(武汉大学);University of Derby(德比大学);University of Oulu(奥卢大学);RMIT University(皇家墨尔本理工大学);University of Jyväskylä(于韦斯屈莱大学)

Muhammad Waseem, Peng Liang, Aakash Ahmad, Arif Ali Khan, Mojtaba Shahin, Pekka Abrahamsson, Ali Rezaei Nasab, Tommi Mikkonen

AI总结:

本研究通过实证分析揭示了微服务系统中常见问题、原因及解决方案,提出了技术债务、持续集成等关键问题维度,为下一代微服务系统工程提供研究框架。

摘要:

许多从小到大的组织已采用微服务架构(MSA)风格来开发和交付其核心业务。尽管MSA在软件行业中非常流行,但目前对微服务系统开发者经历的问题类型(如错误、故障、失败和bug)及其原因,以及可能的解决策略仍缺乏基于证据的深入理解。为了弥补这一差距,我们开展了一项混合方法的实证研究,收集了来自15个开源微服务系统的GitHub问题跟踪系统的2641个问题数据,15次访谈以及来自42个国家、6个大洲的150名从业者完成的在线调查。我们的分析得出了问题、原因和解决方案的全面分类。本研究的发现表明,技术债务、持续集成和交付、异常处理、服务执行和通信以及安全是微服务系统中最主要的问题。此外,一般编程错误、缺失的功能和制品以及无效的配置和通信是问题的主要原因。最后,我们发现了177种可用于修复已识别问题的解决方案。基于我们的研究结果,我们提出了一项未来研究框架,该框架概述了关键问题维度和可操作的研究策略,以支持新兴和下一代微服务系统的工程。

英文摘要:

Many small to large organizations have adopted the Microservices Architecture (MSA) style to develop and deliver their core businesses. Despite the popularity of MSA in the software industry, there is a limited evidence-based and thorough understanding of the types of issues (e.g., errors, faults, failures, and bugs) that microservices system developers experience, the causes of the issues, and the solutions as potential fixing strategies to address the issues. To ameliorate this gap, we conducted a mixed-methods empirical study that collected data from 2,641 issues from the issue tracking systems of 15 open-source microservices systems on GitHub, 15 interviews, and an online survey completed by 150 practitioners from 42 countries across 6 continents. Our analysis led to comprehensive taxonomies for the issues, causes, and solutions. The findings of this study informthat Technical Debt, Continuous Integration and Delivery, Exception Handling, Service Execution and Communication, and Security are the most dominant issues in microservices systems. Furthermore, General Programming Errors, Missing Features and Artifacts, and Invalid Configuration and Communication are the main causes behind the issues. Finally, we found 177 types of solutions that can be applied to fix the identified issues. Based on our study results, we propose a future research framework that outlines key problem dimensions and actionable study strategies to support the engineering of emergent and next-generation microservices systems.

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

↑