Font Size: a A A

Research And Implementation Of SaaS Application Based On Microservice Architecture

Posted on:2020-06-23Degree:MasterType:Thesis
Country:ChinaCandidate:X G NingFull Text:PDF
GTID:2428330575485616Subject:Computer technology
Abstract/Summary:PDF Full Text Request
As a new software service model,Saa S(Software as a service)applications are becoming more and more important in daily production and life.In t he landing process of Saa S application,the traditional single architecture c an not meet the needs of Saa S applications,so the microservice architectur e came into being,and the short board of the single architecture was com plemented,which greatly promoted the development of Saa S applications,but there are still some problems in the microservice architecture.Firstly,w hen building a microservice system,the granularity of a single service is often difficult to define.An immature microservice system will be difficult to maintain with the iteration of it.Secondly,the microservice architectur e is coordinated by a large number of service instances.The management of service instances,and the way in which services are invoked are import ant.Finally,due to the decentralized data storage mode of the microservic e system itself,the system will inevitably generate distributed transactions,and the traditional strong consistent distributed transaction solution will lea d to strong coupling between services,which is against the decoupling con cept of microservice.This article explores the development model of the microservices architectu re under the Saa S service model.Firstly,the boundary division problem of microservices application is studied.According to the characteristics of m icroservice architecture,the division principle of single microservices is for mulated,and the service boundary division scheme based on domain-driven design is provided.Secondly,the scheduling management of services for S aa S applications when the numbers of service instances are large.The desig n of the disordered and inefficient scheduling scheme of the unified metad ata management scheme based on server-side load balancing is pointed out.A service-based unified management scheduling scheme based on client lo ad balancing,and designed a client-based load balancing scheme.Finally,t he paper studies the data consistency in the microservice development proc ess,and proposes two transaction models under the microservice architectu re.The solution based on the BASE(Basically Available,Soft State,Eventual ly Consistent)theory is given.The above research was implemented in a real-world project based on the electronic signature Saa S platform built on the microservice architecture,a nd comprehensive testing showed how to develop and implement a Saa S a pplication for implementing and deploying a micro-service architecture.This paper provides an effective reference for the development of Saa S applic ations based on microservice architecture through the research of microserv ice management framework.
Keywords/Search Tags:Microservices architecture, SaaS application, Domain Driven Design, Distributed transaction
PDF Full Text Request
Related items