Distributed configuration updating management method and system and medium
A configuration update and distributed technology, applied in software maintenance/management, software deployment, version control, etc., can solve problems such as data disorder and frequent access to cache servers, so as to improve work efficiency, speed up configuration update speed, and avoid online The effect of the accident
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0064] The embodiment of the present invention provides a distributed configuration update management method, please refer to Figure 1 to Figure 3 , including the following steps:
[0065] S100, initialization:
[0066] S101. Build a cache service:
[0067] Build a cache environment and build a cache service, which is used to publish configuration change messages.
[0068] In order to explain the present invention more clearly, redis is used here to build the cache service, so it is necessary to build the redis environment first, and build the redis cache service; it should be noted that the choice of redis to build the cache service here is only to make a summary of the present invention Examples are used to explain and illustrate, but the protection scope of the present invention cannot be limited accordingly.
[0069] S102. Build a listening thread:
[0070] When the server is started and initialized, a listening thread that can monitor the message channel of the cache...
Embodiment 2
[0094] The embodiment of the present invention provides a distributed configuration update management system, please refer to Figure 4 to Figure 6 , including: initialization module, configuration change module and configuration update module;
[0095] Initialize the module:
[0096] The initialization module is used to build the cache service and listening thread, and perform the message monitoring operation; the initialization module includes building the cache service unit, building the listening thread unit and starting the listening unit;
[0097] Build the cache service unit:
[0098] Build a cache service unit to build a cache service environment and build a cache service;
[0099] Specifically, the cache service unit is constructed to build a cache environment, and a cache service is constructed, and the cache service is used to publish configuration change messages.
[0100] In order to explain the present invention more clearly, redis is used here to build the ca...
Embodiment 3
[0133] Embodiment 3 has a computer-readable storage medium, and the storage medium is used to store computer software instructions used to implement the distributed configuration update management method described in Embodiment 1 above, which includes instructions for distributed configuration update The program set by the management method; specifically, the executable program can be built into the distributed configuration update management system described in Embodiment 2, so that the distributed configuration update management system can execute the built-in executable The program implements the distributed configuration update management method of the first embodiment.
[0134] The serial numbers of the embodiments disclosed in the above-mentioned embodiments of the present invention are only for description, and do not represent the advantages and disadvantages of the embodiments.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


