CN116132367A - Message processing method and device and electronic equipment - Google Patents

Message processing method and device and electronic equipment Download PDF

Info

Publication number
CN116132367A
CN116132367A CN202210986802.9A CN202210986802A CN116132367A CN 116132367 A CN116132367 A CN 116132367A CN 202210986802 A CN202210986802 A CN 202210986802A CN 116132367 A CN116132367 A CN 116132367A
Authority
CN
China
Prior art keywords
node
consumer
message
pressure
consumer node
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.)
Pending
Application number
CN202210986802.9A
Other languages
Chinese (zh)
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.)
Mashang Consumer Finance Co Ltd
Original Assignee
Mashang Consumer Finance Co Ltd
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 Mashang Consumer Finance Co Ltd filed Critical Mashang Consumer Finance Co Ltd
Priority to CN202210986802.9A priority Critical patent/CN116132367A/en
Publication of CN116132367A publication Critical patent/CN116132367A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a message processing method, a message processing device and electronic equipment, wherein the method comprises the following steps: sending a message to be consumed to at least one consumer node of the at least two consumer nodes; receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used for representing the load pressure condition of the consumer node; and carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes. The message processing method provided by the invention can improve the effect of load balancing and reduce the network resource overhead of pressure related information feedback.

Description

Message processing method and device and electronic equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a message processing method, a device, and an electronic device.
Background
With the expansion of the internet service domain, the service volume carried in each service domain is larger and larger, the traditional point-to-point information interaction mode can not carry service demands, and on the premise, a transversely expanded cluster mode, such as a message consumer cluster, a message producer cluster, a message middleware cluster and the like, is introduced.
In practical applications, the interaction between clusters, whether consumer nodes interact directly with producer nodes through transmission control protocol (TCP, transmission Control Protocol)/hypertext transfer protocol (Hyper Text Transfer Protocol, HTTP), or after message middleware is introduced, the producer nodes interact with consumer nodes through the message middleware, so that instances in each consumer node of the consumer clusters can consume messages at a certain speed without generating accumulation, namely load balancing among the consumer nodes is faced. At present, the message quantity consumed by each consumer node is generally equal based on a slicing algorithm, and the actual situation of the consumer node cannot be considered in the load balancing mode, so that the load balancing effect is poor.
Disclosure of Invention
The embodiment of the invention provides a message processing method, a message processing device and electronic equipment, which are used for solving the problem of poor load balancing effect in the prior art.
In order to solve the technical problems, the invention is realized as follows:
in a first aspect, an embodiment of the present invention provides a message processing method applied to a first producer node, where a communication connection is established between the first producer node and at least two consumer nodes, the method including:
Sending a message to be consumed to at least one consumer node of the at least two consumer nodes;
receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used for representing the load pressure condition of the consumer node;
and carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes.
In a second aspect, an embodiment of the present invention further provides a message processing method, applied to a first consumer node, the method including:
receiving a message to be consumed sent by a first producer node;
message consumption is carried out on the message to be consumed;
and sending a feedback message for the message to be consumed to the first producer node, wherein the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used for representing the load pressure condition of the first consumer node.
In a third aspect, an embodiment of the present invention further provides a message processing apparatus applied to a first producer node, the first producer node having a communication connection established with at least two consumer nodes, the apparatus comprising:
a first sending module, configured to send a message to be consumed to at least one consumer node of the at least two consumer nodes;
the first receiving module is used for respectively receiving feedback messages sent by each consumer node of the at least one consumer node aiming at the message to be consumed, wherein each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used for representing the load pressure condition of the consumer node;
and the load balancing module is used for carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes.
In a fourth aspect, an embodiment of the present invention further provides a message processing apparatus, applied to a first consumer node, the apparatus including:
the first receiving module is used for receiving a message to be consumed, which is sent by the first producer node;
the message consumption module is used for consuming the message to be consumed;
And the first sending module is used for sending a feedback message aiming at the message to be consumed to the first producer node, wherein the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used for representing the load pressure condition of the first consumer node.
In a fifth aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program when executed by the processor implements the steps of the message processing method provided in the first aspect or implements the steps of the message processing method provided in the second aspect.
In a sixth aspect, an embodiment of the present invention further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the message processing method provided in the first aspect, or implements the steps of the message processing method provided in the second aspect.
In the embodiment of the invention, a first producer node sends a message to be consumed to at least one consumer node in at least two consumer nodes; receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node; and carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes, wherein the load balancing effect can be improved due to the fact that the first consumer node carries out load balancing according to the actual pressure condition of each message consumer node, and in addition, the pressure related information of the message consumer node is carried by each consumer node in a feedback message aiming at the message to be consumed, so that the network resource cost of pressure related information feedback can be reduced.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort to a person of ordinary skill in the art.
FIG. 1 is a schematic diagram of a point-to-point interaction provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of interactions between clusters provided by an embodiment of the present invention;
FIG. 3 is a flow chart of a message processing method provided by an embodiment of the present invention;
FIG. 4 is a second schematic diagram of interactions between clusters according to an embodiment of the present invention;
FIG. 5 is a third diagram illustrating interactions between clusters according to an embodiment of the present invention;
FIG. 6 is a flow chart of a message processing method provided by a further embodiment of the present invention;
fig. 7 is a block diagram of a message processing apparatus according to an embodiment of the present invention;
fig. 8 is a block diagram of a message processing apparatus according to still another embodiment of the present invention;
fig. 9 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For ease of understanding, some of the following descriptions are directed to embodiments of the present invention:
load balancing (Load Balance): it is understood that the execution is split over multiple operating units, such as Web servers, file transfer protocol (File Transfer Protocol, FTP) servers, enterprise critical application servers, and other critical task servers, etc., to collectively complete a job task.
A Producer node, also referred to as a message Producer node, belongs to the originator of the service and is responsible for producing messages for provision to consumer nodes.
Consumer (Consumer) node: the message consumer node can also be called a message consumer node, belongs to a processing party of a service and is responsible for acquiring a message from a producer node and carrying out service logic processing, wherein the consumer node can directly acquire the message from the producer node through a synchronous interface and can also acquire the message from the producer node through a message middleware.
Message middleware: message queues may also be referred to as platform-independent data communication using efficient and reliable messaging mechanisms, and integration of distributed systems based on data communication. By providing a messaging and message queue model, communications of processes can be extended in a distributed environment.
Input Output (IO) intensive: the CPU performance of the system is much better than that of the hard disk and the memory, at this time, most of the system is operated by the read/write operation of the CPU in the same I/O (hard disk/memory), at this time, the load (Loading) of the CPU is not high, and in most of the cases, for the distributed system, the IO generally refers to the overhead of the network IO.
Point-to-point interaction: also referred to as single-node interactions, i.e., one producer node interacts with only one consumer node, illustratively, as shown in fig. 1, the producer node sends a message to the consumer node, which processes the message and returns a feedback message. It can be appreciated that in the single-node interaction mode, there is no load balancing problem.
Interaction between clusters: i.e. interactions between a plurality of producer nodes and a plurality of consumer nodes, illustratively, as shown in fig. 2, each producer node in the producer cluster may interact with a plurality of consumers in the consumer cluster, the producer node sends a message to the consumer node, and the consumer node processes the message and returns a feedback message.
The embodiment of the invention provides a message processing method which is applied to a first producer node, wherein communication connection is established between the first producer node and at least two consumer nodes. Referring to fig. 3, fig. 3 is a flowchart of a message processing method according to an embodiment of the present invention, as shown in fig. 3, including the following steps:
step 301, a message to be consumed is sent to at least one consumer node of the at least two consumer nodes.
In this embodiment, a communication connection is established between a first producer node and at least two consumer nodes, that is, each consumer node of the at least two consumer nodes may receive a message to be consumed sent by the first producer node, and as illustrated in fig. 4, each producer node may deliver the message to be consumed to a plurality of consumer nodes. Wherein the first producer node may be any producer node.
The at least one consumer node may comprise some or all of the at least two consumer nodes. In practical applications, the first consumer node may send the message to be consumed to all consumer nodes in one message delivery, or may send the message to be consumed to only some consumer nodes. Further, it will be appreciated that the messages to be consumed sent by the first consumer node to the different consumer nodes are different, and illustratively, the first consumer node sends message a to be consumed to consumer node a, the first consumer node sends message B to consumer node B, and so on.
Step 302, receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed, where each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used to characterize a load pressure condition of the consumer node.
For example, as shown in fig. 4, after each consumer node finishes processing the message to be consumed, a feedback message for the message to be consumed may be sent to the first producer node, where the feedback message carries pressure related information of the consumer node. For example, if the first consumer node sends the message a to be consumed to the consumer node a, after the consumer node a completes processing the message a to be consumed, a feedback message for the message a to be consumed may be sent to the first consumer node, where the feedback message carries information related to the pressure of the consumer node a; if the first consumer node sends the message B to be consumed to the consumer node B, the consumer node B may send a feedback message for the message B to be consumed to the first consumer node after completing the processing of the message B to be consumed, where the feedback message carries information about the pressure of the consumer node B, and so on.
The pressure related information of the consumer node is used for representing the load pressure condition of the consumer node, that is, the pressure related information of the consumer node can be used for knowing the load pressure condition of the consumer node, for example, the load pressure is higher or the load pressure is lower. Illustratively, the pressure related information of the consumer node may include, but is not limited to, at least one of a pressure index value, a pressure evaluation value, and the like. The pressure index value may include one or more of disk occupancy rate, CPU occupancy rate, memory occupancy rate, downstream call response time, disk writing speed, thread pool size, and the like. The pressure evaluation value may be calculated based on one or more pressure index values, for example, a pressure evaluation value may be calculated based on the CPU occupancy and the memory occupancy, and the pressure evaluation value may be fed back to the producer node.
In some alternative embodiments, the first producer node may store the pressure-related information of each of the at least one consumer node, for example, in a local cache or a shared cache, where the shared cache may also be referred to as a distributed cache, and may be readable and writable by a plurality of producer nodes, when the pressure-related information of each of the at least one consumer node is received.
And 303, carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes.
For the above step 303, the first producer node may load balance directly based on the received pressure-related information of each of the at least one consumer node, or the first producer node may read the pressure-related information of each of the at least two consumer nodes from a cache (e.g., a local cache or a shared cache, etc.), and load balance based on the read pressure-related information of each of the at least two consumer nodes. The load balancing is performed according to the pressure related information of the consumer node, and for example, some messages to be consumed are allocated to the consumer node with higher load pressure, and some messages to be consumed are allocated to the consumer node with lower load pressure.
According to the message processing method provided by the embodiment of the invention, a first producer node sends a message to be consumed to at least one consumer node in at least two consumer nodes; receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node; and carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes, wherein the load balancing effect can be improved due to the fact that the first consumer node carries out load balancing according to the actual pressure condition of each message consumer node, and in addition, the pressure related information of the message consumer node is carried by each consumer node in a feedback message aiming at the message to be consumed, so that the network resource cost of pressure related information feedback can be reduced. It should be further noted that, because the consumer node directly transmits the pressure-related information to the producer node, that is, other than the consumer node and the producer node, there is no interaction with other devices, so that the time delay of reporting the pressure-related information of the consumer node can be reduced, the pressure-related information of the consumer node acquired by the producer node can be ensured to more accurately reflect the current pressure condition of the consumer node, and further the effect of load balancing based on the pressure-related information of the consumer node can be improved,
Optionally, a communication connection is established between each consumer node of the at least two consumer nodes and at least two producer nodes, and the first producer node is any producer node of the at least two producer nodes;
after the receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed, respectively, the method further comprises:
storing pressure related information of each consumer node of the at least one consumer node in a shared cache, wherein the shared cache supports sharing between the at least two producer nodes;
the load balancing according to the pressure related information of some or all consumer nodes in the at least two consumer nodes comprises:
acquiring pressure related information of each consumer node in the at least two consumer nodes from the shared cache at intervals of a first preset time length;
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes.
The first preset duration may be set reasonably according to practical situations, for example, 1 minute, 5 minutes, or 10 minutes. In some alternative embodiments, the first preset duration may be set according to a service type, for example, for a service with a larger message amount, the first preset duration may be set smaller, and for a service with a smaller message amount, the first preset duration may be set larger.
Illustratively, as shown in FIG. 5, each producer node stores the consumer node's pressure-related information in the shared cache upon receiving the consumer node's pressure-related information returned by the consumer node. In addition, each producer node may read the latest pressure related information of each consumer node from the shared cache at intervals of a first preset duration, and perform load balancing based on the latest pressure related information of each consumer node.
In this embodiment, each producer node may store the received pressure related information of the consumer node in the shared cache, so that the shared cache may store the latest pressure related information of each consumer node, and each producer node may further obtain the latest pressure related information of each consumer node based on the shared cache to perform load balancing, so that the effect of load balancing of each consumer node may be improved.
In some alternative embodiments, the method further comprises:
and under the condition that the message to be consumed is not sent to the first consumer node within the second preset time period, receiving the pressure related information of the first consumer node sent by the first consumer node, wherein the first consumer node is any consumer node in the at least two consumer nodes.
In this embodiment, the second preset duration may be set reasonably according to practical situations, for example, 15 minutes, 30 minutes, 1 hour, etc.
In this embodiment, the consumer node may actively feed back the pressure related information of the message to be consumed to the producer node when the message to be consumed is not received for a longer period of time, so that the producer node may update the stored pressure related information of the consumer node based on the pressure related information actively fed back by the consumer node, so that the producer node may perform load balancing based on the latest pressure related information of each consumer node, so as to improve the load balancing effect.
In some alternative embodiments, the pressure related information of the consumer node includes at least one of: the pressure index value and the pressure evaluation value of the consumer node;
Wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
In some alternative embodiments, the pressure index value may include, but is not limited to, at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
The pressure evaluation value may be directly used to evaluate the pressure of the consumer node, for example, the pressure evaluation value may be a pressure score value calculated according to at least one pressure index value, where the greater the pressure score value of the consumer node, the greater the load pressure of the consumer node, and the smaller the pressure score value of the consumer node, the smaller the load pressure of the consumer node.
In an embodiment, each consumer node may report at least one pressure index value, for example, a disk occupancy rate, a CPU occupancy rate, a memory occupancy rate, a downstream call response time, etc., to the producer node, so that the producer node may calculate a load balancing weight value or a load balancing score, etc., corresponding to each consumer node according to the at least one pressure index value reported by each consumer node, respectively, and may perform load balancing based on the load balancing weight value or the load balancing score, etc., corresponding to each consumer node. The method is beneficial to ensuring the consistency of the calculation modes of the load balancing weight values or the load balancing scores corresponding to the consumer nodes, and further improving the accuracy of load balancing.
In another embodiment, each consumer node may report the pressure evaluation value calculated based on at least one pressure index value to the producer node, so that the producer node may directly perform load balancing according to the pressure evaluation value of each consumer node, without performing additional calculation, so that not only the resource overhead of reporting the pressure related information by the consumer node may be reduced, but also the calculation resource of the producer node may be saved.
In some alternative embodiments, the load balancing according to the pressure related information of some or all consumer nodes of the at least two consumer nodes includes:
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes and the message response time corresponding to each consumer node, wherein the message response time is the time when the first producer node sends a message to be consumed to the first producer node receives a feedback message aiming at the message to be consumed.
In practical application, there may be a difference in network state between the producer node and each consumer node, and for a consumer node with a better network state, the message response time of the consumer node is often shorter, and at this time, the producer node often wants to send more messages to be consumed to the consumer node; for consumer nodes with poor network state, the message response time is longer, and the producer node wants to send fewer messages to be consumed to the consumer node, which is beneficial to improving the message pushing efficiency.
According to the embodiment, load balancing is performed by integrating the pressure related information and the message response time of each consumer node, for example, the producer node can perform weighted calculation on the pressure evaluation value and the message response time of the consumer node to obtain a load balancing score, and load balancing is performed based on the load balancing score, so that the load balancing effect among the consumer nodes can be ensured, and meanwhile, the message pushing efficiency is considered.
Fig. 6 is a flowchart of a message processing method according to another embodiment of the present invention, which is applied to a first consumer node, as shown in fig. 6, and includes the steps of:
step 601, receiving a message to be consumed sent by a first producer node.
In this embodiment, the first producer node may be any producer node, where a communication connection is established between the first producer node and at least two consumer nodes, that is, each of the at least two consumer nodes may receive a message to be consumed sent by the first producer node. The first consumer node may be any consumer node of the at least two consumer nodes.
Step 602, message consumption is performed on the message to be consumed.
The first consumer node may consume the message to be consumed may understand that the first consumer node performs related processing on the message to be consumed, for example, if the message to be consumed is an account query request message, the first consumer node may query related information of a corresponding account based on the account query request message.
Step 603, sending a feedback message for the message to be consumed to the first producer node, where the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used to characterize a load pressure condition of the first consumer node.
The pressure related information of the consumer node is used for representing the load pressure condition of the consumer node, that is, the pressure related information of the consumer node can be used for knowing the load pressure condition of the consumer node, for example, the load pressure is higher or the load pressure is lower. Illustratively, the pressure related information of the consumer node may include, but is not limited to, at least one of a pressure index value, a pressure evaluation value, and the like. The pressure index value may include one or more of disk occupancy rate, CPU occupancy rate, memory occupancy rate, downstream call response time, disk writing speed, thread pool size, and the like. The pressure evaluation value may be calculated based on one or more pressure index values, for example, a pressure evaluation value may be calculated based on the CPU occupancy and the memory occupancy, and the pressure evaluation value may be fed back to the producer node.
For example, if the message to be consumed is an account query request message, the feedback message of the message to be consumed may include information about the corresponding account, and in addition, the feedback message may further carry information about the pressure of the first consumer node.
In some optional embodiments, the first consumer node may carry, in each case of receiving one message to be consumed, pressure-related information of the first consumer node in a feedback message of the message to be consumed; alternatively, the first consumer node may carry the pressure-related information of the first consumer node in the feedback message of the last received message to be consumed only if the pressure-related information changes.
In practical applications, the first producer node may send a message to be consumed to a plurality of consumer nodes, and, for example, as shown in fig. 4, after each consumer node receives the message to be consumed and completes processing the message to be consumed, a feedback message for the message to be consumed may be sent to the first producer node, where the feedback message carries information related to the pressure of the consumer node. For example, after the consumer node a finishes processing the message a to be consumed, a feedback message for the message a to be consumed may be sent to the first consumer node, where the feedback message carries pressure related information of the consumer node a; after the consumer node B finishes processing the message B to be consumed, a feedback message for the message B to be consumed may be sent to the first consumer node, where the feedback message carries pressure related information of the consumer node B, and so on. Thus, the first producer node can perform load balancing based on the pressure related information of each consumer node, for example, less messages to be consumed are allocated to consumer nodes with higher load pressure, and more messages to be consumed are allocated to consumer nodes with lower load pressure.
According to the message processing method provided by the embodiment of the invention, the first consumer node receives the message to be consumed sent by the first producer node, consumes the message to be consumed, and carries the pressure related information of the first consumer node in the feedback message of the message to be consumed sent to the first producer node.
In some alternative embodiments, the method further comprises:
Transmitting pressure-related information of the first consumer node to the first producer node under the condition that a message to be consumed transmitted by the first producer node is not received within a second preset time period;
or alternatively
And under the condition that a message to be consumed sent by any producer node of at least two producer nodes is not received within a second preset time period, sending pressure related information of the first consumer node to the producer node of the at least two producer nodes, wherein communication connection is established between the first consumer node and the at least two producer nodes, and the at least two producer nodes comprise the first producer node.
In this embodiment, the second preset duration may be set reasonably according to practical situations, for example, 15 minutes, 30 minutes, 1 hour, etc.
In an embodiment, the first consumer node may actively report the pressure related information of the first consumer node to the producer node when the first consumer node does not receive the message to be consumed sent by a certain producer node within the second preset time period, so that each producer node may be guaranteed to directly obtain the latest pressure related information of the first consumer node.
In another embodiment, the first consumer node may actively report the pressure related information of the first consumer node to any one or more of the at least two producer nodes when the message to be consumed sent by any one of the at least two producer nodes is not received within the second preset time period, or may actively report the pressure related information of the first consumer node to a specific one of the at least two producer nodes, for example, may actively report the pressure related information of the first consumer node to a target producer node of the at least two producer nodes, where the message to be consumed received by the first consumer node last time is the message to be consumed sent by the target producer node, so that network resource overhead of reporting the pressure related message by the first consumer node may be saved when the first consumer node interacts with the at least two producer nodes.
In some alternative embodiments, the pressure related information of the consumer node includes at least one of: the pressure index value and the pressure evaluation value of the consumer node;
wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
In some alternative embodiments, the pressure index value comprises at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
The pressure evaluation value may be directly used to evaluate the pressure of the consumer node, for example, the pressure evaluation value may be a pressure score value calculated according to at least one pressure index value, where the greater the pressure score value of the consumer node, the greater the load pressure of the consumer node, and the smaller the pressure score value of the consumer node, the smaller the load pressure of the consumer node.
In an embodiment, each consumer node may report at least one pressure index value, for example, a disk occupancy rate, a CPU occupancy rate, a memory occupancy rate, a downstream call response time, etc., to the producer node, so that the producer node may calculate a load balancing weight value or a load balancing score, etc., corresponding to each consumer node according to the at least one pressure index value reported by each consumer node, respectively, and may perform load balancing based on the load balancing weight value or the load balancing score, etc., corresponding to each consumer node. The method is beneficial to ensuring the consistency of the calculation modes of the load balancing weight values or the load balancing scores corresponding to the consumer nodes, and further improving the accuracy of load balancing.
In another embodiment, each consumer node may report the pressure evaluation value calculated based on at least one pressure index value to the producer node, so that the producer node may directly perform load balancing according to the pressure evaluation value of each consumer node, without performing additional calculation, so that not only the resource overhead of reporting the pressure related information by the consumer node may be reduced, but also the calculation resource of the producer node may be saved.
In some alternative embodiments, the pressure evaluation value is calculated according to at least two pressure index values of the consumer node and a target weight set, wherein the target weight set includes a weight of each of the at least two pressure index values.
In this embodiment, the target weight set may be a preset weight set, or may be a weight set selected from a plurality of weight sets.
The at least two pressure index values include a CPU occupancy rate and a memory occupancy rate, the target weight set includes a first weight and a second weight, where the first weight is a weight of the CPU occupancy rate and the second weight is a weight of the memory occupancy rate, and the first consumer node may multiply the CPU occupancy rate and the first weight to obtain a first value, multiply the memory occupancy rate and the second weight to obtain a second value, and add the first value and the second value to obtain the pressure evaluation value.
In some optional embodiments, the target weight set is a weight set corresponding to a target calculation period, where the target calculation period is a calculation period with a smallest variance value corresponding to N calculation periods, N is an integer greater than 1, the N calculation periods respectively correspond to N different weight sets, and each weight set includes a weight of each pressure index value in the at least two pressure index values;
the variance value corresponding to the ith computing period in the N computing periods is determined by the following method:
calculating an ith pressure assessment value according to at least two pressure index values of the consumer node and an ith weight group in the ith calculation period; the value range of i is [1, N ];
transmitting the ith pressure assessment value to the first producer node so that the first producer node performs load balancing according to the ith pressure assessment value;
counting the request response number corresponding to each time unit in M time units in the ith calculation period, wherein M is an integer greater than 1;
respectively calculating the ratio of the request response number corresponding to each time unit in the M time units to the ith pressure evaluation value to obtain M ratios;
And calculating the variance values of the M ratios to obtain the variance value corresponding to the ith calculation period.
In this embodiment, the length of the calculation period may be set reasonably according to the actual situation, for example, 1 minute or 5 minutes. The time unit can be reasonably set according to practical situations, for example, 1 second, 10 seconds, 30 seconds, 1 minute, or the like. It should be noted that one calculation cycle includes M or more time units. The N calculation periods may be historical N calculation periods. The request response number corresponding to the time unit may include the number of messages to be consumed processed in the time unit, or the number of messages to be consumed received in the time unit, etc.
The weight set corresponding to each calculation period in the N calculation periods may be preset; or the weight value range may be determined according to a preset weight value range, for example, the weight value range corresponding to each pressure index value is preset, and for each calculation period, the weight corresponding to each pressure index value is obtained from the weight value range corresponding to each pressure index value according to a preset step length in turn, so as to obtain the weight set corresponding to the calculation period.
Specifically, each consumer node calculates a pressure evaluation value corresponding to the calculation period based on the corresponding weight group in each calculation period and reports the pressure evaluation value to the first producer node, and the first producer node can perform load balancing based on the pressure evaluation value reported by each consumer node, so that each consumer node can respectively count the ratio of the request response number corresponding to each time unit in each calculation period to the pressure evaluation value corresponding to the calculation period, calculate the variance value of the ratio corresponding to M time units as the variance value corresponding to the calculation period, and after the variance value corresponding to each calculation period in N calculation periods is obtained, use the weight group corresponding to the calculation period with the smallest variance value as the target weight group.
In this embodiment, the first consumer node calculates the pressure evaluation value based on the corresponding weight group in each calculation period and sends the pressure evaluation value to the first consumer node, so that the first consumer node performs load balancing based on the reported pressure evaluation value, so that the first consumer node can count the request response numbers corresponding to a plurality of time units in the corresponding calculation period after performing load balancing based on each pressure evaluation value, calculate the variance value corresponding to each calculation period, and select the weight group corresponding to the calculation period with the smallest variance value as the target weight group.
In some alternative embodiments, the first consumer node may further provide a reconfiguration function, for example, may provide an interface for modifying the pressure evaluation value calculation correlation, through which the pressure evaluation value calculation manner may be modified, for example, modifying the pressure index value, the weight, etc. involved in the pressure evaluation value calculation, so as to allow the consumer node to implement the calculation of the pressure evaluation value with its own characteristics, and provide the calculation of the pressure evaluation value that meets its own needs.
In summary, by the message processing method provided by the embodiment, the overall resource pressure of the consumer node can be relatively balanced, the management and the use of the computing resource can be more refined, the cluster robustness can be enhanced, and the cluster avalanche caused by single node faults is avoided; a central coordination node is not needed; the method can realize the network service interaction in more frequent, does not need extra network overhead for load balancing data, and can realize the active reporting frequency when the service is less or the requested data is less because of the temporary pressure of a certain node is larger. Compared with the traditional load balancing, the cost of the load balancing equipment can be reduced, the cost of load balancing information transmission is reduced, and the daily load balancing effect is improved.
Referring to fig. 7, fig. 7 is a block diagram of a message processing apparatus according to an embodiment of the present invention, which is applied to a first producer node, and a communication connection is established between the first producer node and at least two consumer nodes, as shown in fig. 7, a message processing apparatus 700 includes:
a first sending module 701, configured to send a message to be consumed to at least one consumer node of the at least two consumer nodes;
a first receiving module 702, configured to receive feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed, where each feedback message carries pressure-related information of the corresponding consumer node, and the pressure-related information of the consumer node is used to characterize a load pressure condition of the consumer node;
the load balancing module 703 is configured to perform load balancing according to pressure related information of some or all consumer nodes in the at least two consumer nodes.
Optionally, a communication connection is established between each consumer node of the at least two consumer nodes and at least two producer nodes, and the first producer node is any producer node of the at least two producer nodes;
The apparatus further comprises:
a storage module, configured to store, after the feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed, pressure-related information of each consumer node of the at least one consumer node in a shared cache, where the shared cache supports sharing between the at least two producer nodes;
the load balancing module is specifically configured to:
acquiring pressure related information of each consumer node in the at least two consumer nodes from the shared cache at intervals of a first preset time length;
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes.
Optionally, the apparatus further comprises:
the second receiving module is configured to receive pressure-related information of a first consumer node sent by the first consumer node when a message to be consumed is not sent to the first consumer node within a second preset duration, where the first consumer node is any consumer node in the at least two consumer nodes.
Optionally, the pressure related information of the consumer node comprises at least one of: the pressure index value and the pressure evaluation value of the consumer node;
Wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
Optionally, the pressure index value includes at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
Optionally, the load balancing module is specifically configured to:
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes and the message response time corresponding to each consumer node, wherein the message response time is the time when the first producer node sends a message to be consumed to the first producer node receives a feedback message aiming at the message to be consumed.
The message processing apparatus 700 provided in the embodiment of the present invention can implement each process in the above-mentioned first producer node side method embodiment, and in order to avoid repetition, a description thereof is omitted here.
Referring to fig. 8, fig. 8 is a block diagram of a message processing apparatus according to an embodiment of the present invention, which is applied to a first consumer node. As shown in fig. 8, the message processing apparatus 800 includes:
a first receiving module 801, configured to receive a message to be consumed sent by a first producer node;
A message consumption module 802, configured to consume the message to be consumed;
a first sending module 803, configured to send a feedback message for the message to be consumed to the first producer node, where the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used to characterize a load pressure condition of the first consumer node.
Optionally, the apparatus further includes a second sending module, where the second sending module is specifically configured to:
transmitting pressure-related information of the first consumer node to the first producer node under the condition that a message to be consumed transmitted by the first producer node is not received within a second preset time period;
or alternatively
And under the condition that a message to be consumed sent by any producer node of at least two producer nodes is not received within a second preset time period, sending pressure related information of the first consumer node to the producer node of the at least two producer nodes, wherein communication connection is established between the first consumer node and the at least two producer nodes, and the at least two producer nodes comprise the first producer node.
Optionally, the pressure related information of the consumer node comprises at least one of: the pressure index value and the pressure evaluation value of the consumer node;
wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
Optionally, the pressure index value includes at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
Optionally, the pressure evaluation value is calculated according to at least two pressure index values of the consumer node and a target weight set, wherein the target weight set includes a weight of each of the at least two pressure index values.
Optionally, the target weight group is a weight group corresponding to a target calculation period, the target calculation period is a calculation period with the smallest corresponding variance value in N calculation periods, N is an integer greater than 1, the N calculation periods respectively correspond to N different weight groups, and each weight group includes a weight of each pressure index value in the at least two pressure index values;
the variance value corresponding to the ith computing period in the N computing periods is determined by the following method:
Calculating an ith pressure assessment value according to at least two pressure index values of the consumer node and an ith weight group in the ith calculation period; the value range of i is [1, N ];
transmitting the ith pressure assessment value to the first producer node so that the first producer node performs load balancing according to the ith pressure assessment value;
counting the request response number corresponding to each time unit in M time units in the ith calculation period, wherein M is an integer greater than 1;
respectively calculating the ratio of the request response number corresponding to each time unit in the M time units to the ith pressure evaluation value to obtain M ratios;
and calculating the variance values of the M ratios to obtain the variance value corresponding to the ith calculation period.
The message processing apparatus 800 provided in the embodiment of the present invention can implement each process in the above-mentioned first consumer node side method embodiment, and in order to avoid repetition, a description thereof is omitted here.
Referring to fig. 9, fig. 9 is a block diagram of a message processing apparatus according to still another embodiment of the present invention, and as shown in fig. 9, a message processing apparatus 900 includes: a processor 901, a memory 902 and a computer program stored in said memory 902 and executable on said processor, the individual components of the message processing device 900 being coupled together by a bus interface 903, said computer program realizing the following steps when executed by said processor 901:
Sending a message to be consumed to at least one consumer node of the at least two consumer nodes;
receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used for representing the load pressure condition of the consumer node;
load balancing is carried out according to pressure related information of part or all consumer nodes in the at least two consumer nodes;
or alternatively
Receiving a message to be consumed sent by a first producer node;
message consumption is carried out on the message to be consumed;
and sending a feedback message for the message to be consumed to the first producer node, wherein the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used for representing the load pressure condition of the first consumer node.
It should be understood that, in the embodiment of the present invention, the computer program when executed by the processor 901 can implement each process in the embodiment of the message processing method, and in order to avoid repetition, a description is omitted here.
The embodiment of the invention also provides an electronic device, which comprises a processor, a memory and a computer program stored in the memory and capable of running on the processor, wherein the computer program realizes the processes of the message processing method embodiment when being executed by the processor, and can achieve the same technical effects, and the repetition is avoided, so that the description is omitted.
The embodiment of the invention also provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the processes of the above-mentioned message processing method embodiment, and can achieve the same technical effects, so that repetition is avoided, and no further description is provided herein. Wherein the computer readable storage medium is selected from Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The embodiments of the present invention have been described above with reference to the accompanying drawings, but the present invention is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present invention and the scope of the claims, which are to be protected by the present invention.

