Font Size: a A A

Optimization And Implementation Of Web Background Development Based On Micro Servicizing

Posted on:2018-07-13Degree:MasterType:Thesis
Country:ChinaCandidate:G M LuoFull Text:PDF
GTID:2348330518996449Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the vigorous development of the Internet, increasing traffic and increasing user demand bring increasing pressure for the development of the Web background. With the project becoming bigger and bigger, The coupling between the various functional modules within the project becomes increasingly tight, which has serious impact on the development,testing, operation and maintenance work. To solve this problem, The current mainstream of the solution is to adopt the concept of service, that dividing the entire background system in accordance with the function into multiple sub-functional modules. In recent years the industry has proposed the concept of micro-services, which presents a complete stack-on-package solution for a single service with the help of a light-weight environment container. In this environment, in order to solve the traditional Web background in the development of various problems,and also to learn from the advantages of service-oriented and micro-services and to address the shortcomings of its amendment, This paper attempts to combine the idea of service and micro-service and put forward a set of micro-service background architecture program.First, this paper analyzes the problems that need to be solved in the development of distributed service system, at the same time, it not only analyzes the pros and cons of current open source solutions and the reason why ZooKeeper is chosen for secondary development but also introduce the basic concept of micro-services and related implementation tools Docker basic knowledge. In addition, the paper also introduces the basic concepts of Flume, Shiro, Gradle. Simultaneously this paper implements Gradle as the project construction tool, builds the basic web framework based on SpringMVC and develops the Shiro-based rights management subsystem and the Flume-based log function subsystem. At last, This paper integrate the project into the "China Mobile business support system information model test platform" project to verify the integrity of the whole architecture and the subsystems of the ideas and integration. And the performance of the new architecture scheme is verified by the test of the concurrent load, memory consumption and response speed of the system based on the micro-service architecture scheme and the traditional Web system.In summary, This paper aims to propose a micro-service-based background design architecture,and provide common module subsystem(log, authority) and business subsystem design scheme and test plan. The scheme is finally applied to the development and testing of China Mobile's business support system information model test platform project.Finally, the functional availability and performance of the project based on the new architecture scheme in the actual production environment are compared and the validity and correctness of the scheme are obtained by comparing the performance and availability of the architecture before and after the optimization.
Keywords/Search Tags:servitization, micro service, zookeeper, docker, shiro, flume, gradle
PDF Full Text Request
Related items