摘要
针对执行制造系统通用性差、可扩展性差、模块高耦合、维护成本高、部署效率低等痛点,提出了一种基于微服务的执行制造系统架构。基于Spring Cloud Alibaba的微服务框架将系统按功能划分为多个微服务单元,通过微服务相关组件管理多个微服务,实现系统业务的分布式集成。微服务单元采用前后端分离的开发模式,前端采用开源模块化UI框架Layui开发,通过开源可视化库Echarts实现生产数据的图表展示和可视化;后端采用Spring Boot框架开发,完成前后端项目整合。结合Jenkins持续集成工具,设计和实现自动化构建与Docker容器化部署方案。基于上述技术开发系统,设计高并发性能测试实验方案,使用Jmeter性能测试工具进行压力测试,得到不同并发条件下的响应时间、错误率等测试数据。研究表明微服务架构可极大优化系统性能,提升系统开发与部署效率,并取得了良好的应用效果。
Aiming at the pain points of execution manufacturing system such as poor versatility,poor scalability,high module coupling,high maintenance cost,and low deployment efficiency,a microservice-based execution manufacturing system architecture is proposed.The microservice framework based on Spring Cloud Alibaba divides the system into multiple microservice units according to functions,and manages multiple microservices through microservice related components to realize the distributed integration of system business.The microservice unit adopts the development model of separation of front and back ends.The front end is developed by the open source modular UI framework Layui,and the graph display and visualization of production data are realized through the open source visualization library Echarts;the back end is developed using the Spring Boot framework to complete the integration of front and back projects.Combined with Jenkins continuous integration tools,design and implement automated construction and Docker containerized deployment solutions.Based on the above-mentioned technology development system,design a high-concurrency performance test experimental program,use the Jmeter performance test tool for stress testing,and obtain test data such as response time and error rate under different concurrency conditions.Research shows that the microservice architecture can greatly optimize system performance,improve system development and deployment efficiency,and achieve good application effects.
作者
陈华品
朱望纯
CHEN Huapin;ZHU Wangchun(College of Electronic Engineering and Automation,Guilin University of Electronic Technology,Guilin 541004,China)
出处
《桂林电子科技大学学报》
2023年第3期252-258,共7页
Journal of Guilin University of Electronic Technology
关键词
微服务架构
执行制造系统
服务治理
容器化部署
持续集成
microservice architecture
manufacturing executive system
service governance
containerized deployment
continuous integration