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

从单体到微服务:重构方法的分类

From Monolith to Microservices: A Classification of Refactoring Approaches

Jonas Fritzsch, Justus Bogner, Alfred Zimmermann, Stefan Wagner

摘要:

虽然最近出现的微服务架构风格在文献中被广泛讨论,但很难找到重构遗留应用程序过程的明确指导。这个主题的重要性是由重构过程的高成本和工作量所支撑的,重构过程还有其他几个影响,例如整体流程(DevOps)和团队结构。面对这一挑战,软件架构师需要选择合适的策略和重构技术。在这种情况下,讨论最多的方面之一是找到正确的服务粒度,以充分利用微服务架构的优势。本研究首先讨论架构重构的概念,然后比较学术文献中最近提出的10种现有重构方法。这些方法通过底层分解技术进行分类,并以决策指南的形式直观地呈现,以供快速参考。审查产生了各种各样的策略,将单片应用程序分解为独立的服务。除了一个例外,大多数方法只适用于某些条件。进一步关注的是一些方法需要大量的输入数据以及有限的或原型的工具支持。

英文摘要:

While the recently emerged Microservices architectural style is widely discussed in literature, it is difficult to find clear guidance on the process of refactoring legacy applications. The importance of the topic is underpinned by high costs and effort of a refactoring process which has several other implications, e.g. overall processes (DevOps) and team structure. Software architects facing this challenge are in need of selecting an appropriate strategy and refactoring technique. One of the most discussed aspects in this context is finding the right service granularity to fully leverage the advantages of a Microservices architecture. This study first discusses the notion of architectural refactoring and subsequently compares 10 existing refactoring approaches recently proposed in academic literature. The approaches are classified by the underlying decomposition technique and visually presented in the form of a decision guide for quick reference. The review yielded a variety of strategies to break down a monolithic application into independent services. With one exception, most approaches are only applicable under certain conditions. Further concerns are the significant amount of input data some approaches require as well as limited or prototypical tool support.

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

↑