本文已被:浏览 1298次 下载 2772次
Received:February 22, 2020 Revised:March 24, 2020
Received:February 22, 2020 Revised:March 24, 2020
中文摘要: 微服务架构下开发时技术栈分离提升了开发效率以及运行时服务编排能力,但微应用数量倍增导致微应用管理控制台集成复杂度加大,跨微应用之间通信及操作交互体验差.本文给出一种微前端解决方案,结合典型微前端框架、管理控制台事件总线、微应用动态路由通信、微应用运行时上下文资源分离等技术机制,提高了管理控制台柔性与运行效率,降低了开发和运维成本,较好地实现了微应用管理控制台管理优化目标.经试验评估,柔性增强且代价更小,并在实际项目中验证了解决方案的有效性.
Abstract:Technology stack separation during development under the microservice architecture improves development efficiency and runtime service orchestration capabilities. However, the multiplication of micro-applications results in the increase of integration complexity of micro application management console and the poor experience of communication and operation interaction across micro-applications. This paper presents a micro frontends solution, combined with typical micro frontends framework, management console eventbus, micro-applications routing communication, separation of context resources in runtime and other technical mechanisms, the flexibility and operating efficiency of the management console is improved, the development and operation and maintenance costs are reduced, and the management optimization objective of the management console is better realized. Through the test evaluation, the flexibility is enhanced and the cost is smaller, the effectiveness of the solution is verified in the actual project.
文章编号: 中图分类号: 文献标志码:
基金项目:南京南瑞信息通信科技有限公司科技项目(5246DR200014)
引用文本:
刘一田,曹一鸣.微前端化微应用管理控制台.计算机系统应用,2020,29(9):126-130
LIU Yi-Tian,CAO Yi-Ming.Micro Frontends-Based Micro-Applications Management Console.COMPUTER SYSTEMS APPLICATIONS,2020,29(9):126-130
刘一田,曹一鸣.微前端化微应用管理控制台.计算机系统应用,2020,29(9):126-130
LIU Yi-Tian,CAO Yi-Ming.Micro Frontends-Based Micro-Applications Management Console.COMPUTER SYSTEMS APPLICATIONS,2020,29(9):126-130