Font Size: a A A

The Design And Implementation Of Inspection Report System Based On Micro-service Architecture

Posted on:2021-12-28Degree:MasterType:Thesis
Country:ChinaCandidate:J C GongFull Text:PDF
GTID:2518306506951599Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of information technology in recent years,more and more companies from traditional economy have turned to informatization as a strategic change.Among them,third-party inspection services with the help of information technology have been seeking means to reduce management cost,enhance work efficiency,exert process control,etc.In this paper,an inspection reporting system tailored for third-party inspection agencies was designed and built with micro-service architecture.Starting from real problems in daily practice,this paper analyzed the functional and nonfunctional requirement,clarified the comparative advantages of micro-service architecture over monolithic architecture and specified the technology stack of the reporting system.This paper also established domain-driven design as the guiding approach of our microservice-based system development,thus detailed design,implementation and performance test were further completed.The main work of this paper is as follows:(1)Analysis and design of inspection reporting system based on domain-driven design.Based on use-case scenario analysis conducted for each type of system user according to the business requirements,this paper designed the reporting system with domain modeling method,analyzed and identified every domain element.(2)Micro-service architecture design of inspection reporting system.This paper compared the difference between micro-service architecture and monolithic architecture,and clarified the comparative advantages of micro-service architecture.In the aspect of micro-service architecture design,the system context of micro-service architecture was divided according to domain-driven design methodology.Meanwhile,the architecture design of each and every micro-service application was also accomplished.(3)Technology selection and implementation of the microservice-based system using Spring Cloud.For our microservice-based system with Spring Cloud,this paper adopted the method of a separate front-end and back-end,with single-page application for front-end and Spring Boot for back-end respectively.Moreover,Spring Cloud Gateway,Eureka service discovery components and Hystrix circuit breaker were combined for micro-service governance,Mysql for persistent databse,Mybatis for ORM framework and Redis for cache server.(4)Concurrency and usability testing of the system.At last,this paper deployed the project,carried out concurrency test through Jmeter and scalability test by deploying duplicate service instances.The circuit breaker pattern of the system was also tested by simulating micro-service failures.The test results showed that the inspection reporting system has achieved our design goals.
Keywords/Search Tags:Micro-services, Spring Cloud, Domain Driven Design, Front and Back End Separation, Third Party Inspection Institution
PDF Full Text Request
Related items