Font Size: a A A

Design And Implementation Of Configuration System In Distributed Environment

Posted on:2020-02-14Degree:MasterType:Thesis
Country:ChinaCandidate:H WangFull Text:PDF
GTID:2518306104496014Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the Internet and the rapid growth of the number of users,the scale of software has also expanded rapidly,and more and more applications are deployed in a distributed environment.In the software architecture,in order to ensure the flexibility and scalability,more and more functions are extracted into configurations,and a requirement can be completed by adding configuration,which greatly improves the development efficiency.However,in the current situation,configuration changes need to be manually modified and deployed by the operator,which is cumbersome,error-prone,and inefficient.Therefore,a powerful,secure and stable configuration management system is very important for software developers.The configuration management system,based on Etcd and Redis,implements an efficient application configuration management system in a distributed environment,which can manage the configuration of many applications.The whole system is mainly divided into three modules: web module,server module and configuration client module.The web module is responsible for providing front-end page support,using vue and Element-ui implementation,independent deployment,and JSON HTTP communication with the server module.The server module is responsible for the core ability of configuring,including storage,publishing,monitoring,version management,etc.using the Springboot framework.The configuration client model is integrated as a third-party library in the user's application,providing configuration read and other functions,and the configuration client supports multiple programming languages.Configuring persistence in Mysql,the hot-release ability of the configuration is implemented through the notification subscription function of Etcd.The user does not need to restart the application,which greatly improves the deployment efficiency and supports grayscale publishing.For the configuration monitoring function,the distributed lock of Etcd,the system server cluster adopts the Master-Slave mode,and the Master assigns the monitoring task to the Slave execution,which improves the monitoring efficiency.All the data of the system is stored in Mysql and Redis.The system is stateless.When the pressure on the server is too large,it can be directly expanded.In addition,the system provides a very strong scalability,leaving a lot of hook methods in the code,so that users can add custom features.The configuration management system solves the configuration management problem in a distributed environment.The hot deployment improves configuration deployment efficiency,simplifies configuration operations by providing a unified operation platform,and enhances system security through configuration monitoring.In addition,the system also has good scalability and is convenient for users to expand.
Keywords/Search Tags:Configuration Management, Distributed System, Redis, Etcd
PDF Full Text Request
Related items