CN115065686B - Configuration method, device and system of distributed load balancing system - Google Patents

Configuration method, device and system of distributed load balancing system Download PDF

Info

Publication number
CN115065686B
CN115065686B CN202210907016.5A CN202210907016A CN115065686B CN 115065686 B CN115065686 B CN 115065686B CN 202210907016 A CN202210907016 A CN 202210907016A CN 115065686 B CN115065686 B CN 115065686B
Authority
CN
China
Prior art keywords
load balancing
message
configuration
data
resources
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210907016.5A
Other languages
Chinese (zh)
Other versions
CN115065686A (en
Inventor
谭杰丰
吴纯波
曾炜
李杰一
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202210907016.5A priority Critical patent/CN115065686B/en
Publication of CN115065686A publication Critical patent/CN115065686A/en
Application granted granted Critical
Publication of CN115065686B publication Critical patent/CN115065686B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Abstract

The application provides a configuration method, a device and a system of a distributed load balancing system, which can be used in the financial field or other fields, and the method comprises the following steps: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: resources with data change and corresponding changed data; detecting whether resources with data change exist in the monitoring resource list, if so, packaging the resources with data change and the changed data into a target message release message; and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device completes the configuration of the target distributed load balancing system according to the target message release message. The method and the device can improve the efficiency of load balancing system configuration, save system resources and improve the reliability of load balancing service.

Description

Configuration method, device and system of distributed load balancing system
Technical Field
The present disclosure relates to the field of load balancing technologies, and in particular, to a method, an apparatus, and a system for configuring a distributed load balancing system.
Background
Load balancing refers to the fact that loads originally concentrated on a single server are distributed to a plurality of servers, so that system performance is improved, system expansibility is improved, and single-point faults are solved. In a distributed load balancing system, in order to ensure that multiple load balancing devices simultaneously provide the same and non-differential service to the outside, the same configuration file must be issued to multiple load balancing devices to ensure that the configurations of the multiple devices are completely the same.
At present, a common distributed load balancing system is configured in such a way that a configuration generating module deployed with each device in the distributed load balancing system is used for regularly pulling full data to a configuration storage system according to a fixed time interval for all monitoring resources, a configuration template is combined to generate a temporary load balancing configuration file, the temporary load balancing configuration file is compared with a stock load balancing configuration file, and if the temporary load balancing configuration file and the stock load balancing configuration file are different, the temporary load balancing configuration file is covered with the stock load balancing configuration file, so that dynamic configuration updating is realized. During the running of the configuration generating module, the above process is continuously and circularly executed, and in addition, the configuration registering system performs data writing and updating operation on the configuration storage system according to the requirement.
When only the data of the individual listening resources change, the configuration generating module performs full data pulling to the configuration storage system for all the listening resources, and the mode for generating the configuration file has the problem of low efficiency. Under the scene that the load balancing configuration quantity is large, the problems are more obvious, and difficulties and challenges are brought to timely completing configuration updating of the distributed load balancing system. When a scene that the load balancing configuration needs to be updated, such as application container fault restarting, occurs, part of service requests are very likely to be distributed to the load balancing equipment which has not completed configuration updating, and further service transaction failure is caused. In addition, the configuration generation module performs full data pulling at regular time intervals, so that the system belongs to invalid pulling under the scene that the data of all monitoring resources are unchanged, and a large amount of unnecessary consumption is generated on resources such as a CPU (central processing unit), a memory and the like of the distributed load balancing system, so that the load balancing performance is indirectly influenced.
Disclosure of Invention
Aiming at least one problem in the prior art, the application provides a configuration method, a device and a system of a distributed load balancing system, which can improve the configuration efficiency of the load balancing system and save system resources, thereby improving the reliability of load balancing service.
In order to solve the technical problems, the application provides the following technical scheme:
in a first aspect, the present application provides a method for configuring a distributed load balancing system, including:
receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data;
detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message;
and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message, and the configuration of the target distributed load balancing system is completed.
Further, before the sending the target message publishing message to each load balancing device in the target distributed load balancing system, the method further includes:
Receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
according to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data;
and sending the monitoring resource data to each load balancing device so that each load balancing device generates the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data.
Further, the generating the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data includes:
generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data;
and carrying out configuration grammar checking on the first temporary configuration file, and if the configuration grammar checking is passed, determining the first temporary configuration file as the pre-stored configuration file.
Further, before the sending the target message publishing message to each load balancing device in the target distributed load balancing system, the method further includes:
When the target distributed load balancing system is monitored to be started, receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
according to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data;
and sending the monitoring resource data to each load balancing device so that each load balancing device updates the pre-stored configuration file according to the monitoring resource data.
Further, the step of updating the locally pre-stored configuration file according to the target message release message to complete the configuration of the target distributed load balancing system includes:
generating a second temporary configuration file according to the target message release message, the pre-stored load balancing configuration template and the local cache data;
checking the configuration grammar of the second temporary configuration file, and if the configuration grammar is checked to be passed, backing up the pre-stored configuration file;
and covering a locally pre-stored configuration file by using the second temporary configuration file to complete the configuration of the target distributed load balancing system.
Further, the receiving the message publishing message sent by the configuration storage system and the message subscribing message sent by the target distributed load balancing system includes:
receiving a message subscription message sent by load balancing equipment in a target distributed load balancing system;
according to a consistency algorithm, electing to obtain a main configuration storage device in a configuration storage system, wherein the main configuration storage device is used for receiving resources with data change and corresponding changed data sent by a configuration registration system, packaging the resources with the data change and the corresponding changed data into a message release message, and synchronizing the message release message to each configuration storage device in the configuration storage system;
and receiving the message release message sent by the configuration storage equipment.
Further, the message publishing message is obtained by packaging the resource with the changed data and the corresponding changed data received by the interface of the configuration storage system.
In a second aspect, the present application provides a configuration apparatus of a distributed load balancing system, including:
the receiving module is used for receiving a message release message sent by the configuration storage system and a message subscription message sent by the target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data;
The detection module is used for detecting whether the resources with data change exist in the message subscription message, if so, the resources with data change and the corresponding changed data are packaged into a target message release message;
and the configuration module is used for sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a locally pre-stored configuration file according to the target message release message to complete the configuration of the target distributed load balancing system.
Further, the configuration device of the distributed load balancing system further comprises:
the message receiving module is used for receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
the acquisition module is used for acquiring the data of each monitoring resource in the message subscription message according to each resource and the respective data thereof sent by the configuration storage system, and forming the monitoring resource data by each monitoring resource and the respective data thereof;
and the generation module is used for sending the monitoring resource data to each load balancing device so that each load balancing device generates the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data.
Further, the generating module includes:
the first generation unit is used for generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data;
the first checking unit is used for checking the configuration grammar of the first temporary configuration file, and if the configuration grammar passes the check, the first temporary configuration file is determined to be the pre-stored configuration file.
Further, the configuration device of the distributed load balancing system further comprises:
the monitoring module is used for receiving a message subscription message sent by the load balancing equipment, a plurality of resources sent by the configuration storage system and respective data thereof when the target distributed load balancing system is monitored to be started;
the updating module is used for obtaining the data of each monitoring resource in the message subscription message according to each resource and the respective data thereof sent by the configuration storage system, and forming the monitoring resource data by each monitoring resource and the respective data thereof;
and the sending module is used for sending the monitoring resource data to each load balancing device so that each load balancing device can update the pre-stored configuration file according to the monitoring resource data.
Further, the configuration module includes:
the second generating unit is used for generating a second temporary configuration file according to the target message release message, the pre-stored load balancing configuration template and the local cache data;
the second checking unit is used for checking the configuration grammar of the second temporary configuration file, and if the configuration grammar passes the check, the pre-stored configuration file is backed up;
and the configuration unit is used for covering the locally pre-stored configuration file by applying the second temporary configuration file to complete the configuration of the target distributed load balancing system.
Further, the receiving module includes:
the first receiving unit is used for receiving the message subscription message sent by the load balancing equipment in the target distributed load balancing system;
the system comprises an election unit, a configuration registration unit and a configuration storage system, wherein the election unit is used for electing a main configuration storage device in the configuration storage system according to a consistency algorithm, the main configuration storage device is used for receiving resources with data change and corresponding changed data sent by the configuration registration system, packaging the resources into a message release message and synchronizing the message release message to each configuration storage device in the configuration storage system;
And the second receiving unit is used for receiving the message release message sent by the configuration storage equipment.
In a third aspect, the present application provides a configuration system of a distributed load balancing system, including: the system comprises a distributed load balancing system, a configuration registration system, a configuration storage system and a configuration device of the distributed load balancing system;
the distributed load balancing system comprises: a plurality of load balancing devices; the configuration storage system includes: a plurality of configuration storage devices and message issuing devices;
the configuration registration system is in communication connection with each configuration storage device, each configuration storage device is in communication connection with the message issuing device, and the message issuing device and each load balancing device are respectively in communication connection with the configuration device.
In a fourth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the method for configuring the distributed load balancing system when the program is executed.
In a fifth aspect, the present application provides a computer readable storage medium having stored thereon computer instructions that, when executed, implement a method of configuring a distributed load balancing system as described.
As can be seen from the above technical solutions, the present application provides a method, an apparatus, and a system for configuring a distributed load balancing system. Wherein the method comprises the following steps: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message; the target message release message is sent to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message to complete the configuration of the target distributed load balancing system, the configuration efficiency of the load balancing system can be improved, system resources can be saved, and the reliability of load balancing service can be improved; in particular, the dynamic updating efficiency of the load balancing configuration can be improved in the running process of the distributed load balancing system, and the problem that service transaction fails due to untimely updating of the configuration of each device under the distributed load balancing system is solved; unnecessary data pulling and configuration generation under the original mechanism can be avoided, the consumption of resources such as CPU, memory and the like of the distributed load balancing system can be reduced, and more resources can be allocated for providing load balancing service with higher performance.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flow chart of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 2 is a flowchart illustrating steps 201 to 203 of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 3 is a flowchart illustrating steps 301 to 303 of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 4 is a flowchart illustrating steps 401 to 403 of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 5 is a flowchart illustrating steps 501 to 503 of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 6 is a schematic structural diagram of a configuration device of the distributed load balancing system in the embodiment of the present application;
FIG. 7 is a schematic diagram of a configuration system of a distributed load balancing system in an application example of the present application;
fig. 8 is a schematic structural diagram of a load balancing device in an application example of the present application;
FIG. 9 is a flow chart of a method for configuring a distributed load balancing system in an application example of the present application;
fig. 10 is a schematic block diagram of a system configuration of an electronic device according to an embodiment of the present application.
Detailed Description
In order to better understand the technical solutions in the present specification, the following description will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order to facilitate understanding of the present embodiment, technical contents related to the present embodiment are described below.
Distributed system: a system in which hardware or software components are distributed among different network computers and communicate and coordinate with each other only through messaging.
Load balancing: load originally concentrated on a single server is distributed to a plurality of servers, so that the system performance is improved, the system expansibility is improved, and the single-point fault is solved.
Publish-subscribe: one-to-many dependencies between objects, when the state of an object changes, all objects that depend on it will be notified of the state change.
In order to solve the problems of low efficiency and invalid pulling of the existing dynamic configuration updating mode of the distributed load balancing system, and avoid the conditions of untimely configuration updating and useless resource consumption of each device under the distributed load balancing system, the application provides a configuration method, a device and a system of the distributed load balancing system, which can realize that a configuration generating module only carries out data pulling on the monitored and changed resources through a publishing and subscribing mode, and generate the latest load balancing configuration file by combining local cache data after the first full data pulling, so that the dynamic updating efficiency of the load balancing configuration can be improved.
Based on this, in order to improve the efficiency of load balancing system configuration and save system resources, and further improve the reliability of load balancing service, the embodiment of the present application provides a configuration apparatus of a distributed load balancing system, where the apparatus may be a server or a client device, and the client device may include a smart phone, a tablet electronic device, a network set-top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle device, an intelligent wearable device, and so on. Wherein, intelligent wearing equipment can include intelligent glasses, intelligent wrist-watch and intelligent bracelet etc..
In practical applications, the configuration of the distributed load balancing system may be performed on the server side as described above, or all operations may be performed in the client device. Specifically, the selection may be made according to the processing capability of the client device, and restrictions of the use scenario of the user. The present application is not limited in this regard. If all operations are performed in the client device, the client device may further include a processor.
The client device may have a communication module (i.e. a communication unit) and may be connected to a remote server in a communication manner, so as to implement data transmission with the server. The server may include a server on the side of the task scheduling center, and in other implementations may include a server of an intermediate platform, such as a server of a third party server platform having a communication link with the task scheduling center server. The server may include a single computer device, a server cluster formed by a plurality of servers, or a server structure of a distributed device.
Any suitable network protocol may be used for communication between the server and the client device, including those not yet developed at the filing date of this application. The network protocols may include, for example, TCP/IP protocol, UDP/IP protocol, HTTP protocol, HTTPS protocol, etc. Of course, the network protocol may also include, for example, RPC protocol (Remote Procedure Call Protocol ), REST protocol (Representational State Transfer, representational state transfer protocol), etc. used above the above-described protocol.
It should be noted that, the configuration method, device and system of the distributed load balancing system disclosed in the present application may be used in the financial technical field, and may also be used in any field other than the financial technical field, and the configuration method, device and application field of the distributed load balancing system disclosed in the present application are not limited.
The following examples are presented in detail.
In order to improve the efficiency of load balancing system configuration and save system resources, and further improve the reliability of load balancing service, the embodiment provides a method for configuring a distributed load balancing system, where the execution subject is a configuration device of the distributed load balancing system, and the configuration device of the distributed load balancing system includes, but is not limited to, a server, as shown in fig. 1, and the method specifically includes the following:
step 101: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: and configuring resources with data change and corresponding changed data in the storage system.
Specifically, the message publishing message may be obtained by encapsulating the resource with the changed data and the corresponding changed data received by the interface of the configuration storage system from the configuration registration system; the configuration device of the distributed load balancing system can be respectively in communication connection with each load balancing device in the configuration storage system and the target distributed load balancing system, the configuration storage system can comprise at least one server, and each load balancing device can be respectively a server; message subscription messages sent by all load balancing devices in the target distributed load balancing system can be received, wherein the message subscription messages comprise monitoring resource lists, and the monitoring resource lists corresponding to all the load balancing devices are the same; the monitoring resource list can contain various monitoring resources, namely resources in the monitoring resource list, such as forwarding strategies, load balancing algorithms, container IP addresses and port numbers, health check strategies, session maintenance strategies, request timeout time and the like; the configuration registration system can acquire dynamic resource configuration related to load balancing, actively call an API interface exposed by the configuration storage system to perform data writing and updating operation on the designated resources, change the data of the resources in the configuration storage system after the updating operation is completed, and package the resources with the changed data and the corresponding changed data into a message release message to be sent to a configuration device of the load balancing system.
Step 102: and detecting whether the resources with the data change exist in the message subscription message, and if so, packaging the resources with the data change and the corresponding changed data into a target message release message.
Specifically, if the listening resource in the message subscription message includes the resource with the data change, the resource with the data change and the corresponding changed data are encapsulated into a target message publishing message.
For example, the list of listening resources in the message subscription message includes: forwarding policy, back-end server IP address, port, domain name, container address, request timeout time and other resources; the configuring the resources in the storage system comprises: forwarding strategy, back-end server IP address, port, domain name, container address, request timeout time, etc.; the resources of the current data change are the IP address of the back-end server and the request timeout time, and the changed data corresponding to the IP address of the back-end server are: * 101.105.66, the changed data corresponding to the request timeout is: 10 seconds; it can be seen that, in this example, the listening resource list includes the resource with the data change: the IP address of the back-end server and the request timeout time; the backend server IP address 101.105.66 and request timeout time of 10 seconds may be encapsulated as a target message publication message.
Step 103: and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message, and the configuration of the target distributed load balancing system is completed.
Specifically, the pre-stored configuration file may include: monitoring each resource in the resource list and corresponding data thereof; the data corresponding to the resource with the data change can be replaced by the changed data corresponding to the resource with the data change in the pre-stored configuration file, so that the synchronization of the configuration files in each load balancing device is completed.
Further, the message subscription message may further include: the unique identifier of each load balancing device; correspondingly, the sending the target message publishing message to each load balancing device in the target distributed load balancing system includes: and sending the target message release message to the load balancing equipment corresponding to each equipment unique identifier.
To further improve the reliability of generating the configuration file, referring to fig. 2, in an embodiment of the present application, before step 103, the method further includes:
Step 201: and receiving the message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system.
Specifically, the configuration registration system can acquire dynamic resource configuration related to load balancing, actively call an externally exposed API interface of the configuration storage system to perform data writing operation on the designated resources, and after the writing operation is completed, all the resources in the configuration storage system and respective data thereof can be sent to a configuration device of the load balancing system; the resources in the configuration storage system may include all listening resources in the list of listening resources.
Step 202: and according to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data.
Step 203: and sending the monitoring resource data to each load balancing device so that each load balancing device generates the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data.
Specifically, the pre-stored load balancing configuration template may be provided with configuration item information of the resource and the data thereof, so that the resource and the data thereof may be configured according to the pre-stored load balancing configuration template, and a corresponding configuration file may be generated.
In order to further improve the reliability of generating the configuration file, in an embodiment of the present application, generating the pre-stored configuration file according to the pre-stored load balancing configuration template and the listening resource data in step 203 includes:
generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data; and carrying out configuration grammar checking on the first temporary configuration file, and if the configuration grammar checking is passed, determining the first temporary configuration file as the pre-stored configuration file.
In order to improve the reliability of the configuration of the distributed load balancing system at startup, referring to fig. 3, in an embodiment of the present application, before step 103, the method further includes:
step 301: and when the target distributed load balancing system is monitored to be started, receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system.
Step 302: and according to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data.
Step 303: and sending the monitoring resource data to each load balancing device so that each load balancing device updates the pre-stored configuration file according to the monitoring resource data.
Specifically, a third temporary configuration file may be generated according to a pre-stored load balancing configuration template and the monitoring resource data; and carrying out configuration grammar checking on the third temporary configuration file, and if the configuration grammar checking is passed, applying the third temporary configuration file to cover the pre-stored configuration file.
To improve the reliability of the configuration of the distributed load balancing system, referring to fig. 4, in one embodiment of the present application, step 103 includes:
step 401: and generating a second temporary configuration file according to the target message release message, the pre-stored load balancing configuration template and the local cache data.
Specifically, the local cache data may include resources and data in the pre-stored configuration file, and may be updated when the pre-stored configuration file is generated and updated each time.
Step 402: and carrying out configuration grammar checking on the second temporary configuration file, and if the configuration grammar checking is passed, backing up the pre-stored configuration file.
Step 403: and covering a locally pre-stored configuration file by using the second temporary configuration file to complete the configuration of the target distributed load balancing system.
To ensure consistency of the data of the configuration storage system and ensure reliability of the message transmission process, referring to fig. 5, in one embodiment of the present application, step 101 includes:
step 501: and receiving a message subscription message sent by load balancing equipment in the target distributed load balancing system.
Step 502: according to the consistency algorithm, a main configuration storage device in the configuration storage system is selected, and the main configuration storage device is used for receiving the resources with data change and the corresponding changed data sent by the configuration registration system, packaging the resources into a message release message, and synchronizing the message release message to each configuration storage device in the configuration storage system.
Step 503: and receiving the message release message sent by the configuration storage equipment.
Specifically, a message publishing message sent by any configuration storage device in the configuration storage system can be received.
In order to improve the efficiency of configuration of a load balancing system and save system resources and further improve the reliability of a load balancing service, in terms of software, the present application provides an embodiment of a configuration device of a distributed load balancing system for implementing all or part of the content in a configuration method of the distributed load balancing system, referring to fig. 6, where the configuration device of the distributed load balancing system specifically includes the following contents:
The receiving module 61 is configured to receive a message publishing packet sent by the configuration storage system and a message subscribing packet sent by the target distributed load balancing system, where the message publishing packet includes: the resources with data change in the configuration storage system and the corresponding changed data;
the detection module 62 is configured to detect whether the message subscription packet contains the resource with the data change, if yes, encapsulate the resource with the data change and the corresponding changed data into a target message publishing packet;
and the configuration module 63 is configured to send the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a configuration file pre-stored locally according to the target message release message, and completes configuration of the target distributed load balancing system.
Specifically, the message publishing message is obtained by packaging the resource with the changed data and the corresponding changed data received by the interface of the configuration storage system.
In one embodiment of the present application, the configuration device of the distributed load balancing system further includes:
The message receiving module is used for receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
the acquisition module is used for acquiring the data of each monitoring resource in the message subscription message according to each resource and the respective data thereof sent by the configuration storage system, and forming the monitoring resource data by each monitoring resource and the respective data thereof;
and the generation module is used for sending the monitoring resource data to each load balancing device so that each load balancing device generates the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data.
In one embodiment of the present application, the generating module includes:
the first generation unit is used for generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data;
the first checking unit is used for checking the configuration grammar of the first temporary configuration file, and if the configuration grammar passes the check, the first temporary configuration file is determined to be the pre-stored configuration file.
In one embodiment of the present application, the configuration device of the distributed load balancing system further includes:
The monitoring module is used for receiving a message subscription message sent by the load balancing equipment, a plurality of resources sent by the configuration storage system and respective data thereof when the target distributed load balancing system is monitored to be started;
the updating module is used for obtaining the data of each monitoring resource in the message subscription message according to each resource and the respective data thereof sent by the configuration storage system, and forming the monitoring resource data by each monitoring resource and the respective data thereof;
and the sending module is used for sending the monitoring resource data to each load balancing device so that each load balancing device can update the pre-stored configuration file according to the monitoring resource data.
In one embodiment of the present application, the configuration module includes:
the second generating unit is used for generating a second temporary configuration file according to the target message release message, the pre-stored load balancing configuration template and the local cache data;
the second checking unit is used for checking the configuration grammar of the second temporary configuration file, and if the configuration grammar passes the check, the pre-stored configuration file is backed up;
and the configuration unit is used for covering the locally pre-stored configuration file by applying the second temporary configuration file to complete the configuration of the target distributed load balancing system.
In one embodiment of the present application, the receiving module includes:
the first receiving unit is used for receiving the message subscription message sent by the load balancing equipment in the target distributed load balancing system;
the system comprises an election unit, a configuration registration unit and a configuration storage system, wherein the election unit is used for electing a main configuration storage device in the configuration storage system according to a consistency algorithm, the main configuration storage device is used for receiving resources with data change and corresponding changed data sent by the configuration registration system, packaging the resources into a message release message and synchronizing the message release message to each configuration storage device in the configuration storage system;
and the second receiving unit is used for receiving the message release message sent by the configuration storage equipment.
The embodiment of the configuration device of the distributed load balancing system provided in the present disclosure may be specifically used to execute the processing flow of the embodiment of the configuration method of the distributed load balancing system, and the functions thereof are not described herein again, and may refer to the detailed description of the embodiment of the configuration method of the distributed load balancing system.
In order to improve the efficiency of load balancing system configuration and save system resources, and further improve the reliability of load balancing service, the present application provides an embodiment of a configuration system of a distributed load balancing system, where in this embodiment, the configuration system includes: the system comprises a distributed load balancing system, a configuration registration system, a configuration storage system and a configuration device of the distributed load balancing system; the distributed load balancing system comprises: a plurality of load balancing devices; the configuration storage system includes: a plurality of configuration storage devices and message issuing devices; the configuration registration system is in communication connection with each configuration storage device, each configuration storage device is in communication connection with the message issuing device, and the message issuing device and each load balancing device are respectively in communication connection with the configuration device.
Specifically, both the configuration storage device and the message publishing device may be servers.
To further illustrate the present solution, the present application provides an application example of a configuration system of a distributed load balancing system, as shown in fig. 7, in the present application example, the configuration system includes: a configuration registration system 11, a configuration storage system 12, a distributed load balancing system 15, and an independently deployed message channel module 01; the configuration storage system 12 consists of a plurality of configuration storage devices 13 and a message issuing module 14; the distributed load balancing system 15 is composed of several load balancing devices 16, as shown in fig. 8, the load balancing devices 16 may include: a message subscription module 17, a configuration generation module 18 and a configuration rollback module 19; the function implemented by the message channel module 01 may be equivalent to the function implemented by the configuration device of the distributed load balancing system, and the function implemented by the message publishing module 14 may be equivalent to the function implemented by the message publishing device.
Configuration registration system 11: dynamic parameter configuration related to load balancing, such as a container address, can be obtained, and the externally exposed API interface of the configuration storage system 12 is actively called to perform data writing and updating operations on the designated resources.
Configuration storage system 12: the distributed key value storage system comprises a plurality of configuration storage devices 13, provides high-availability and strong-consistency data storage service, can support operations such as data query, writing, updating and deleting by externally exposing an API interface, and is provided with an embedded message publishing module 14.
Configuration storage device 13: all data are persisted in a local hard disk and a memory, and a master node is elected through a consistency algorithm, so that the consistency of cluster data is ensured.
Message publishing module 14: receiving a resource list with changed data sent by the configuration storage device 13, packaging the resource list into a message release message, and sending the message release message to the message channel module 01; the resource list with the data change can include the resource with the data change and the data thereof.
Distributed load balancing system 15: is comprised of a number of load balancing devices 16 that provide high availability, high performance load balancing services.
Load balancing device 16: load balancing services are provided with an embedded message subscription module 17, a configuration generation module 18, and a configuration rollback module 19.
Message subscription module 17: receiving the listening resource list sent by the configuration generating module 18, packaging the listening resource list into a message subscription message, and sending the message subscription message to the message channel module 01; in addition, the message publishing message forwarded by the message channel module 01 is received, wherein the message publishing message contains a resource list with data change, and the message publishing message is analyzed and the resource list with the data change is sent to the configuration generating module 18.
Configuration generation module 18: and pulling the data of the monitored resources from the configuration storage system, combining the configuration template with the local cache data, generating a temporary configuration file and performing configuration grammar check, and if the configuration grammar check is passed and the stock configuration file exists, backing up the stock configuration file, and then moving the temporary configuration file to a designated path to cover the stock configuration file so as to realize dynamic configuration update.
Configuration rollback module 19: the API interface is exposed externally, the backup configuration file is covered by the support external calling interface, and configuration rollback can be realized under an abnormal scene.
Message channel module 01: the message publishing message and the message subscribing message respectively sent by the message publishing module 14 and the message subscribing module 17 are received. After the relationship between publishing and subscribing is clarified, each time a message publishing message sent by the message publishing module 14 is received, after filtering and screening, the message publishing message containing the resource list monitored by the configuration generating module 18 is forwarded to the message subscribing module 17 of each load balancing device 16 in the distributed load balancing system 15.
As shown in fig. 9, to further illustrate the present solution, in combination with the configuration system of the distributed load balancing system provided by the above application example, the present application provides an application example of a configuration method of the distributed load balancing system, and specific processing steps are as follows:
Step 021: after the configuration generation module 18 of each load balancing device 16 deployed in the distributed load balancing system 15 is started, the monitored resource list is sent to the message subscription module 17, meanwhile, the data of the monitored resource list is pulled to the configuration storage system 12 and cached locally, a temporary configuration file is generated by combining with a configuration template, configuration grammar verification is carried out, if the configuration grammar verification is passed, and the storage configuration file exists, the storage configuration file is backed up first, then the temporary configuration file is moved to a specified path to cover the storage configuration file, and the first configuration update after the configuration generation module 18 is started is completed.
Step 022: message subscription, the message subscription module 17 receives a monitoring resource list sent by the configuration generation module 18 of each load balancing device 16 in the distributed load balancing system 15, and records the IP address of each load balancing device 16; the IP address of each load balancing device 16 and its configuration generating module 18 monitor the resource list, package the resource list into a message subscription message, and send the message subscription message to the message channel module 01.
Step 023: when the configuration registration system 11 senses that the dynamic configuration parameters of load balancing change, actively calling an externally exposed API interface of the configuration storage system 12 to perform data writing and updating operation on the appointed resource; the message distribution module 14 in the configuration storage system 12 receives the resource list of the presence data change sent by the configuration storage device 13, encapsulates it into a message distribution message, and sends it to the message channel module 01.
Step 024: after the message channel module 01 identifies the relationship between publishing and subscribing, it filters the message publishing message sent by the message publishing module 14, and forwards the message publishing message containing the resource list monitored by the configuration generating module 18 to the message subscribing module 17 of each load balancing device 16 in the distributed load balancing system 15.
Step 025: the message subscription module 17 of each load balancing device 16 in the distributed load balancing system 15 analyzes the message publishing message sent by the message channel module 01, and sends the resource list with data change to the configuration generating module 18 deployed by the same machine.
Step 026: updating stock configuration, after the configuration generating module 18 of each load balancing device 16 in the distributed load balancing system 15 acquires a resource list with data change, pulling the data of the resource list through an API interface of the configuration storage system 12, generating a temporary configuration file by combining a configuration template and local cache data, checking a configuration grammar, if the configuration grammar passes the check, backing up the stock load balancing configuration file first, and then covering the temporary load balancing configuration file with the stock load balancing configuration file to realize dynamic configuration update; data pulled from configuration storage system 12 is additionally updated to the local cache.
As can be seen from the above description, the configuration method, device and system of the distributed load balancing system provided by the present application can improve the efficiency of load balancing system configuration and save system resources, so as to improve the reliability of load balancing service; in particular, the dynamic updating efficiency of the load balancing configuration can be improved in the running process of the distributed load balancing system, and the problem that service transaction fails due to untimely updating of the configuration of each device under the distributed load balancing system is solved; unnecessary data pulling and configuration generation under the original mechanism can be avoided, the consumption of resources such as CPU, memory and the like of the distributed load balancing system can be reduced, and more resources can be allocated for providing load balancing service with higher performance.
Fig. 10 is a schematic physical structure of an electronic device according to an embodiment of the present invention, as shown in fig. 10, the electronic device may include: a processor (processor) 401, a communication interface (Communications Interface) 402, a memory (memory) 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404. The processor 401 may call logic instructions in the memory 403 to perform the following method: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message; and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message, and the configuration of the target distributed load balancing system is completed.
Further, the logic instructions in the memory 403 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The present embodiment discloses a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the methods provided by the above-described method embodiments, for example comprising: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message; and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message, and the configuration of the target distributed load balancing system is completed.
The present embodiment provides a computer-readable storage medium storing a computer program that causes the computer to execute the methods provided by the above-described method embodiments, for example, including: receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message; and sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message, and the configuration of the target distributed load balancing system is completed.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In the description of the present specification, reference to the terms "one embodiment," "one particular embodiment," "some embodiments," "for example," "an example," "a particular example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method for configuring a distributed load balancing system, wherein the method is applied to a configuration device of the distributed load balancing system, and comprises the following steps:
receiving a message release message sent by a configuration storage system and a message subscription message sent by a target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; the message subscription message comprises: monitoring resource lists, wherein the monitoring resource list corresponding to each load balancing device is the same; the monitoring resource list contains a plurality of monitoring resources, and the monitoring resources comprise: forwarding policy, load balancing algorithm, container IP address and port number, health check policy, session hold policy, and request timeout time;
detecting whether the resources with data change exist in the message subscription message, if so, packaging the resources with data change and the corresponding changed data into a target message release message;
the target message release message is sent to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a local pre-stored configuration file according to the target message release message to complete the configuration of the target distributed load balancing system;
The message issuing message sent by the configuration storage system is received and comprises:
the configuration registration system acquires dynamic resource configuration related to load balancing, actively calls an API interface exposed outside by the configuration storage system to perform data writing and updating operation on the designated resources, and changes the data of the resources in the configuration storage system after the updating operation is completed;
according to a consistency algorithm, selecting a main configuration storage device in the configuration storage system, wherein the main configuration storage device receives resources with data change and corresponding changed data sent by a configuration registration system, packages the resources into a message release message, and synchronizes the message release message to each configuration storage device in the configuration storage system; and receiving the message release message sent by the configuration storage equipment.
2. The method for configuring a distributed load balancing system according to claim 1, further comprising, before said sending the target message publishing message to each load balancing device in the target distributed load balancing system:
receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
According to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data;
and sending the monitoring resource data to each load balancing device so that each load balancing device generates the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitoring resource data.
3. The method for configuring a distributed load balancing system according to claim 2, wherein the generating the pre-stored configuration file according to the pre-stored load balancing configuration template and the listening resource data includes:
generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data;
and carrying out configuration grammar checking on the first temporary configuration file, and if the configuration grammar checking is passed, determining the first temporary configuration file as the pre-stored configuration file.
4. The method for configuring a distributed load balancing system according to claim 1, further comprising, before said sending the target message publishing message to each load balancing device in the target distributed load balancing system:
When the target distributed load balancing system is monitored to be started, receiving a message subscription message sent by the load balancing equipment, a plurality of resources and respective data thereof sent by the configuration storage system;
according to each resource and each data thereof sent by the configuration storage system, obtaining the data of each monitoring resource in the message subscription message, and forming each monitoring resource and each data thereof into monitoring resource data;
and sending the monitoring resource data to each load balancing device so that each load balancing device updates the pre-stored configuration file according to the monitoring resource data.
5. The method for configuring a distributed load balancing system according to claim 1, wherein the step of updating a locally pre-stored configuration file according to the target message publishing message to complete the configuration of the target distributed load balancing system includes:
generating a second temporary configuration file according to the target message release message, the pre-stored load balancing configuration template and the local cache data;
checking the configuration grammar of the second temporary configuration file, and if the configuration grammar is checked to be passed, backing up the pre-stored configuration file;
And covering a locally pre-stored configuration file by using the second temporary configuration file to complete the configuration of the target distributed load balancing system.
6. The method for configuring a distributed load balancing system as recited in claim 1, wherein,
the message release message is obtained by packaging the resource with the data change and the corresponding changed data received by the interface of the configuration storage system.
7. A configuration apparatus of a distributed load balancing system, comprising:
the receiving module is used for receiving a message release message sent by the configuration storage system and a message subscription message sent by the target distributed load balancing system, wherein the message release message comprises: the resources with data change in the configuration storage system and the corresponding changed data; the message subscription message comprises: monitoring resource lists, wherein the monitoring resource list corresponding to each load balancing device is the same; the monitoring resource list contains a plurality of monitoring resources, and the monitoring resources comprise: forwarding policy, load balancing algorithm, container IP address and port number, health check policy, session hold policy, and request timeout time;
The detection module is used for detecting whether the resources with data change exist in the message subscription message, if so, the resources with data change and the corresponding changed data are packaged into a target message release message;
the configuration module is used for sending the target message release message to each load balancing device in the target distributed load balancing system, so that each load balancing device updates a locally pre-stored configuration file according to the target message release message to complete the configuration of the target distributed load balancing system;
the message issuing message sent by the configuration storage system is received and comprises:
the configuration registration system acquires dynamic resource configuration related to load balancing, actively calls an API interface exposed outside by the configuration storage system to perform data writing and updating operation on the designated resources, and changes the data of the resources in the configuration storage system after the updating operation is completed;
according to a consistency algorithm, selecting a main configuration storage device in the configuration storage system, wherein the main configuration storage device receives resources with data change and corresponding changed data sent by a configuration registration system, packages the resources into a message release message, and synchronizes the message release message to each configuration storage device in the configuration storage system; and receiving the message release message sent by the configuration storage equipment.
8. A system for configuring a distributed load balancing system, comprising: a distributed load balancing system, a configuration registration system, a configuration storage system, and a configuration device of the distributed load balancing system according to claim 7;
the distributed load balancing system comprises: a plurality of load balancing devices; the configuration storage system includes: a plurality of configuration storage devices and message issuing devices;
the configuration registration system is in communication connection with each configuration storage device, each configuration storage device is in communication connection with the message issuing device, and the message issuing device and each load balancing device are respectively in communication connection with the configuration device.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of configuring a distributed load balancing system according to any one of claims 1 to 6 when executing the program.
10. A computer readable storage medium having stored thereon computer instructions, which when executed by a processor, implement the method of configuring a distributed load balancing system as claimed in any one of claims 1 to 6.
CN202210907016.5A 2022-07-29 2022-07-29 Configuration method, device and system of distributed load balancing system Active CN115065686B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210907016.5A CN115065686B (en) 2022-07-29 2022-07-29 Configuration method, device and system of distributed load balancing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210907016.5A CN115065686B (en) 2022-07-29 2022-07-29 Configuration method, device and system of distributed load balancing system

Publications (2)

Publication Number Publication Date
CN115065686A CN115065686A (en) 2022-09-16
CN115065686B true CN115065686B (en) 2024-02-27

Family

ID=83208599

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210907016.5A Active CN115065686B (en) 2022-07-29 2022-07-29 Configuration method, device and system of distributed load balancing system

Country Status (1)

Country Link
CN (1) CN115065686B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115589387A (en) * 2022-09-21 2023-01-10 湖南三一智能控制设备有限公司 Load balancing method and device, data interaction method, device and system and vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911470A (en) * 2017-11-30 2018-04-13 掌阅科技股份有限公司 Distributed dynamic load-balancing method, computing device and computer-readable storage medium
CN109962967A (en) * 2018-01-04 2019-07-02 证通股份有限公司 The method of data synchronization subscribed to based on increment
CN111064626A (en) * 2020-01-02 2020-04-24 广州虎牙科技有限公司 Configuration updating method, device, server and readable storage medium
CN112181458A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Gray scale rule configuration method, gray scale routing method, device, equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911470A (en) * 2017-11-30 2018-04-13 掌阅科技股份有限公司 Distributed dynamic load-balancing method, computing device and computer-readable storage medium
CN109962967A (en) * 2018-01-04 2019-07-02 证通股份有限公司 The method of data synchronization subscribed to based on increment
CN111064626A (en) * 2020-01-02 2020-04-24 广州虎牙科技有限公司 Configuration updating method, device, server and readable storage medium
CN112181458A (en) * 2020-09-25 2021-01-05 中国建设银行股份有限公司 Gray scale rule configuration method, gray scale routing method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
集群节点动态调整技术在互联网分区集群中的研究;苗凡等;铁路计算机应用;20151125(第11期);第14-16页 *

Also Published As

Publication number Publication date
CN115065686A (en) 2022-09-16

Similar Documents

Publication Publication Date Title
EP3490224B1 (en) Data synchronization method and system
CN103581276B (en) Cluster management device, system, service customer end and correlation method
US11563649B2 (en) NF service consumer restart detection using direct signaling between NFs
WO2016184175A1 (en) Database processing method and apparatus
US11716264B2 (en) In situ triggered function as a service within a service mesh
CN107590072A (en) A kind of application and development and the method and apparatus of test
CN110377431B (en) Service calling method and device under multi-registry scene
CN111064626B (en) Configuration updating method, device, server and readable storage medium
CN104335524A (en) Common web accessible data store for client side page processing
CN115065686B (en) Configuration method, device and system of distributed load balancing system
US10802896B2 (en) Rest gateway for messaging
CN113206877A (en) Session keeping method and device
CN111884844A (en) Message service access method and device based on zookeeper
CN112486707A (en) Redis-based message asynchronous consumption method and device
US9760370B2 (en) Load balancing using predictable state partitioning
CN114422331B (en) Disaster recovery switching method, device and system
CN113254227B (en) Method and system for remote method call across data centers
US7647401B1 (en) System and method for managing resources of a network load balancer via use of a presence server
CN111737028B (en) Dubbo service detection method and device
WO2021198207A1 (en) Methods and apparatuses for enhanced 5gc restoration when a network function (nf) set is deployed in the network
CN113094074A (en) Service cluster updating method and device
CN113296968A (en) Address list updating method, device, medium and electronic equipment
US10693826B2 (en) Message Service
CN111083182A (en) Distributed Internet of things equipment management method and device
CN112994894B (en) Gateway-based single-thread request processing method and information verification AGENT

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant