Font Size: a A A

Software Architecture Refactoring And Microservice Implementation

Posted on:2022-05-29Degree:MasterType:Thesis
Country:ChinaCandidate:Q Q MiaoFull Text:PDF
GTID:2518306509958279Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid change of business requirements,the requirements for the flexibility,agility and scalability of the system are getting higher and higher,and the shortcomings of traditional monolithic architecture are increasingly prominent.From system architecture perspective,we need to build a system that is more flexible and easily extensible to meet changing requirements.Microservice is a style of software architecture that addresses this need.Refactoring a system into a microservice architecture can reduce the cost of resources for the system to adapt to new environment and new requirements,and improve the availability of the system.Single systems with large access flexibility,obvious changes in business requirements and poor scalability can make full use of micro-services after reconfiguration,and these problems can be solved by deploying micro-services to cloud platforms.The purpose of this thesis is to study the process of reconfiguration from legacy system to microservice architecture,and propose an automatic software architecture reconfiguration method based on reconfigurable microservice description file.In the process of microservice refactoring,partial iterative refactoring is the foundation of all refactoring.This thesis focuses on the study of partial reconfiguration,which reconstructs part of the functions of the legacy system into micro-services through the architecture reconfiguration,and proposes solutions to the problems such as database splitting,data synchronization and microservice realization during the reconfiguration process.Based on the above reconstruction scheme,an online English learning platform was reconstructed in combination with SpringCloud framework.Some functions in the system were reconstructed into microservices,and problems such as database identification and separation,data synchronization,and service implementation were solved.Finally,the restructured system is tested,and the business function of the restructured system is normal and the operation is stable,which improves the availability and scalability of the system,and then verifies the practicability and effectiveness of the restructured method.
Keywords/Search Tags:architecture, microservice, refactoring, SpringCloud
PDF Full Text Request
Related items