Load balancing method, device, equipment and computer readable storage medium

By obtaining the application service information on the cloud server node and determining the mapping relationship between the service and the service grid proxy instance, traffic packets are directed to different grid instances in an orderly manner, which solves the problem of load imbalance in the cloud native service grid. Balanced issues improve service stability.

CN115834708BActive Publication Date: 2024-10-18YUSUR TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202211476539.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-23
Publication Date
2024-10-18
Estimated Expiration
2042-11-23

AI Technical Summary

Technical Problem

In a cloud-native service grid, due to the disorderly distribution of business and traffic, load balancing of service grid proxy instances cannot be guaranteed, resulting in poor service experience or the inability to provide stable services.

Method used

By obtaining the application service information on the cloud server node, the mapping relationship between the service and its corresponding service grid proxy instance is determined, and the received traffic messages are directed to different grid instances in an orderly manner to achieve load balancing. .

Benefits of technology

This effectively avoids traffic overload or idle resources on each service grid proxy instance, improving service stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115834708B_ABST
    Figure CN115834708B_ABST
Patent Text Reader

Abstract

The present disclosure relates to a load balancing method, apparatus, device and computer-readable storage medium, the method comprising: obtaining service information of each application service on a cloud server node; determining a mapping relationship between the service and its corresponding service grid proxy instance according to the service information; sending a received traffic message to a corresponding service grid proxy instance according to the mapping relationship, and having the service grid proxy instance process the traffic message. The present disclosure obtains a mapping relationship between a service and its corresponding service grid proxy instance according to information provided by a cloud native grid control plane, guides the received traffic messages in an orderly manner to different grid instances, realizes load balancing on multiple service grid proxy instances, effectively avoids traffic overload or idle resources on each service grid proxy instance, and improves the stability of the service.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a load balancing method, apparatus, device, and computer-readable storage medium. Background Art

[0002] Service Mesh is an infrastructure layer in cloud services, focusing on achieving reliable delivery of service requests between microservices, and providing traffic control operations such as service discovery, load balancing, request routing, and rule configuration on its basis.

[0003] Currently, multi-instance proxies are usually used on DPUs to form a cloud-native service mesh with application services on cloud server nodes. That is, by deploying multiple service mesh proxy instances on the DPU and establishing full connections with all services on the cloud server nodes, it is ensured that the concurrent traffic of all businesses on the cloud server nodes can be carried. However, due to the disorderly distribution of business and traffic, the load balancing of the service mesh proxy instances cannot be guaranteed, resulting in a poor service experience. Summary of the invention

[0004] In order to solve the above technical problems, the present disclosure provides a load balancing method, apparatus, device and computer-readable storage medium to ensure load balancing of service grid proxy instances and improve service stability.

[0005] In a first aspect, an embodiment of the present disclosure provides a load balancing method, the method being applied to a data processor, the data processor comprising a plurality of containerized service grid proxy instances, the method comprising:

[0006] Get the service information of each application service on the cloud server node;

[0007] Determine, according to the service information, a mapping relationship between the service and its corresponding service grid proxy instance;

[0008] According to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, and the service grid proxy instance processes the traffic message.

[0009] In some embodiments, the data processor further includes a session planner and an inbound traffic navigator;

[0010] After obtaining the service information of each application service on the cloud server node, the method further includes:

[0011] Register information of the multiple containerized service mesh proxy instances in the session planner.

[0012] In some embodiments, the service information includes domain information of the service and / or quintuple information of the service.

[0013] In some embodiments, determining, based on the service information, a mapping relationship between the service and its corresponding service grid proxy instance includes:

[0014] According to the service information, the session planner determines the mapping relationship between each application service on the server node and the service grid proxy instance, and generates a mapping relationship table;

[0015] The mapping relationship table is sent to the corresponding service grid proxy instance and the inbound traffic navigator.

[0016] In some embodiments, after sending the mapping relationship table to the corresponding service grid proxy instance, the method further includes:

[0017] The service grid proxy instance establishes a service link with the corresponding service on the cloud server node according to the mapping relationship table.

[0018] In some embodiments, according to the mapping relationship, sending the received traffic message to the corresponding service grid proxy instance includes:

[0019] According to the mapping relationship table, the inbound traffic navigator identifies the received traffic message and determines the service grid proxy instance corresponding to the traffic message;

[0020] The traffic message is sent to the service grid proxy instance, and the service grid proxy instance processes the traffic message.

[0021] In some embodiments, according to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, and after the service grid proxy instance processes the traffic message, the method further includes:

[0022] The processed traffic packets are accelerated and then sent out.

[0023] In a second aspect, an embodiment of the present disclosure provides a load balancing device, including:

[0024] The acquisition module is used to obtain the service information of each application service on the cloud server node;

[0025] A determination module, configured to determine a mapping relationship between the service and its corresponding service grid proxy instance according to the service information;

[0026] The sending module is used to send the received traffic message to the corresponding service grid proxy instance according to the mapping relationship, and the service grid proxy instance processes the traffic message.

[0027] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:

[0028] Memory;

[0029] Processor; and

[0030] Computer programs;

[0031] The computer program is stored in the memory and is configured to be executed by the processor to implement the method as described in the first aspect.

[0032] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement the method described in the first aspect.

[0033] In a fifth aspect, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the load balancing method as described above is implemented.

[0034] The load balancing method, apparatus, device and computer-readable storage medium provided by the embodiments of the present disclosure obtain a mapping relationship between a service and its corresponding service mesh proxy instance based on information provided by a cloud native mesh control plane, and guide received traffic packets to different mesh instances in an orderly manner, thereby achieving load balancing on multiple service mesh proxy instances, effectively avoiding traffic overload or idle resources on each service mesh proxy instance, and improving service stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0037] Figure 1 A schematic diagram of a cloud native service mesh;

[0038] Figure 2 Flowchart of the load balancing method provided by the embodiment of the present disclosure

[0039] Figure 3 A schematic diagram of an application scenario provided by an embodiment of the present disclosure;

[0040] Figure 4 A flow chart of a load balancing method provided by another embodiment of the present disclosure;

[0041] Figure 5 A schematic diagram of the structure of a load balancing device provided in an embodiment of the present disclosure;

[0042] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0043] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.

[0044] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.

[0045] The Data Processing Unit (DPU), also known as a dedicated data processor, is a new generation of computing chips that are data-centric, I / O-intensive, and use software-defined technology to support infrastructure resource layer virtualization. It has many advantages, such as improving computing system efficiency, reducing the total cost of ownership of the overall system, improving data processing performance, and reducing the performance loss of other computing chips. Service Mesh is an infrastructure layer in cloud services that focuses on achieving reliable delivery of service requests between microservices, and provides traffic control layer operations such as service discovery, load balancing, request routing, and rule configuration.

[0046] Figure 1 The following is a schematic diagram of a cloud native service grid. Currently, DPUs usually use multi-instance proxies and application services on cloud server nodes. Figure 1The cloud-native service grid shown in the figure, that is, by deploying multiple service grid proxy instances on the DPU and establishing full connections with all services on the cloud server node, it ensures that it can carry the concurrent traffic of all services on the cloud server node, that is, each service is connected to each grid proxy instance, but the distribution of services and traffic in this way is disordered, so it cannot guarantee that the traffic load of business traffic is balanced on each proxy instance. Due to the unbalanced traffic load, some proxy instances carry too much business traffic, resulting in increased service delay or large jitter, resulting in poor service experience or inability to provide stable services; while some proxy instances carry less traffic load and have redundant service capabilities to provide, resulting in idle or wasted memory and processor resources on the DPU.

[0047] To address this problem, an embodiment of the present disclosure provides a load balancing method, which is described below in conjunction with a specific embodiment.

[0048] Figure 2 A flow chart of a load balancing method provided in an embodiment of the present disclosure. The method can be applied to Figure 3 The application scenario shown includes a cloud server node and a DPU. The DPU works on the cloud server node and provides a high-bandwidth, low-latency heterogeneous network computing acceleration engine for the cloud server node. The SoC (system on chip) is an operating system deployed on the DPU. The DPU is deployed with a session planner (Session Scheduler) and an inbound traffic navigator (inbound traffic navigator). In a possible implementation, both the session planner and the inbound traffic navigator are implemented based on container technology support.

