Font Size: a A A

Research And Optimization Of Choreography Technology Based On Microservice Platform

Posted on:2023-07-19Degree:MasterType:Thesis
Country:ChinaCandidate:J WangFull Text:PDF
GTID:2558306914456084Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
In order to cope with huge traffic challenges and achieve efficient organizational division of labor,large enterprises have turned to the construction of microservice architectures.However,with the expansion of system functions,the scheduling relationship between microservices has become very complex,and the overall business logic is scattered on each service node,making it difficult to sort out the complete business execution process.This makes it necessary to take into account service capabilities and process control during development,and cannot focus on business value for development.Moreover,the execution of the overall business lacks verification,so that the system is always faced with unknown risks during operation,and it is impossible to locate the problems in a short period of time.In addition,in terms of team collaboration,it also requires a lot of time and cost to sort out and communicate business processes.In order to solve these problems,this paper develops a microservice orchestration system and applies it to the Internet hospital project.The system conducts business process modeling in a visual way,performs unified orchestration and management of microservices in the orchestration center module,realizes the scheduling of microservices through middleware,and implements functions such as deployment and query of process resources in an interfaced way.This paper uses the Activiti framework as the process engine to develop the orchestration center module,and uses RabbitMQ and Redis middleware to schedule microservices to improve performance.This way of combining the embedded orchestration framework with the middleware to undertake the service scheduling function not only improves the flexibility of microservice orchestration and development,but also guarantees the scheduling performance of the system,which is the innovation of this paper.This paper uses BPMN technology to visualize the core business of the Internet hospital,and realizes the flow function according to the model after completing the microservice access.In addition,this article also uses the SpringBoot framework to develop a process management module,which adds the function of permission verification compared to ready-made orchestration tools such as Netflix Conductor.Finally,the core function of the orchestration center module and the effect after being applied to the Internet hospital project are tested.The business system can be executed in the way defined by the model,and the orchestration layer realizes process verification,service compensation,process polymorphism,Core functions such as event correlation.In terms of service scheduling performance,the use of middleware for service scheduling can ensure that there is no exception in the case of 500 concurrency,and the response time loss of a single node is reduced by more than 50ms compared to before optimization.At the same time,the throughput is increased by more than 30%,and the advantage is further expanded with the increase of the number of threads,and the APDEX value is always greater than 0.7.
Keywords/Search Tags:microservice, choreography, orchestration, workflow, message queue
PDF Full Text Request
Related items