Claims (16)

1. A message processing method applied to a first producer node having a communication connection established between the first producer node and at least two consumer nodes, the method comprising:
sending a message to be consumed to at least one consumer node of the at least two consumer nodes;
receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed respectively, wherein each feedback message carries pressure related information of the corresponding consumer node, and the pressure related information of the consumer node is used for representing the load pressure condition of the consumer node;
and carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes.
2. The method of claim 1, wherein each of the at least two consumer nodes establishes a communication connection with at least two producer nodes, the first producer node being any of the at least two producer nodes;
after the receiving feedback messages sent by each consumer node of the at least one consumer node for the message to be consumed, respectively, the method further comprises:
Storing pressure related information of each consumer node of the at least one consumer node in a shared cache, wherein the shared cache supports sharing between the at least two producer nodes;
the load balancing according to the pressure related information of some or all consumer nodes in the at least two consumer nodes comprises:
acquiring pressure related information of each consumer node in the at least two consumer nodes from the shared cache at intervals of a first preset time length;
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes.
3. The method according to claim 1, wherein the method further comprises:
and under the condition that the message to be consumed is not sent to the first consumer node within the second preset time period, receiving the pressure related information of the first consumer node sent by the first consumer node, wherein the first consumer node is any consumer node in the at least two consumer nodes.
4. The method of claim 1, wherein the pressure related information of the consumer node comprises at least one of: the pressure index value and the pressure evaluation value of the consumer node;
Wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
5. The method of claim 4, wherein the pressure index value comprises at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
6. The method of claim 1, wherein load balancing based on pressure related information of some or all of the at least two consumer nodes comprises:
and carrying out load balancing according to the pressure related information of each consumer node in the at least two consumer nodes and the message response time corresponding to each consumer node, wherein the message response time is the time when the first producer node sends a message to be consumed to the first producer node receives a feedback message aiming at the message to be consumed.
7. A method of message processing applied to a first consumer node, the method comprising:
receiving a message to be consumed sent by a first producer node;
message consumption is carried out on the message to be consumed;
and sending a feedback message for the message to be consumed to the first producer node, wherein the feedback message carries pressure related information of the first consumer node, and the pressure related information of the first consumer node is used for representing the load pressure condition of the first consumer node.
8. The method of claim 7, wherein the method further comprises:
transmitting pressure-related information of the first consumer node to the first producer node under the condition that a message to be consumed transmitted by the first producer node is not received within a second preset time period; or alternatively
And under the condition that a message to be consumed sent by any producer node of at least two producer nodes is not received within a second preset time period, sending pressure related information of the first consumer node to the producer node of the at least two producer nodes, wherein communication connection is established between the first consumer node and the at least two producer nodes, and the at least two producer nodes comprise the first producer node.
9. The method of claim 7, wherein the pressure related information of the consumer node comprises at least one of: the pressure index value and the pressure evaluation value of the consumer node;
wherein the pressure evaluation value is determined according to a pressure index value of the consumer node.
10. The method of claim 9, wherein the pressure index value comprises at least one of: disk occupancy, CPU occupancy, memory occupancy, downstream call response time.
11. The method of claim 9, wherein the pressure assessment value is calculated from at least two pressure index values of the consumer node and a target weight set, wherein the target weight set includes a weight for each of the at least two pressure index values.
12. The method according to claim 11, wherein the target weight group is a weight group corresponding to a target calculation period, the target calculation period is a calculation period with a smallest variance value, which is among N calculation periods, N is an integer greater than 1, the N calculation periods respectively correspond to N different weight groups, and each weight group includes a weight of each pressure index value of the at least two pressure index values;
the variance value corresponding to the ith computing period in the N computing periods is determined by the following method:
calculating an ith pressure assessment value according to at least two pressure index values of the consumer node and an ith weight group in the ith calculation period; the value range of i is [1, N ];
transmitting the ith pressure assessment value to the first producer node so that the first producer node performs load balancing according to the ith pressure assessment value;
Counting the request response number corresponding to each time unit in M time units in the ith calculation period, wherein M is an integer greater than 1;
respectively calculating the ratio of the request response number corresponding to each time unit in the M time units to the ith pressure evaluation value to obtain M ratios;
and calculating the variance values of the M ratios to obtain the variance value corresponding to the ith calculation period.
13. A message processing apparatus for use with a first producer node having a communication connection established between the first producer node and at least two consumer nodes, the apparatus comprising:
a first sending module, configured to send a message to be consumed to at least one consumer node of the at least two consumer nodes;
the first receiving module is used for respectively receiving feedback messages sent by each consumer node of the at least one consumer node aiming at the message to be consumed, wherein each feedback message carries pressure related information of the corresponding consumer node;
and the load balancing module is used for carrying out load balancing according to the pressure related information of part or all of the at least two consumer nodes.
14. A message processing apparatus for application to a first consumer node, the apparatus comprising:
the first receiving module is used for receiving a message to be consumed, which is sent by the first producer node;
the message consumption module is used for consuming the message to be consumed;
and the first sending module is used for sending a feedback message aiming at the message to be consumed to the first producer node, wherein the feedback message carries pressure related information of the first consumer node.
15. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, which when executed by the processor performs the steps of the message processing method according to any one of claims 1 to 6 or the steps of the message processing method according to any one of claims 7 to 12.
16. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the message processing method according to any of claims 1 to 6 or the steps of the message processing method according to any of claims 7 to 12.
CN202210986802.9A 2022-08-17 2022-08-17 Message processing method and device and electronic equipment Pending CN116132367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210986802.9A CN116132367A (en) 2022-08-17 2022-08-17 Message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210986802.9A CN116132367A (en) 2022-08-17 2022-08-17 Message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116132367A true CN116132367A (en) 2023-05-16