[0049] Combine the following Figure 3 The application scenario shown is Figure 1 The load balancing method shown in the figure is introduced. The specific steps of the method are as follows:

[0050] S201. Obtain service information of each application service on a cloud server node.

[0051] Kubernetes, abbreviated as k8s or "kube", is an open source Linux container automation operation and maintenance platform that eliminates many manual operations involved in the deployment and scaling of containerized applications. If multiple hosts are combined into a cluster to run Linux containers, Kubernetes can manage the cluster simply and efficiently. Deploy a service mesh control plane agent (such as Istio control plane agent) based on Kubernetes on each cloud server node to synchronize with the service mesh control plane and obtain the full service application node information, CRD configuration information, and service mesh configuration information managed by Kubernetes.

[0052] The session planner obtains dynamic information of each application service and user-defined information (Custom Resources Definition, CRD) from the grid control plane agent on the cloud server node. Optionally, the service information also includes domain information of the service and / or quintuple information of the service.

[0053] S202: Determine a mapping relationship between the service and its corresponding service grid proxy instance according to the service information.

[0054] Based on the above domain information or five-tuple information, for a certain service, the session planner can provide one or more service grid proxy instances of the service grid service for the service, and form a one-to-one or one-to-many mapping relationship between the service on the cloud server node and the one or more grid proxy instances on the DPU that provide service grid services for each service.

[0055] S203. According to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, and the service grid proxy instance processes the traffic message.

[0056] The inbound traffic navigation identifies the application service required by the received traffic message, and based on the one-to-one or one-to-many mapping relationship between the service on the cloud server node obtained in the above steps and one or more grid proxy instances on the DPU that provide service grid services for each service, sends the traffic message to the service grid proxy instance corresponding to the required application service, and the service grid proxy instance provides service requests, traffic forwarding and grid services.

[0057] The disclosed embodiment obtains service information of each application service on a cloud server node; determines a mapping relationship between the service and its corresponding service grid proxy instance based on the service information; sends a received traffic message to a corresponding service grid proxy instance based on the mapping relationship, and the service grid proxy instance processes the traffic message, obtains a mapping relationship between the service and its corresponding service grid proxy instance based on information provided by a cloud native grid control plane, and guides the received traffic messages to different grid instances in an orderly manner, thereby achieving load balancing on multiple service grid proxy instances, effectively avoiding traffic overload or idle resources on each service grid proxy instance, and improving service stability.

[0058] Figure 4 Another embodiment of the present disclosure provides a flow chart of a load balancing method, such as Figure 4 As shown, the method includes the following steps:

[0059] S401. Obtain service information of each application service on a cloud server node.

[0060] A service mesh control plane agent (such as an Istio control plane agent) is deployed on each cloud server node based on Kubernetes to synchronize with the service mesh control plane and obtain the full service application node information, CRD configuration information, and service mesh configuration information managed by Kubernetes. In a possible implementation, the cloud server node has deployed an application service container based on Kubernetes and a certain service mesh control plane implementation (such as Istio\Linerd) to synchronize with the service mesh control plane and obtain the full service application node information, CRD configuration information, and service mesh configuration information managed by Kubernetes.

[0061] The session planner obtains dynamic information of each application service and CRD configuration information from the grid control plane agent on the cloud server node. Optionally, the service information also includes domain information of the service and / or five-tuple information of the service.

[0062] S402: Register information of the multiple containerized service grid proxy instances into the session planner.

[0063] The multiple service mesh proxy instances deployed based on Docker compose on the DPU SoC have their own configuration information, such as the ID and IP address of each service mesh proxy instance, which is used to identify different service mesh proxy instances. Before implementing the service mesh service, the information of each mesh proxy instance needs to be registered with the session planner so that the session planner can allocate the corresponding service mesh proxy instance to each service according to the information of each service on the cloud server node.

