Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2506.21297v1

帮助 | 高级搜索

计算机科学 > 软件工程

arXiv:2506.21297v1 (cs)
[提交于 2025年6月26日 (此版本) , 最新版本 2025年7月6日 (v2) ]

标题: 探索微前端:电子商务中的案例应用

标题: Exploring Micro Frontends: A Case Study Application in E-Commerce

Authors:Ricardo Hideki Hangai Kojo (1), Luiz Fernando Corte Real (1), Renato Cordeiro Ferreira (1,2,3,4), Thatiane de Oliveira Rosa (1,5), Alfredo Goldman (1) ((1) University of São Paulo, (2) Jheronimus Academy of Data Science, (3) Technical University of Eindhoven, (4) Tilburg University, (5) Federal Institute of Tocantins)
摘要: 在微前端架构风格中,前端被划分为更小的组件,这些组件可以从一个简单的按钮到整个页面。 目标是提高可扩展性、弹性和团队独立性,尽管会增加复杂性和基础设施需求。 本文旨在了解在工业背景下采用微前端是否值得。 为此,我们基于学术和灰色文献对微前端的最新技术进行了调查。 然后,我们在一个已经使用微服务的手工艺品市场中实现了这种架构风格。 最后,我们通过半开放问卷对实现进行了评估,问卷对象是开发人员。 在研究的市场公司中,由于其主要系统(一个Java单体应用)与专用前端系统的紧密耦合,需要进行架构变更。 此外,还存在过时的技术和较差的开发人员体验。 为了解决这些问题,采用了微前端架构,以及API网关和前端后端模式,并使用了Svelte和Fastify等技术。 尽管微前端的采用是成功的,但并不严格必要以满足公司的需求。 根据混合问卷结果的分析,其他替代方案,如单体前端,也可以达到类似的效果。 在公司的背景下,采用微前端最方便的原因是单体应用的削弱和微服务的采用,这通过基础设施重用和团队间知识共享促进了实现。
摘要: In the micro frontends architectural style, the frontend is divided into smaller components, which can range from a simple button to an entire page. The goal is to improve scalability, resilience, and team independence, albeit at the cost of increased complexity and infrastructure demands. This paper seeks to understand when it is worth adopting micro frontends, particularly in the context of industry. To achieve this, we conducted an investigation into the state of the art of micro frontends, based on both academic and gray literature. We then implemented this architectural style in a marketplace for handcrafted products, which already used microservices. Finally, we evaluated the implementation through a semi-open questionnaire with the developers. At the studied marketplace company, the need for architectural change arose due to the tight coupling between their main system (a Java monolith) and a dedicated frontend system. Additionally, there were deprecated technologies and poor developer experience. To address these issues, the micro frontends architecture was adopted, along with the API Gateway and Backend for Frontend patterns, and technologies such as Svelte and Fastify. Although the adoption of Micro Frontends was successful, it was not strictly necessary to meet the company's needs. According to the analysis of the mixed questionnaire responses, other alternatives, such as a monolithic frontend, could have achieved comparable results. What made adopting micro frontends the most convenient choice in the company's context was the monolith strangulation and microservices adoption, which facilitated implementation through infrastructure reuse and knowledge sharing between teams.
评论: 11页,2张图(2个图表),提交至AMP 2025研讨会
主题: 软件工程 (cs.SE) ; 分布式、并行与集群计算 (cs.DC)
ACM 类: D.2.11; D.2.13; D.2.7
引用方式: arXiv:2506.21297 [cs.SE]
  (或者 arXiv:2506.21297v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2506.21297
通过 DataCite 发表的 arXiv DOI

提交历史

来自: Renato Cordeiro Ferreira [查看电子邮件]
[v1] 星期四, 2025 年 6 月 26 日 14:17:22 UTC (138 KB)
[v2] 星期日, 2025 年 7 月 6 日 21:42:36 UTC (531 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.SE
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-06
切换浏览方式为:
cs
cs.DC

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号