Font Size: a A A

Research On Key Technologies Of Microservice Architecture And Implementation Of General Framework

Posted on:2020-04-08Degree:MasterType:Thesis
Country:ChinaCandidate:J H ZhouFull Text:PDF
GTID:2428330596495469Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet,the single architecture can not meet the needs of more and more complex business systems.Early applications are generally developed and delivered with a single architecture.However,with the continuous increase of system business,the whole application becomes very bloated,and the cost of system function expansion and operation and maintenance increases day by day.Therefore,there is an urgent need for a loosely coupled,extensible,highly available,and scalable software architecture to address the problems posed by a single architecture.In recent years,micro service design concept in the IT industry at home and abroad has been widely concerned.It advocates splitting complex monolithic applications into multiple small services with clear business boundaries,each of which can be deployed and run independently,and interacting with each other through some kind of lightweight communication protocol.This article is based on micro service concept,the method based on model analysis of micro service infrastructure,and then to the load balancing module and distributed transaction module is optimized,finally realizes a universal framework for enterprise applications used to solve the problem of micro service infrastructure building,reduces the development cost and maintenance cost of the enterprise.First of all,this paper introduces the micro-service architecture,analyzes the shortcomings of single architecture in the construction of large complex systems and the advantages of micro-services.In view of the current microservice-related technologies,this paper expounds the microservice routing mode,the microservice client elasticity mode,and the microservice construction and deployment mode.Secondly,the load balancing under microservice architecture is optimized.In view of the limitation of the weighted minimum connection number algorithm in the load balancing algorithm,the weight value cannot well reflect the real-time processing capacity of the backend service node,and the connection number cannot reflect the load degree of the server.Based on the above problems,a dynamic weighted load balancing strategy based on the processing capacity is proposed.Then,the distributed transaction module under microservice architecture is optimized.A non-blocking two-phase commit solution based on messageoriented middleware is proposed to solve the problems of low reliability,low efficiency and easy blocking of distributed transaction commit methods.Finally,analyzes the current micro service technology,from an application framework of reliability,stability and ease of use,implements a universal framework for service,for setting up the enterprise's micro service infrastructure,let developers focus on systems of business without having to bear the core service problems with ground to improve the efficiency of the development of the enterprise.
Keywords/Search Tags:Microservice, Load balancing, Distributed transactions, Development framework
PDF Full Text Request
Related items