arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2401.11867cs.SE
收藏

模块化单体:这是软件架构的趋势吗?

Modular Monolith: Is This the Trend in Software Architecture?

Ruoyu Su, Xiaozhou Li

AI总结:

本文通过系统性灰色文献综述界定模块化单体,识别相关框架与案例,指出其兼具单体与微服务优势,可作为微服务替代方案或迁移前置阶段。

摘要:

近来,模块化单体架构引起了从业者的关注,因为 Google 推出了“Service Weaver”框架,使开发者能够以模块化单体方式编写应用程序,并将其作为一组微服务进行部署。Google 认为该框架兼具两者的优点,而且它似乎正成为软件架构的一种趋势。本文旨在理解工业界对模块化单体的定义,并调查构建模块化单体架构的框架与案例。我们开展了系统性灰色文献综述,结果表明模块化单体结合了单体架构与微服务的优势。我们发现了三个框架和四个构建模块化单体架构的案例。总体而言,模块化单体是微服务的一种替代方案,也可以作为系统迁移到微服务之前的前置阶段。

英文摘要:

Recently modular monolith architecture has attracted the attention of practitioners, as Google proposed "Service Weaver" framework to enable developers to write applications as modular monolithic and deploy them as a set of microservices. Google considered it as a framework that has the best of both worlds and it seems to be a trend in software architecture. This paper aims to understand the definition of the modular monolith in industry and investigate frameworks and cases building modular monolith architecture. We conducted a systematic grey literature review, and the results show that modular monolith combines the advantages of monoliths with microservices. We found three frameworks and four cases of building modular monolith architecture. In general, the modular monolith is an alternative way to microservices, and it also could be a previous step before systems migrate to microservices.

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

↑