Family

ID=86301477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210986802.9A Pending CN116132367A (en) 2022-08-17 2022-08-17 Message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116132367A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275402A1 (en) * 2012-04-17 2013-10-17 Oracle International Corporation Redistributing Computation Work Between Data Producers And Data Consumers
CN105430028A (en) * 2014-09-09 2016-03-23 阿里巴巴集团控股有限公司 Service calling method, service providing method, and node
CN105450784A (en) * 2016-01-20 2016-03-30 北京京东尚科信息技术有限公司 An apparatus and method for distributing consumption nodes to messages in an MQ
CN105912412A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Message distribution method, message distribution device and message distribution system
CN110062038A (en) * 2019-04-09 2019-07-26 网宿科技股份有限公司 A kind of data transmission scheduling method and system
CN113055480A (en) * 2021-03-17 2021-06-29 网宿科技股份有限公司 Scheduling method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275402A1 (en) * 2012-04-17 2013-10-17 Oracle International Corporation Redistributing Computation Work Between Data Producers And Data Consumers
CN105430028A (en) * 2014-09-09 2016-03-23 阿里巴巴集团控股有限公司 Service calling method, service providing method, and node
CN105450784A (en) * 2016-01-20 2016-03-30 北京京东尚科信息技术有限公司 An apparatus and method for distributing consumption nodes to messages in an MQ
CN105912412A (en) * 2016-03-31 2016-08-31 北京奇虎科技有限公司 Message distribution method, message distribution device and message distribution system
CN110062038A (en) * 2019-04-09 2019-07-26 网宿科技股份有限公司 A kind of data transmission scheduling method and system
CN113055480A (en) * 2021-03-17 2021-06-29 网宿科技股份有限公司 Scheduling method and device

