摘要
传统的单体式ERP系统开发快、部署简单,但有着内部耦合性高、拓展性差、灵活性低等弊端,随着企业的发展曾经的单体式ERP系统已难以满足发展需要。为此,本文在开发某木材大宗商品订单ERP系统时,提出了基于微服务架构的设计方案,按照业务功能对微服务进行了划分,并进行了系统整体技术架构设计。系统整合服务注册与配置中心、鉴权中心、微服务网关实现微服务功能,并针对企业需求设计了权限分配策略、使用了分布式事务管理保证数据一致性、使用了负载均衡与服务熔断技术提升了系统可用性。
The traditional monolithic ERP system is fast in development and simple in deployment,but has disadvantages such as high internal coupling,poor expansion,and low flexibility.With the development of enterprises,the monolithic ERP system can no longer meet the development needs.In response to this problem,a microservice architecture is introduced to refactor the old system.This paper analyzes the system requirements when developing an ERP system for timber bulk commodity orders.In view of the advantages of low coupling,high expansion and high availability of the microservice architecture,the Spring Cloud microservice architecture is used to reconstruct the system,and to restructure the microservices according to business functions.The microservices are divided by business function,and the overall technical architecture design of the system is carried out.The system integrates service registration and configuration center,authentication center,and micro-service gateway to realize micro-service functions,and designs permission allocation strategy for enterprise needs,uses distributed transaction management to ensure data consistency,and uses load balancing and service fusion technology to improve system availability.
作者
姚砺
张海路
徐梦娜
付帅
YAO Li;ZHANG Hailu;XU Mengna;FU Shuai(College of Computer Science and Technology,Donghua University,Shanghai 201620,China)
出处
《智能计算机与应用》
2023年第3期93-98,共6页
Intelligent Computer and Applications