Font Size: a A A

Research On Microservice Architecture And Implementation Of Community Life Service Platform

Posted on:2021-03-17Degree:MasterType:Thesis
Country:ChinaCandidate:Y G FangFull Text:PDF
GTID:2428330620464199Subject:Engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the society,higher requirements are put forward for software architecture.A good software architecture should be able to continuously and rapidly respond to the changes of market demand.The traditional single architecture has poor business scalability and feasibility due to the serious coupling of functional codes It is difficult to carry out good business expansion and requirement iteration due to poor maintainability and other shortcomings.The microservice architecture style of distributed development emerges and is widely used.With the continuous promotion of urbanization,the number and scale of residential areas are increasing year by year,and the competition of property companies is fierce.Good user reputation is essential for the normal operation and long-term development of property companies.Providing high-quality service is an important way to obtain user reputation.Based on the above considerations,this thesis develops a community life service platform based on micro service architecture for property management companies,the platform not only provides basic property services,but also meets the diversified needs of households by connecting households and service providers,and improves users' reputation by providing high-quality services.The main research work of this thesis is as follows.First,this thesis proceeds from the evolution of software architecture,clarifies the background and characteristics of microservice architecture,and how to use microservice architecture for software development.Second,this thesis comprehensively analyzes the functional and nonfunctional requirements of the community life service platform,divides it into multiple services according to the micro service division mode,and designs the micro service architecture of the project.Third,this thesis has carried on the detailed design to the platform and finally realized it,includes mini progress for community residents,mini progress for service providers and the Web management side.For the authentication and authentication required for each service in microservices,a unified authentication and authentication at the gateway is designed and implemented.For the problem that the log distribution in the microservice architecture is difficult to manage,a unified log collection management module is designed.In order to improve system performance,a dynamic weighted load balancing algorithm based on server load is designed and implemented.In order to speed up the response speed and reduce the pressure on the database,the system uses Redis cache.For the problem of data consistency between the cache and the database,a synchronization scheme is designed and implemented to ensure the final consistency of the data.In order to reduce the pressure of database query,cuckoo filter is selected and optimized.This project uses front-end and back-end separation technologies,and uses AJAX requests to achieve front-end and back-end data interaction.The back-end microservices are developed based on the Spring Boot framework,and the components used are mainly the latest Spring Cloud Alibaba technology stack.Finally,the functional and non functional tests of the whole system are carried out.The test results show that the community life service platform has high reliability,can achieve rapid response in the case of large concurrent volume,provide stable services for users,and achieve the design goal.
Keywords/Search Tags:microservice architecture, life service platform, load balancing, Spring Cloud Alibaba
PDF Full Text Request
Related items