CN115065686A - 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
CN115065686A
CN115065686A CN202210907016.5A CN202210907016A CN115065686A CN 115065686 A CN115065686 A CN 115065686A CN 202210907016 A CN202210907016 A CN 202210907016A CN 115065686 A CN115065686 A CN 115065686A
Authority
CN
China
Prior art keywords
message
load balancing
configuration
data
target
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.)
Granted
Application number
CN202210907016.5A
Other languages
Chinese (zh)
Other versions
CN115065686B (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

Images

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

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, wherein the method comprises the following steps: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resource of which the data change occurs and the changed data corresponding to the resource; detecting whether a resource with data change exists in the monitoring resource list, if so, packaging the resource with data change and the changed data as a target message issuing message; and sending the target message issuing message to each load balancing device in the target distributed load balancing system, so that each load balancing device issues the message according to the target message, and the configuration of the target distributed load balancing system is completed. The method and the device can improve the configuration efficiency of the load balancing system, save system resources and improve the reliability of the load balancing service.

Description

Configuration method, device and system of distributed load balancing system
Technical Field
The present application relates to the field of load balancing technologies, and in particular, to a configuration method, an apparatus, and a system for a distributed load balancing system.
Background
Load balancing means that the 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 single-point faults are solved. In a distributed load balancing system, in order to ensure that a plurality of load balancing devices simultaneously provide the same and non-different services to the outside, the same configuration file must be issued to the plurality of load balancing devices to ensure that the configuration of the plurality of devices is completely the same.
At present, a common configuration mode of a distributed load balancing system is that, through a configuration generation module deployed with each device in the distributed load balancing system in the same machine, for all monitored resources, full data pulling is performed to a configuration storage system at regular time according to a fixed time interval, 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 two files are different, the temporary load balancing configuration file is covered over the stock load balancing configuration file, so that dynamic configuration updating is realized. And during the operation period of the configuration generation module, the above processes are continuously and circularly executed, and in addition, the configuration registration system performs data writing and updating operations on the configuration storage system according to needs.
When only the data of individual monitoring resources changes, the configuration generation module performs full data pulling on the configuration storage system aiming at all the monitoring resources, and the mode for generating the configuration file has the problem of low efficiency. Under the scene of large load balancing configuration quantity, the problems become more obvious, and difficulty and challenge are brought to timely completing configuration updating of a distributed load balancing system. When a scenario that the load balancing configuration needs to be updated, such as restart of an application container due to a fault, a part of service requests are most likely to be distributed to the load balancing devices which do not complete configuration updating, and further, service transaction failure is caused. In addition, because the configuration generation module regularly pulls the full data according to the fixed time interval, the configuration generation module belongs to invalid pulling under the scene that the data of all monitored resources is not changed, 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, thereby indirectly influencing the load balancing performance.
Disclosure of Invention
Aiming at least one problem in the prior art, the application provides a configuration method, a configuration device and a configuration system of a distributed load balancing system, which can improve the configuration efficiency of the load balancing system, save system resources and further improve the reliability of load balancing service.
In order to solve the technical problem, the present application provides the following technical solutions:
in a first aspect, the present application provides a configuration method of a distributed load balancing system, including:
receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources are configured;
detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message;
and sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
Further, before the sending the target message distribution packet 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 sent by the configuration storage system and respective data thereof;
acquiring data of each monitoring resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitoring resource and respective 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 a 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 performing configuration grammar check on the first temporary configuration file, and if the configuration grammar check is passed, determining the first temporary configuration file as the pre-stored configuration file.
Further, before the sending the target message distribution packet to each load balancing device in the target distributed load balancing system, the method further includes:
when monitoring that the target distributed load balancing system is started, receiving a message subscription message sent by the load balancing equipment, a plurality of resources sent by the configuration storage system and respective data of the resources;
acquiring data of each monitored resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitored resource and respective data thereof into monitored 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 a locally pre-stored configuration file according to the target message publishing packet to complete the configuration of the target distributed load balancing system includes:
generating a second temporary configuration file according to the target message issuing message, a pre-stored load balancing configuration template and local cache data;
performing configuration grammar check on the second temporary configuration file, and if the configuration grammar check is passed, backing up the pre-stored configuration file;
and covering the 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 a message publishing message sent by the configuration storage system and a 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;
selecting and obtaining main configuration storage equipment in a configuration storage system according to a consistency algorithm, wherein the main configuration storage equipment is used for receiving resources which are sent by a configuration registration system and have data change and data after the data change corresponding to the resources are packaged into a message issuing message, and synchronizing the message issuing message to each configuration storage equipment in the configuration storage system;
and receiving a message issuing message sent by the configuration storage equipment.
Further, the message distribution packet is obtained by encapsulating the resource subjected to the data change 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:
a receiving module, configured to receive a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, where the message publishing message includes: the resources with data change in the configuration storage system and the changed data corresponding to the resources;
the detection module is used for detecting whether the resources with the data change exist in the message subscription message or not, and if so, packaging the resources with the data change and the corresponding changed data into a target message issuing message;
and the configuration module is used for sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
Further, the configuration apparatus of the distributed load balancing system further includes:
a message receiving module, configured to receive a message subscription message sent by the load balancing device, multiple resources sent by the configuration storage system, and respective data of the multiple resources;
the acquisition module is used for acquiring data of each monitored resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitored resource and respective data thereof into monitored resource data;
and the generating 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;
and the first checking unit is used for checking the configuration grammar of the first temporary configuration file, and if the configuration grammar check is passed, the first temporary configuration file is determined as the pre-stored configuration file.
Further, the configuration apparatus 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 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 each monitoring resource and the respective data thereof into monitoring resource data;
and the sending module is used for 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 configuration module includes:
a second generating unit, configured to generate a second temporary configuration file according to the target message publishing packet, a pre-stored load balancing configuration template, and 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 check is passed, the pre-stored configuration file is backed up;
and the configuration unit is used for 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 module includes:
the first receiving unit is used for receiving a message subscription message sent by load balancing equipment in a target distributed load balancing system;
an election unit, configured to elect to obtain a main configuration storage device in a configuration storage system according to a consistency algorithm, where the main configuration storage device is configured to receive a resource that is sent by a configuration registration system and has data changed and corresponding changed data, encapsulate the resource into a message distribution packet, and synchronize the message distribution packet to each configuration storage device in the configuration storage system;
and the second receiving unit is used for receiving the message issuing message sent by the configuration storage device.
In a third aspect, the present application provides a configuration system of a distributed load balancing system, including: the distributed load balancing 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 publishing 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 publishing device, and the message publishing device and each load balancing device are in communication connection with the configuration device respectively.
In a fourth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the configuration method of the distributed load balancing system when executing the program.
In a fifth aspect, the present application provides a computer-readable storage medium having stored thereon computer instructions, which when executed, implement the configuration method of the distributed load balancing system.
In view of the foregoing technical solutions, the present application provides a configuration method, an apparatus, and a system for a distributed load balancing system. Wherein, the method comprises the following steps: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources; detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message; sending the target message issuing 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 issuing message, configuration of the target distributed load balancing system is completed, configuration efficiency of the load balancing system can be improved, system resources are saved, and reliability of load balancing service can be improved; specifically, the dynamic updating efficiency of the load balancing configuration can be improved in the operation process of the distributed load balancing system, and the problem that the service transaction fails due to the fact that the configuration of each device in the distributed load balancing system is not updated timely is solved; unnecessary data pulling and configuration generation under the original mechanism can be avoided, resource consumption of a CPU, a memory and the like of the distributed load balancing system can be reduced, and more resources can be allocated for providing a 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 used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a configuration method of a distributed load balancing system in an embodiment of the present application;
fig. 2 is a schematic flowchart of 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 schematic flowchart of 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 apparatus of a distributed load balancing system in an embodiment of the present application;
FIG. 7 is a schematic structural 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 flowchart illustrating a configuration method of 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 make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
To facilitate understanding of the present solution, technical contents related to the present solution are explained below.
Distributed system: a system in which hardware or software components are distributed among different network computers and communicate and coordinate with each other solely through messaging.
Load balancing: load that will concentrate on single server originally is shared on a plurality of servers to promote system performance, improve system expansibility, solve the single point trouble.
And (3) publishing subscription: a one-to-many dependency relationship between objects, when the state of an object changes, all objects dependent on it will be notified of the state change.
In order to solve the problems of low efficiency and invalid pull of a dynamic update mode of the configuration of the existing distributed load balancing system and avoid the situations of untimely update of the configuration 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 generation module only carries out data pull on the resources which are monitored and have changes through a publishing subscription mode, generate a latest load balancing configuration file by combining local cache data after the first full data pull, and can improve the dynamic update efficiency of the load balancing configuration.
Based on this, in order to improve the efficiency of the configuration of the load balancing system, save system resources, and further improve the reliability of the load balancing service, an 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-mounted device, an intelligent wearable device, and the like. Wherein, intelligence wearing equipment can include intelligent glasses, intelligent wrist-watch and intelligent bracelet etc..
In practical applications, part of 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. The selection may be specifically performed according to the processing capability of the client device, the limitation of the user usage scenario, and the like. This is not a limitation of the present application. The client device may further include a processor if all operations are performed in the client device.
The client device may have a communication module (i.e., a communication unit), and may be communicatively connected to a remote server to implement data transmission with the server. The server may include a server on the task scheduling center side, and in other implementation scenarios, the server may also include a server on an intermediate platform, for example, a server on a third-party server platform that is communicatively linked to the task scheduling center server. The server may include a single computer device, or may include a server cluster formed by a plurality of servers, or a server structure of a distributed apparatus.
The server and the client device may communicate using any suitable network protocol, including network protocols not yet developed at the filing date of this application. The network protocol may include, for example, a TCP/IP protocol, a UDP/IP protocol, an HTTP protocol, an HTTPS protocol, or the like. Of course, the network Protocol may also include, for example, an RPC Protocol (Remote Procedure Call Protocol), a REST Protocol (Representational State Transfer Protocol), and the like used above the above Protocol.
It should be noted that the configuration method, the configuration device, and the configuration system of the distributed load balancing system disclosed in the present application may be used in the field of financial technology, and may also be used in any field other than the field of financial technology.
The following examples are intended to illustrate the details.
In order to improve the efficiency of configuring the load balancing system, save system resources, and further improve the reliability of the load balancing service, this embodiment provides a method for configuring a distributed load balancing system, where an execution subject is a configuration device of the distributed load balancing system, where the configuration device of the distributed load balancing system includes, but is not limited to, a server, and as shown in fig. 1, the method specifically includes the following contents:
step 101: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: and configuring the resources with data change in the storage system and the changed data corresponding to the resources.
Specifically, the message issuing message may be obtained by encapsulating the resource subjected to the data change and the corresponding changed data, which are received by the interface of the configuration storage system from the configuration registration system; the configuration device of the distributed load balancing system may be in communication connection with each load balancing device in the configuration storage system and the target distributed load balancing system, respectively, the configuration storage system may include at least one server, and each load balancing device may be a server, respectively; the method comprises the steps that message subscription messages sent by each load balancing device in a target distributed load balancing system can be received, wherein the message subscription messages comprise monitoring resource lists, and the monitoring resource lists corresponding to each load balancing device are the same; the monitoring resource list may include a plurality of monitoring resources, i.e., resources in the monitoring resource list, such as a forwarding policy, a load balancing algorithm, a container IP address and port number, a health check policy, a session holding policy, a request timeout time, and the like; the configuration registration system can obtain dynamic resource configuration related to load balancing, actively calls an API (application program interface) exposed to the outside of the configuration storage system to write and update data of the specified resource, changes the data of the resource in the configuration storage system after the update operation is completed, and can package the resource with the changed data and the changed data corresponding to the resource with the changed data into a message issuing message and send the message to the configuration device of the load balancing system.
Step 102: and detecting whether the resource with the data change exists in the message subscription message, and if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message.
Specifically, if the monitored 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 packaged into a target message issuing message.
For example, the list of listening resources in the message subscription message includes: resources such as a forwarding policy, a back-end server IP address, a port, a domain name, a container address, and a request timeout time; the configuring resources in the storage system comprises: forwarding strategy, back-end server IP address, port, domain name, container address and request timeout time; the resources of the 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 as follows: 101.105.66, the changed data corresponding to the request timeout time is: 10 seconds; it can be seen that, in this example, the listening resource list includes the resource with the data change: a back-end server IP address and a request timeout time; the backend server IP address x 101.105.66 and the request timeout time 10 seconds may be encapsulated as a target message publishing packet.
Step 103: and sending the target message issuing 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 issuing 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 the data corresponding to each resource; the changed data corresponding to the resource with the data change can be applied to replace the data corresponding to the resource with the data change in the pre-stored configuration file, so as to complete the synchronization of the configuration files in each load balancing device.
Further, the message subscription message may further include: the unique equipment identifier of each load balancing equipment; correspondingly, the sending the target message distribution packet to each load balancing device in the target distributed load balancing system includes: and sending the target message issuing message to load balancing equipment corresponding to the unique identifier of each equipment.
In order 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 a message subscription message sent by the load balancing equipment, a plurality of resources sent by the configuration storage system and respective data thereof.
Specifically, the configuration registration system may obtain dynamic resource configuration related to load balancing, actively call an API interface exposed to the outside of the configuration storage system to perform data write operation on the specified resource, and after the write operation is completed, may send all resources in the configuration storage system and their respective data to the configuration device of the load balancing system; the resources in the configuration storage system may contain all the listening resources in the listening resource list.
Step 202: and acquiring data of each monitoring resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and combining each monitoring resource and respective 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 a pre-stored load balancing configuration template and the monitoring resource data.
Specifically, the pre-stored load balancing configuration template may provide 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 to generate a corresponding configuration file.
In order to further improve the reliability of generating the configuration file, in an embodiment of the present application, the generating the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitored 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 performing configuration grammar check on the first temporary configuration file, and if the configuration grammar check is passed, determining the first temporary configuration file as the pre-stored configuration file.
In order to improve the reliability of the configuration when the distributed load balancing system is started, referring to fig. 3, in an embodiment of the present application, before step 103, the method further includes:
step 301: and when monitoring that the target distributed load balancing system is started, 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.
Step 302: and acquiring the data of each monitored resource in the message subscription message according to each resource and the respective data thereof sent by the configuration storage system, and forming the monitored resource data by each monitored resource and the respective data thereof.
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 monitored resource data; and performing configuration syntax check on the third temporary configuration file, and if the configuration syntax check 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 an embodiment of the present application, step 103 includes:
step 401: and generating a second temporary configuration file according to the target message issuing message, a pre-stored load balancing configuration template and local cache data.
Specifically, the local cache data may include resources and data in the pre-stored configuration file, and the local cache data may be updated when the pre-stored configuration file is generated and updated each time.
Step 402: and carrying out configuration grammar check on the second temporary configuration file, and if the configuration grammar check is passed, backing up the pre-stored configuration file.
Step 403: and covering the locally pre-stored configuration file by using the second temporary configuration file to complete the configuration of the target distributed load balancing system.
In order to ensure consistency of the configuration storage system data and ensure reliability of the message transmission process, referring to fig. 5, in an 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: and electing to obtain a main configuration storage device in the configuration storage system according to a consistency algorithm, wherein 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 with data change and the corresponding changed data into a message issuing message, and synchronizing the message issuing message to each configuration storage device in the configuration storage system.
Step 503: and receiving a message issuing message sent by the configuration storage equipment.
Specifically, a message distribution packet sent by any configuration storage device in the configuration storage system may be received.
In terms of software, in order to improve the efficiency of configuring the load balancing system, save system resources, and further improve the reliability of the load balancing service, the present application provides an embodiment of a configuration apparatus of the distributed load balancing system for implementing all or part of the contents in the configuration method of the distributed load balancing system, and referring to fig. 6, the configuration apparatus of the distributed load balancing system specifically includes the following contents:
a receiving module 61, configured to receive a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, where the message publishing message includes: the resources with data change in the configuration storage system and the changed data corresponding to the resources;
a detecting module 62, configured to detect whether there is the resource with the data change in the message subscription message, and if yes, encapsulate the resource with the data change and the corresponding changed data thereof as a target message publishing message;
the configuration module 63 is configured to send the target message publishing packet 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 publishing packet, and completes configuration of the target distributed load balancing system.
Specifically, the message distribution packet is obtained by encapsulating the resource subjected to the data change and the corresponding changed data received by the interface of the configuration storage system.
In an embodiment of the present application, the configuration apparatus of the distributed load balancing system further includes:
a message receiving module, configured to receive a message subscription message sent by the load balancing device, multiple resources sent by the configuration storage system, and respective data of the multiple resources;
the acquisition module is used for acquiring data of each monitored resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitored resource and respective data thereof into monitored resource data;
and the generating 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;
and the first checking unit is used for checking the configuration syntax of the first temporary configuration file, and if the configuration syntax is checked to pass, determining the first temporary configuration file as the pre-stored configuration file.
In an embodiment of the present application, the configuration apparatus 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 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 each monitoring resource and the respective data thereof into monitoring resource data;
and the sending module is used for 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.
In an embodiment of the present application, the configuration module includes:
a second generating unit, configured to generate a second temporary configuration file according to the target message publishing packet, a pre-stored load balancing configuration template, and 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 check is passed, the pre-stored configuration file is backed up;
and the configuration unit is used for covering a locally pre-stored configuration file with the second temporary configuration file to complete the configuration of the target distributed load balancing system.
In an embodiment of the present application, the receiving module includes:
the first receiving unit is used for receiving a message subscription message sent by load balancing equipment in a target distributed load balancing system;
an election unit, configured to elect to obtain a main configuration storage device in a configuration storage system according to a consistency algorithm, where the main configuration storage device is configured to receive a resource that is sent by a configuration registration system and has data changed and corresponding changed data, encapsulate the resource into a message distribution packet, and synchronize the message distribution packet to each configuration storage device in the configuration storage system;
and the second receiving unit is used for receiving the message issuing message sent by the configuration storage device.
The embodiment of the configuration apparatus of the distributed load balancing system provided in this specification may be specifically configured to execute the processing procedure of the embodiment of the configuration method of the distributed load balancing system, and its functions are not described herein again, and refer to the detailed description of the embodiment of the configuration method of the distributed load balancing system.
In order to improve efficiency of load balancing system configuration and save system resources, and further improve reliability of load balancing services, the present application provides an embodiment of a configuration system of a distributed load balancing system, where in the embodiment, the configuration system includes: the distributed load balancing 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 publishing 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 publishing device, and the message publishing device and each load balancing device are in communication connection with the configuration device respectively.
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 this 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 publishing module 14; the distributed load balancing system 15 is composed of a plurality of 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 container addresses, can be obtained, and the API interface exposed to the outside by the configuration storage system 12 is actively called to perform data writing and updating operations on the specified resources.
Configuration of the 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 services, can support operations such as data query, write-in, updating and deletion by externally exposing API interfaces, and is embedded with a message publishing module 14.
The 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.
The message publishing module 14: receiving a resource list with data change sent by the configuration storage device 13, packaging the resource list into a message distribution message, and sending the message distribution message to the message channel module 01; the resource list in which the data change exists may include the resource in which the data change exists and the data thereof.
Distributed load balancing system 15: consists of a plurality of load balancing devices 16 and provides a highly available and high-performance load balancing service.
The load balancing device 16: and the system provides load balancing service, and is internally provided with a message subscription module 17, a configuration generation module 18 and a configuration rollback module 19.
The message subscription module 17: receiving the monitoring resource list sent by the configuration generation module 18, packaging the monitoring resource list into a message subscription message, and sending the message subscription message to the message channel module 01; in addition, the message distribution message forwarded by the message channel module 01 is received, which includes the resource list with data change, and the message distribution message is analyzed and the resource list with data change is sent to the configuration generating module 18.
The configuration generation module 18: and pulling data of the monitored resources from the configuration storage system, generating a temporary configuration file by combining a configuration template and local cache data, checking configuration grammar, if the configuration grammar passes the check and the stock configuration file exists, backing up the stock configuration file, moving the temporary configuration file to a specified path, covering the stock configuration file, and realizing dynamic update of configuration.
Configuration rollback module 19: and an API (application programming interface) is exposed to the outside, an external calling interface is supported to enable the backup configuration file to cover the stock configuration file, and configuration rollback can be realized in an abnormal scene.
The message channel module 01: receiving the message publishing message and the message subscribing message respectively sent by the message publishing module 14 and the message subscribing module 17. After the relationship between publish and subscribe is clarified, each time a message publish packet sent by the message publish module 14 is received, after filtering and screening, the message publish packet containing the resource list monitored by the configuration generation module 18 is forwarded to the message subscribe module 17 of each load balancing device 16 in the distributed load balancing system 15.
As shown in fig. 9, to further explain the present solution, in combination with the configuration system of the distributed load balancing system provided by the application example, the application example of the configuration method of the distributed load balancing system provided by the present application includes the following specific processing steps:
step 021: first configuration updating, after a configuration generation module 18 of each load balancing device 16 deployed in the distributed load balancing system 15 is started, sending the monitored resource list to a message subscription module 17, meanwhile, pulling data of the monitored resource list to the configuration storage system 12 and caching the data in the local, generating a temporary configuration file by combining a configuration template, and performing configuration grammar checking, if the configuration grammar checking is passed and the stock configuration file exists, backing up the stock configuration file first, then moving the temporary configuration file to a specified path to cover the stock configuration file, and completing the first configuration updating after the configuration generation module 18 is started.
Step 022: a message subscription module 17 receives the 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 it as a message subscription message, and send it to the message channel module 01.
Step 023: when the configuration registration system 11 senses that the dynamic configuration parameters of load balancing change, the configuration storage system 12 is actively called to perform data writing and updating operations on the designated resources by an externally exposed API (application programming interface); the message publishing module 14 in the configuration storage system 12 receives the resource list with data change sent by the configuration storage device 13, packages the resource list with data change into a message publishing message, and sends the message publishing message to the message channel module 01.
024: after the message channel module 01 identifies the relationship between publish and subscribe, the message channel module 01 filters and screens the message publishing packet sent by the message publishing module 14, and forwards the message publishing packet 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: and analyzing the message, wherein 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 the data change to the co-located configuration generation module 18.
Step 026: updating the stock configuration, after obtaining a resource list with data change by a configuration generation module 18 of each load balancing device 16 in the distributed load balancing system 15, pulling data of the resource list through an API (application program interface) of the configuration storage system 12, generating a temporary configuration file and performing configuration grammar check by combining a configuration template and local cache data, if the configuration grammar check is passed, backing up the stock load balancing configuration file, and then covering the stock load balancing configuration file with the temporary load balancing configuration file to realize dynamic update of the configuration; additionally, data pulled from the configuration storage system 12 is 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 the configuration of the load balancing system and save system resources, thereby improving the reliability of the load balancing service; specifically, the dynamic updating efficiency of the load balancing configuration can be improved in the operation process of the distributed load balancing system, and the problem that the service transaction fails due to the fact that the configuration of each device in the distributed load balancing system is not updated timely is solved; unnecessary data pulling and configuration generation under the original mechanism can be avoided, resource consumption of a CPU, a memory and the like of the distributed load balancing system can be reduced, and more resources can be allocated for providing a load balancing service with higher performance.
Fig. 10 is a schematic physical structure diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 10, the electronic device may include: a processor (processor)401, a communication Interface (communication 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. Processor 401 may call logic instructions in memory 403 to perform the following method: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources; detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message; and sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
In addition, 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 the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute 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), a magnetic disk or an optical disk, and 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, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, comprising: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources are configured; detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message; and sending the target message publishing 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 publishing message, and the configuration of the target distributed load balancing system is completed.
The present embodiment provides a computer-readable storage medium, which stores a computer program, where the computer program causes the computer to execute the method provided by the foregoing method embodiments, for example, the method includes: receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources; detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message; and sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
As will be appreciated by one skilled in the art, 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 flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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 herein, reference to the description of the terms "one embodiment," "a 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, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. 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 above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are only exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A method for configuring a distributed load balancing system, comprising:
receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, wherein the message publishing message comprises: the resources with data change in the configuration storage system and the changed data corresponding to the resources;
detecting whether the resource with the data change exists in the message subscription message, if so, packaging the resource with the data change and the corresponding changed data thereof into a target message issuing message;
and sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
2. The method according to claim 1, wherein before sending the target message distribution packet to each load balancing device in the target distributed load balancing system, the method further comprises:
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;
acquiring data of each monitored resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitored resource and respective data thereof into monitored 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 a pre-stored load balancing configuration template and the monitoring resource data.
3. The method according to claim 2, wherein the generating the pre-stored configuration file according to the pre-stored load balancing configuration template and the monitored resource data includes:
generating a first temporary configuration file according to a pre-stored load balancing configuration template and the monitoring resource data;
and performing configuration grammar check on the first temporary configuration file, and if the configuration grammar check is passed, determining the first temporary configuration file as the pre-stored configuration file.
4. The method according to claim 1, wherein before sending the target message distribution packet to each load balancing device in the target distributed load balancing system, the method further comprises:
when monitoring that the target distributed load balancing system is started, receiving a message subscription message sent by the load balancing equipment, a plurality of resources sent by the configuration storage system and respective data of the resources;
acquiring data of each monitored resource in the message subscription message according to each resource and respective data thereof sent by the configuration storage system, and forming each monitored resource and respective data thereof into monitored 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 according to claim 1, wherein the step of issuing a packet according to the target message, updating a locally pre-stored configuration file, and completing the configuration of the target distributed load balancing system includes:
generating a second temporary configuration file according to the target message issuing message, a pre-stored load balancing configuration template and local cache data;
performing configuration grammar check on the second temporary configuration file, and if the configuration grammar check is passed, backing up the pre-stored configuration file;
and covering the 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 according to claim 1, wherein the receiving a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system includes:
receiving a message subscription message sent by load balancing equipment in a target distributed load balancing system;
selecting and obtaining main configuration storage equipment in a configuration storage system according to a consistency algorithm, wherein the main configuration storage equipment is used for receiving resources which are sent by a configuration registration system and have data change and data after the data change corresponding to the resources are packaged into a message issuing message, and synchronizing the message issuing message to each configuration storage equipment in the configuration storage system;
and receiving a message issuing message sent by the configuration storage equipment.
7. The method of configuring a distributed load balancing system according to claim 1,
the message issuing message is obtained by encapsulating the resource subjected to data change and the corresponding changed data received by the interface of the configuration storage system.
8. A configuration apparatus for a distributed load balancing system, comprising:
a receiving module, configured to receive a message publishing message sent by a configuration storage system and a message subscribing message sent by a target distributed load balancing system, where the message publishing message includes: the resources with data change in the configuration storage system and the changed data corresponding to the resources;
the detection module is used for detecting whether the resources with the data change exist in the message subscription message or not, and if so, packaging the resources with the data change and the corresponding changed data into a target message issuing message;
and the configuration module is used for sending the target message issuing 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 issuing message, and the configuration of the target distributed load balancing system is completed.
9. A configuration system for a distributed load balancing system, comprising: a distributed load balancing system, a configuration registration system, a configuration storage system, and a configuration means of the distributed load balancing system of claim 8;
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 publishing 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 publishing device, and the message publishing device and each load balancing device are in communication connection with the configuration device respectively.
10. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of configuring the distributed load balancing system of any one of claims 1 to 7 when executing the program.
11. A computer-readable storage medium having stored thereon computer instructions, wherein the instructions, when executed, implement the method of configuring a distributed load balancing system of any one of claims 1 to 7.
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 true CN115065686A (en) 2022-09-16
CN115065686B 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)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024060928A1 (en) * 2022-09-21 2024-03-28 湖南三一智能控制设备有限公司 Load balancing method and apparatus, data interaction method, apparatus 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
苗凡等: "集群节点动态调整技术在互联网分区集群中的研究", 铁路计算机应用, no. 11, 25 November 2015 (2015-11-25), pages 14 - 16 *