Similar Documents

Publication Publication Date Title
US8930521B2 (en) Method, apparatus, and computer program product for enabling monitoring of a resource
CN109308221B (en) Nginx dynamic load balancing method based on WebSocket long connection
Lu et al. Join-idle-queue: A novel load balancing algorithm for dynamically scalable web services
CN101981531B (en) Aggregating recurrent schedules to optimize resource consumption
EP2340673B1 (en) Coordinating data delivery using time suggestions
CN105338061A (en) Lightweight message oriented middleware realization method and system
CN101764746B (en) Method and device for sending data
WO2006020338A1 (en) Runtime load balancing of work across a clustered computing system using current service performance levels
CN110417587B (en) Server load management
CN113422842B (en) Distributed power utilization information data acquisition system considering network load
CN109194718A (en) A kind of block chain network and its method for scheduling task
CN115211092B (en) Message pulling method and device and computer storage medium
CN109189509A (en) The response method and server that call method, the interface of interface call
CN112565391A (en) Method, apparatus, device and medium for adjusting instances in an industrial internet platform
CN114500546B (en) Communication message sending method, device and equipment based on load balancing cluster
CN111338750A (en) Pressure adjusting method and device for execution node, server and storage medium
CN113971098A (en) RabbitMQ consumption management method and system
CN116132367A (en) Message processing method and device and electronic equipment
CN113608870B (en) Load balancing method and device for message queue, electronic equipment and storage medium
CN116192849A (en) Heterogeneous accelerator card calculation method, device, equipment and medium
CN115550284A (en) Message processing method, device and equipment
CN115250276A (en) Distributed system and data processing method and device
CN115878326B (en) Edge computing scene-oriented publishing and subscribing method and system
CN116719632B (en) Task scheduling method, device, equipment and medium
CN112866587B (en) Method and system for distributing spoken language video synthesis tasks

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