确保微服务的可演进性:对行业实践和挑战的见解
Assuring the Evolvability of Microservices: Insights into Industry Practices and Challenges
摘要:
虽然微服务承诺了可持续的长期软件演化的几个有益特征,但很少有实证研究涉及行业应用于微服务可演化性保证的具体活动以及如何在此类系统中处理技术债务。由于洞察到目前的实践状态是非常重要的研究人员,我们进行了定性访谈研究,探讨应用的可进化性保证过程,工具,指标和模式的使用,以及参与者的反思的主题。在17次半结构化访谈中,我们与来自10家公司的软件专业人员讨论了14种不同的基于微服务的系统,以及如何确保这些系统的可持续发展。访谈记录采用详细的编码系统和不断比较的方法进行分析。我们发现,特别是外部客户的系统依赖于中央治理来保证。与会者认为像架构原则这样的指导方针对于确保可演化性的基本一致性非常重要。受访者还重视手动活动,如代码审查或童子军,即使自动化和工具支持被描述为非常重要。源代码质量是使用工具和度量的主要目标。尽管大多数报告的问题都与架构技术债务(ATD)有关,但我们的参与者并没有应用任何架构或面向服务的工具和指标。虽然参与者普遍认为他们的微服务是可进化的,但服务切割和找到具有低耦合和高内聚的适当服务粒度被认为是具有挑战性的。未来微服务在演化和技术债务领域的研究应该考虑这些发现和行业情绪。
英文摘要:
While Microservices promise several beneficial characteristics for sustainable long-term software evolution, little empirical research covers what concrete activities industry applies for the evolvability assurance of Microservices and how technical debt is handled in such systems. Since insights into the current state of practice are very important for researchers, we performed a qualitative interview study to explore applied evolvability assurance processes, the usage of tools, metrics, and patterns, as well as participants' reflections on the topic. In 17 semi-structured interviews, we discussed 14 different Microservice-based systems with software professionals from 10 companies and how the sustainable evolution of these systems was ensured. Interview transcripts were analyzed with a detailed coding system and the constant comparison method. We found that especially systems for external customers relied on central governance for the assurance. Participants saw guidelines like architectural principles as important to ensure a base consistency for evolvability. Interviewees also valued manual activities like code review or boy scouting, even though automation and tool support was described as very important. Source code quality was the primary target for the usage of tools and metrics. Despite most reported issues being related to Architectural Technical Debt (ATD), our participants did not apply any architectural or service-oriented tools and metrics. While participants generally saw their Microservices as evolvable, service cutting and finding an appropriate service granularity with low coupling and high cohesion were reported as challenging. Future Microservices research in the areas of evolution and technical debt should take these findings and industry sentiments into account.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。