Cited By (1)

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

Also Published As

Publication number Publication date
CN115065686B (en) 2024-02-27

Similar Documents

Publication Publication Date Title
EP3490224B1 (en) Data synchronization method and system
US20220303234A1 (en) Method and system for providing resiliency in interaction servicing across data centers
WO2020147466A1 (en) Method for invoking server and proxy server
US8719780B2 (en) Application server with a protocol-neutral programming model for developing telecommunications-based applications
WO2016184175A1 (en) Database processing method and apparatus
US9055065B2 (en) Managing participant order in distributed transactions
CN114048046B (en) Service calling method and device and load balancing equipment
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
CN112486707A (en) Redis-based message asynchronous consumption method and device
CN111200606A (en) Deep learning model task processing method, system, server and storage medium
CN111884844A (en) Message service access method and device based on zookeeper
US20200142759A1 (en) Rest gateway for messaging
CN113206877A (en) Session keeping method and device
CN115065686B (en) Configuration method, device and system of distributed load balancing system
CN111158949A (en) Configuration method, switching method and device of disaster recovery architecture, equipment and storage medium
CN111078238A (en) Centralized processing method and device for application configuration in container environment
CN114422331B (en) Disaster recovery switching method, device and system
CN108111630B (en) Zookeeper cluster system and connection method and system thereof
CN112631756A (en) Distributed regulation and control method and device applied to space flight measurement and control software
CN115834668B (en) Cluster node control method, device, equipment, storage medium and program product
CN115629909A (en) Service data processing method and device, electronic equipment and storage medium
CN114461424A (en) Inter-unit service discovery method, device and system under unitized deployment architecture
CN113923227A (en) Block chain message distribution method and device

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