Font Size: a A A

Research And Design Of Government Agency Service System Based On Micro-services

Posted on:2023-07-09Degree:MasterType:Thesis
Country:ChinaCandidate:B K ZhouFull Text:PDF
GTID:2556306914980069Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the economy,the focus of people’s attention has begun to shift to health.In recent years,the slogan of"Healthy China" and the continuous development of "Internet+" have led to the emergence of the "Internet+medical care" model.This model has changed people’s traditional medical concept.Through mobile devices,people can manage their own health anytime,anywhere.Therefore,the market demand for health service APPs has become stronger.This topic comes from a project entrusted by an enterprise.The government agency service system developed can help users to view and manage their own health status online and offline.In order to realize the health service system,this subject adopts the most advanced distributed architecture as the overall structure.According to Domain-Driven Design(DDD),the system is divided into four layers,namely user interface layer,application layer,domain layer,and base layer.And according to the definition of DDD field,the system requirements are divided into user field microservices,information field microservices,service center field microservices and health field microservices.This article will design and implement these four microservices.In terms of key technologies,this topic will use Spring Boot and Redis data cache as the main back-end development framework,use Dubbo as the microservice framework,use Zookeeper to realize the publication and subscription of microservices,and use message queue to realize data communication between application services,use Nginx load balancing to distribute user requests for server resources,and finally deploy each service through Docker container technology.In terms of functional innovation,the system uses Redis to realize the user login authentication function,which solves the uncontrollability of the server to JWT,and adopts the CAS idea to design distributed locks based on the atomicity of lua script execution in Redis to ensure the execution of a single instance of the method,and the grayscale release of the function through the custom load balancing algorithm of Dubbo’s SPI feature.In order to ensure the feasibility of system design and the stability of operation,this subject uses Jmeter to test the system.By simulating the user’s test of different business function operations and concurrent access to users,the functionality of the system can be seen from the test results.Complete and perform well as expected by the system design.
Keywords/Search Tags:health service, distributed, domain-driven design, Spring Boot, microservice
PDF Full Text Request
Related items