Font Size: a A A

Research And Practice Of Legacy System Refactoring Based On Microservice Architecture

Posted on:2020-12-13Degree:MasterType:Thesis
Country:ChinaCandidate:W S LiuFull Text:PDF
GTID:2428330596492296Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the iterative evolution of the software life cycle and continuous expansion of product requirements,the drawbacks of poor scalability and low flexibility of the original monolithic legacy system are becoming more and more obvious.If the production and operation continue,it needs to be refactored from the architecture level.At present,the popular microservice architecture in the industry aims to split the system into a series of microservices with appropriate granularity for independent development and deployment.In addition to meeting system functions,this architecture also significantly improves the non-functional characteristics of the system.Based on the fully investigating of research on microservice refactoring at home and abroad,a set of legacy system refactoring approach based on SpringCloud is proposed in this thesis,which provides method guidance for microservice refactoring and specific implementation of legacy systems.The refactoring approach provides a solution to the key problems in the process of micro-servitization..At the same time,based on the current popular distributed framework SpringCloud,the implementation method is proposed.Based on the refactoring approach proposed above,this thesis carries out the refactor practice for a shopping mall legacy system.After the original system architecture analysis and refactor design,the separation and encapsulation of commodity service,order service,user service,shopping cart service and search service are completed,and the realization of the product details page display,user registration and login,and order creation function of the original system are carried out.Secondly,it deals with the data consistency,exception handling,fault tolerance mechanism,monitoring and other issues in microservice architecture.Related processing.After testing,the refactored system can realize the original function of the system,and the operation efficiency and system availability are significantly improved compared with those before refactoring.The practical results verify the effectiveness of the refactoring approach.
Keywords/Search Tags:legacy system, refactoring method, microservice, SpringCloud
PDF Full Text Request
Related items