采用微前端的动机、益处和问题:多焦点文献综述
Motivations, Benefits, and Issues for Adopting Micro-Frontends: A Multivocal Literature Review
摘要:
微前端越来越受欢迎,被几家大公司采用,如DAZN,宜家,星巴克等。Micro-Frontends可将单片前端拆分为独立的小型微型应用程序。然而,许多公司仍然对采用微前端犹豫不决,因为缺乏对其好处的了解。此外,提供的在线文档往往是困惑和矛盾的。[目标]这项工作的目标是通过了解公司采用此类应用程序的动机以及可能的好处和问题,绘制有关微前端的现有知识。[方法]采用文献综述法,对43个来源进行分析,并对动机、益处和问题进行分类。[结果]结果表明,如果应用程序和开发团队增长,并且如果多个团队需要开发相同的前端应用程序,则构建Web应用程序的现有架构选项会很麻烦。微前端的应用证实了预期的好处,微前端提供了与后端微服务相同的好处,将开发团队合并为一个完全跨职能的开发团队,可以在需要时扩展流程。然而,微前端也显示出一些问题,例如应用程序的有效负载大小增加,团队之间的代码重复和耦合增加,以及监控复杂性。[结论]微前端允许公司根据业务需求扩展开发,就像微服务在后端一样。此外,.
英文摘要:
[Context] Micro-Frontends are increasing in popularity, being adopted by several large companies, such as DAZN, Ikea, Starbucks and may others. Micro-Frontends enable splitting of monolithic frontends into independent and smaller micro applications. However, many companies are still hesitant to adopt Micro-Frontends, due to the lack of knowledge concerning their benefits. Additionally, provided online documentation is often times perplexed and contradictory. [Objective] The goal of this work is to map the existing knowledge on Micro-Frontends, by understanding the motivations of companies when adopting such applications as well as possible benefits and issues. [Method] We conducted a Multivocal Literature Review, analyzing 43 sources , and classifying motivations, benefits and issues. [Results] The results show that existing architectural options to build web applications are cumbersome if the application and development team grows, and if multiple teams need to develop the same frontend application. The application of the Micro-Frontend, confirmed the expected benefits, and Micro-Frontends resulted to provide the same benefits as microservices on the back end side, combining the development team into a fully cross-functional development team that can scale processes when needed. However, Micro-Frontends also showed some issues, such as the increased payload size of the application, increased code duplication and coupling between teams, and monitoring complexity. [Conclusions] Micro-Frontends allow companies to scale development according to business needs in the same way microservices do with the back end side. In addition, ...
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。