[0064] In some embodiments, a corresponding number of service mesh proxy instances can be deployed on the DPU SoC based on Docker compose according to the deployment scale of the application service on the cloud server node. The specific deployment method is not limited in the embodiments of the present disclosure.

[0065] S403: According to the service information, the session planner determines the mapping relationship between each application service on the server node and the service grid proxy instance, and generates a mapping relationship table.

[0066] Based on the above domain information or five-tuple information, for a certain service, the session planner can provide one or more service grid proxy instances of the service grid service for the service, form a one-to-one or one-to-many mapping relationship between the service on the cloud server node and the one or more grid proxy instances on the DPU that provide service grid services for each service, and generate a corresponding mapping relationship table.

[0067] S404: Send the mapping relationship table to the corresponding service grid proxy instance and the inbound traffic navigator.

[0068] At the same time, the session planner will also send the grid service configuration information that each service grid proxy instance should provide to the corresponding service grid proxy instance.

[0069] S405: The service grid proxy instance establishes a service link with a corresponding service on the cloud server node according to the mapping relationship table.

[0070] After receiving the mapping table, the service grid proxy instance establishes a service link with the corresponding service on the corresponding cloud server node based on the mapping table and the grid service configuration information that the service grid proxy instance should provide. This is equivalent to "allocating" the services on the cloud server node to different service grid proxy instances, which provide traffic forwarding and grid services for service requests.

[0071] S406: According to the mapping relationship table, the inbound traffic navigator identifies the received traffic message and determines the service grid proxy instance corresponding to the traffic message.

[0072] S407: Send the traffic message to the service grid proxy instance, and the service grid proxy instance processes the traffic message.

[0073] S408: Accelerate the processed traffic message and then send it out.

[0074] DPU can use hardware to offload and accelerate the subsequent traffic forwarding, which significantly improves the running speed compared to forwarding through software. DPU accelerates the processed traffic message and sends it to the target node to complete the service of the traffic message.

[0075] The embodiment of the present disclosure obtains service information of each application service on a cloud server node; registers information of the multiple containerized service grid proxy instances into the session planner; according to the service information, the session planner determines the mapping relationship between each application service on the server node and the service grid proxy instance, and generates a mapping relationship table; the mapping relationship table is sent to the corresponding service grid proxy instance and the inbound traffic navigator; the service grid proxy instance establishes a service link with the corresponding service on the cloud server node according to the mapping relationship table; according to the mapping relationship table, the inbound traffic navigator identifies the received traffic message and determines the service grid proxy instance corresponding to the traffic message; the traffic message is sent to the service grid proxy instance, and the service grid proxy instance processes the traffic message; the processed traffic message is accelerated and then sent out, and the received traffic message is orderly guided to different grid instances, so that load balancing is achieved on multiple service grid proxy instances, effectively avoiding traffic overload or resource idleness on each service grid proxy instance, and improving service stability.

[0076] Figure 5 The load balancing device provided in the embodiment of the present disclosure is a schematic diagram of the structure of the load balancing device. The load balancing device may be a data processor as described in the above embodiment, or the load balancing device may be a component or assembly in the data processor. The load balancing device provided in the embodiment of the present disclosure may execute the processing flow provided in the load balancing method embodiment, such as Figure 5 As shown, the load balancing device 50 includes: an acquisition module 51, a determination module 52, and a sending module 53; wherein the acquisition module 51 is used to obtain service information of each application service on the cloud server node; the determination module 52 is used to determine the mapping relationship between the service and its corresponding service grid proxy instance according to the service information; the sending module 53 is used to send the received traffic message to the corresponding service grid proxy instance according to the mapping relationship, and the service grid proxy instance processes the traffic message.

[0077] Optionally, the data processor also includes a session planner and an inbound traffic navigator, and the load balancing device 50 also includes a registration module 54 for registering information of the multiple containerized service grid proxy instances into the session planner.

[0078] Optionally, the service information includes domain information of the service and / or quintuple information of the service.

[0079] Optionally, the determination module 52 includes a generation unit 521 and a sending unit 522; the generation unit 521 is used to determine the mapping relationship between each application service on the server node and the service grid proxy instance according to the service information, and generate a mapping relationship table by the session planner; the sending unit 522 is used to send the mapping relationship table to the corresponding service grid proxy instance and the inbound traffic navigator.

