摘要
传统前端微服务随着业务复杂程度不断上升,项目体积迅速增大,子应用间容易形成信息孤岛,互通性较差。本文提出了一种适用于智能配电网前端微服务的跨系统集成平台优化方案,首先通过对整个项目进行解耦,使原本复杂的单体应用拆分为多个相对独立的应用,使得每个模块都可以单独部署上线,其次通过对子应用资源的打包配置优化、设计路由的相应机制和应用间的通信方式,动态组合各个独立的应用。本新型前端微服务可以整合不同技术栈的应用,并且减少应用的资源大小以及控制应用权限,对现阶段臃肿的系统有着极大的帮助。
Traditional front-end microservices continue to increase in business complexity,and the project size increases rapidly.Information islands are easily formed between sub-applications,and interoperability is poor.This paper proposes a cross-system integration platform optimization solution suitable for front-end microservices of smart distribution networks.First,by decoupling the entire project,the originally complex single application is split into multiple relatively independent applications,so that each module can be deployed and launched separately.Secondly,through the optimization of package configuration of sub-application resources,the corresponding mechanism of design routing and the communication method between applications,each independent application is dynamically combined.The new front-end microservice can integrate applications of different technology stacks,reduce the size of application resources and control application permissions,which is of great help to the current bloated system.
作者
方燕琼
唐升卫
顾博川
代仕勇
FANG Yan-qiong;TANG Sheng-wei;GU Bo-chuan;DAI Shi-yong(Guangdong Diankeyuan Energy Technology Co.,Ltd.,Guangzhou 510080;Electric Power Research Institute of Guangdong Power Grid Co.,Ltd.,Guangzhou 510080)
出处
《环境技术》
2021年第4期142-146,共5页
Environmental Technology
基金
南方电网公司科技项目资助项目(GDKJXM20190411)。