Font Size: a A A

Design And Implementation Of Workflow Orchestration System Based On Microservice Architecture

Posted on:2022-09-12Degree:MasterType:Thesis
Country:ChinaCandidate:J J FangFull Text:PDF
GTID:2518306725983969Subject:Master of Engineering
Abstract/Summary:PDF Full Text Request
In today's enterprise-level software development,business scenarios are complex and changeable,and development teams often need to quickly complete the development of business processes and put them into use.The traditional development process is difficult to keep up with such a fast pace.The emergence of the workflow system provides developers with a scaffolding for business development,allowing developers to directly face the business process and avoid repetitive underlying code.Nowadays,workflow has become one of the core technologies of service process automation.With the rapid development of enterprise-level applications,business data is often scattered in different physical nodes.The development team puts forward new requirements for cross-server integrated business and multi-team development,splitting a business process into several small processes and moving to different physical nodes.However,for these specific scenarios,the common single workflow does not support them well,and there are also certain performance bottlenecks.The main work of this thesis is process modeling and workflow orchestration in a distributed environment,using microservice architecture to solve the problem of cross-domain development,which is of great significance for enterprises to improve development efficiency.After analyzing the existing problems in the current workflow system,this thesis proposes solutions from two perspectives.Firstly,from the perspective of process modeling,UML modeling used in traditional workflows has problems such as ambiguity and useless elements when faced with more complex processes.In response to this problem,this thesis uses a clearer BPMN modeling to describe complex and changeable business processes.At the same time,this thesis draws on the state transition of the process,designs the state transition relationship of the business process,eliminates useless elements,and makes it more suitable for real scenes.Secondly,from the perspective of system architecture,the cross-domain heterogeneity of microservices can perfectly solve the problem that a single workflow cannot be used in a distributed environment.Therefore,this thesis uses microservice architecture instead of single architecture.Through API communication between different service components of the microservice architecture,distributed decoupling is realized.The development team can select the corresponding technology stack according to different service characteristics,which solves the single bottleneck and greatly improves the scalability of the system.This thesis chooses Spring Cloud framework to build a microservice backend,and uses Eureka,Zull,Ribbon and other components to realize the functional requirements and performance requirements of the system.At the same time,the system uses Netflix Conductor to realize the combination and coordination of microservices,combining and collaborating with microservices to complete the same business process.In order to improve the usability of the workflow system,both of developer and operator are included as the users this system.Operation and maintenance personnel can check all persistent objects in the system,including process instances and workflow instances,and manage the life cycle of the instances.When the operation and maintenance personnel find that a certain workflow is running abnormally,they can suspend the corresponding instance in the system and locate the problem.The system also adds a log module for assistance,which is convenient for operation and maintenance personnel to locate abnormalities and notify developers for debugging.This system can help enterprise development teams to quickly develop complex business processes across servers,as well as to integrate the unified scheduling of workflows of different teams.This thesis verifies the system function in the realization link,designs a simple business process and demonstrates its development process,showing the usability and ease of use of the system.At the same time,in the testing process,the system was compared and analyzed with the currently commonly used workflow engine JBPM.The results shows that the system has improved in entity modeling and service invocation,and its performance is generally better than JBPM.
Keywords/Search Tags:Workflow Technology, Service Orchestration, Microservices, Distributed System
PDF Full Text Request
Related items