[0080] Optionally, the determination module 52 further includes a connection unit 523, configured to establish a service link with a corresponding service on the cloud server node according to the mapping relationship table.

[0081] Optionally, the sending unit 522 is also used to identify the received traffic message according to the mapping relationship table, and determine the service grid proxy instance corresponding to the traffic message by the inbound traffic navigator; send the traffic message to the service grid proxy instance, and have the service grid proxy instance process the traffic message.

[0082] Optionally, the load balancing device 50 further includes an acceleration module 55 for accelerating the processed traffic message before sending it out.

[0083] Figure 5 The load balancing device of the illustrated embodiment can be used to execute the technical solution of the above-mentioned method embodiment. Its implementation principle and technical effect are similar and will not be described in detail here.

[0084] Figure 6 The electronic device provided in the embodiment of the present disclosure may be the device to be upgraded as described in the above embodiment. The electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the load balancing method embodiment, such as Figure 6 As shown, the electronic device 60 includes: a memory 61, a processor 62, a computer program and a communication interface 63; wherein the computer program is stored in the memory 61 and is configured so that the processor 62 executes the load balancing method as described above.

[0085] In addition, an embodiment of the present disclosure further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the load balancing method described in the above embodiment.

[0086] In addition, an embodiment of the present disclosure further provides a computer program product, which includes a computer program or instructions, and when the computer program or instructions are executed by a processor, the load balancing method described above is implemented.

[0087] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0088] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0089] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0090] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0091] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

[0092] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0093] The above description is only a specific embodiment of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to the embodiments described herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A load balancing method, It is characterized in that The method is applied to a data processor, the data processor includes a plurality of containerized service grid proxy instances, the data processor also includes a session planner, and the method includes: Get the service information of each application service on the cloud server node; Registering information of the plurality of containerized service grid proxy instances into the session planner; According to the service information, the session planner determines a mapping relationship between the service and its corresponding service grid proxy instance; According to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, and the service grid proxy instance processes the traffic message.

2. The method according to claim 1, It is characterized in that The data processor also includes an inbound traffic navigator.

3. The method according to claim 1, It is characterized in that The service information includes domain information of the service and / or quintuple information of the service.

4. The method according to claim 2, It is characterized in that According to the service information, the session planner determines a mapping relationship between the service and its corresponding service grid proxy instance, including: According to the service information, the session planner determines the mapping relationship between each application service on the server node and the service grid proxy instance, and generates a mapping relationship table; The mapping relationship table is sent to the corresponding service grid proxy instance and the inbound traffic navigator.

5. The method according to claim 4, It is characterized in that After sending the mapping relationship table to the corresponding service grid proxy instance, the method further includes: The service grid proxy instance establishes a service link with the corresponding service on the cloud server node according to the mapping relationship table.

6. The method according to claim 4, It is characterized in that According to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, including: According to the mapping relationship table, the inbound traffic navigator identifies the received traffic message and determines the service grid proxy instance corresponding to the traffic message; The traffic message is sent to the service grid proxy instance, and the service grid proxy instance processes the traffic message.

7. The method according to claim 1, It is characterized in that According to the mapping relationship, the received traffic message is sent to the corresponding service grid proxy instance, and after the service grid proxy instance processes the traffic message, the method further includes: The processed traffic packets are accelerated and then sent out.

8. A load balancing device, It is characterized in that include: The acquisition module is used to obtain the service information of each application service on the cloud server node; A registration module is used to register the information of multiple containerized service mesh proxy instances into the session planner; a determination module, configured to determine, by the session planner, a mapping relationship between the service and its corresponding service grid proxy instance according to the service information; The sending module is used to send the received traffic message to the corresponding service grid proxy instance according to the mapping relationship, and the service grid proxy instance processes the traffic message.

9. An electronic device, It is characterized in that include: Memory; processor; as well as Computer programs; The computer program is stored in the memory and is configured to be executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Load balancing method, device and system and storage medium

    CN114726863A