WO2024056042A1 - 一种负载均衡处理方法、装置、存储介质及电子装置 - Google Patents
一种负载均衡处理方法、装置、存储介质及电子装置 Download PDFInfo
- Publication number
- WO2024056042A1 WO2024056042A1 PCT/CN2023/118931 CN2023118931W WO2024056042A1 WO 2024056042 A1 WO2024056042 A1 WO 2024056042A1 CN 2023118931 W CN2023118931 W CN 2023118931W WO 2024056042 A1 WO2024056042 A1 WO 2024056042A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- load balancing
- service provider
- information
- instance
- reconfigured
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1008—Server selection for load balancing based on parameters of servers, e.g. available memory or workload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1017—Server selection for load balancing based on a round robin mechanism
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1023—Server selection for load balancing based on a hash applied to IP addresses or costs
Definitions
- Embodiments of the present disclosure relate to the field of distributed systems, and specifically, to a load balancing processing method, device, storage medium and electronic device.
- microservices In order to solve the pain points of traditional monolithic applications, microservices have become an important definition of cloud native. At the same time, more and more companies in the industry have adopted microservice architecture, such as Amazon, eBay and NetFlix, and their scale has also experienced explosive growth. . According to relevant industry trend reports, microservices have entered a mature stage and are widely adopted as a mainstream architecture. Microservice architecture and its scale growth also bring a series of challenges, such as client-to-microservice application access communication that needs to meet increasing governance requirements. As the preferred Application Programming Interface (API) gateway, it can transfer functionality from individual microservices to the gateway, thereby simplifying the implementation of each microservice by integrating cross-domain issues into a single layer.
- API Application Programming Interface
- API gateways provide several functions such as load balancing, authentication and authorization, rate limiting, logging and tracking.
- Load balancing is a very critical part of the high-availability design of distributed systems. One of the characteristics of a distributed system is to support rapid expansion. After the cluster is expanded, how to dispatch network requests to one or more nodes in the cluster depends on the load balancing strategy. Load balancing is very critical in handling high concurrency, easing network pressure, and supporting capacity expansion. Different load balancing strategies can be selected in different application scenarios.
- API gateway load balancing strategies there are two main types of traditional API gateway load balancing strategies: one is polling strategy, weighted polling, random strategy, and hash strategy; the other is minimum response time and minimum number of concurrency strategies; the first four The first one belongs to the independent algorithm class. They do not depend on the actual status and real processing situation of the back-end service instance. The latter two need to decide the final strategy implementation based on the real processing situation of the back-end service instance, but the data relied on here is The API gateway itself collects statistics, and the statistics can only be obtained after the back-end service instance has completed the request response.
- the algorithm of the first strategy is theoretical and cannot adapt to the complexity and dynamics of microservice architecture.
- traditional load balancing strategies such as polling and weighting assume that the processing performance of each node is fixed.
- this premise is not practical in scenarios where expansion and contraction occur at any time and the resources used by microservices are subject to change and competition. It is already difficult to establish, which makes these "strategies” unable to achieve "equilibrium” in the true sense.
- the second type of strategy only determines the load balancing strategy based on the API gateway's own information.
- This technical solution has shortcomings such as post-event adjustment and insufficient timeliness.
- some common strategies for selecting load nodes based on response time and response code although relatively accurate, have shortcomings such as post-event adjustment, insufficient timeliness, and single dimension.
- Embodiments of the present disclosure provide a load balancing processing method, device, storage medium and electronic device to at least solve the problems in related technologies that the traditional API gateway load balancing strategy only relies on the API gateway itself to collect data, which is inflexible and timely.
- a load balancing processing method which method includes:
- a target service provider instance is determined based on the pre-stored application performance management APM full information and the reconfigured load balancing policy, where the target service provider instance is To process the business request;
- the target service provider instance is determined according to the configured load balancing policy.
- a load balancing processing device includes:
- the receiving module is configured to receive business requests from service consumers
- a judgment module configured to obtain performance statistical information of the application programming interface API gateway, and judge whether the API gateway meets the loading conditions of the reconfigured load balancing policy based on the performance statistical information;
- the first load balancing module is configured to determine the target service provider instance based on the pre-stored full amount of application performance management APM information and the reconfigured load balancing policy when the API gateway satisfies the loading condition, wherein, The target service provider instance is used to process the service request;
- the second load balancing module is configured to determine the target service provider instance according to the configured load balancing policy when the API gateway does not meet the loading condition.
- a load balancing processing system is also provided, and the system includes:
- the API gateway is configured to receive business requests from service consumers, obtain performance statistics of the application programming interface API gateway, and determine whether the API gateway meets the loading conditions of the reconfigured load balancing policy based on the performance statistics;
- An intelligent load balancer configured to determine the target service provider instance based on the pre-stored full amount of application performance management APM information and the reconfigured load balancing policy when the API gateway satisfies the loading condition, wherein: The target service provider instance is used to process the service request;
- the API gateway is also configured to determine the target service provider instance according to the configured load balancing policy when the API gateway does not meet the loading condition.
- a computer-readable storage medium is also provided.
- a computer program is stored in the storage medium, wherein the computer program executes any of the above method embodiments when run by a processor. steps in.
- an electronic device including a memory and a processor.
- a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above. Steps in method embodiments.
- Figure 1 is a hardware structural block diagram of a load balancing processing method according to an embodiment of the present disclosure
- Figure 2 is a flow chart of a load balancing processing method according to an embodiment of the present disclosure
- FIG. 3 is a structural block diagram of a load balancing processing system according to another embodiment of the present disclosure.
- Figure 4 is a flow chart of a load balancing processing method according to another embodiment of the present disclosure.
- Figure 5 is a flow chart of a load balancing method based on node IO in an embodiment of the present disclosure
- Figure 6 is a flow chart of a load balancing method according to another embodiment of the present disclosure.
- FIG. 7 is a block diagram of a load balancing processing device according to an embodiment of the present disclosure.
- Figure 8 is a structural block diagram of an API gateway independently performing load balancing in an embodiment of the present disclosure
- Figure 9 is a structural block diagram of an API gateway and an intelligent load balancer jointly performing load balancing in an embodiment of the present disclosure
- Figure 10 is a schematic diagram of the gateway control plane UI in an embodiment of the present disclosure.
- Figure 1 is a hardware structural block diagram of a load balancing processing method according to an embodiment of the present disclosure.
- the hardware single board may include one or more (only one is shown in Figure 1)
- the processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the above-mentioned mobile terminal may also include a transmission device configured to have a communication function.
- device 106 and input and output devices 108 are examples of a communication function.
- the structure shown in Figure 1 is only illustrative, and it does not limit the structure of the above-mentioned mobile terminal.
- the mobile terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than shown in FIG. 1 .
- the memory 104 may be configured to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the load balancing processing method in the embodiment of the present disclosure.
- the processor 102 runs the computer program stored in the memory 104, thereby Execute various functional applications and load balancing processing, that is, implement the above method.
- Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory.
- the memory 104 may further include memory located remotely relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
- the transmission device 106 is arranged to receive or send data via a network.
- Specific examples of the above-mentioned network may include wireless networks provided by communication providers.
- the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station to communicate with the Internet.
- the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is configured to communicate with the Internet wirelessly.
- NIC Network Interface Controller
- FIG. 2 is a flow chart of a load balancing processing method according to an embodiment of the present disclosure. As shown in Figure 2, the process includes the following steps:
- Step S202 receive a service request from a service consumer
- Step S204 obtain the performance statistical information of the application programming interface API gateway, and determine whether the API gateway meets the loading conditions of the reconfigured load balancing policy based on the performance statistical information;
- Step S206 If the API gateway satisfies the loading condition, determine the target service provider instance based on the pre-stored application performance management APM full information and the reconfigured load balancing policy, where the target service provider instance is used to process all Describe business requests;
- Step S208 If the API gateway does not meet the loading condition, determine the target service provider instance according to the configured load balancing policy.
- the service consumer in step S202 is the service request initiator, which usually refers to the application client.
- the above step S204 may specifically include: determining whether the performance statistical information is less than a preset performance statistical information threshold, wherein the performance statistical information includes at least one of the following: gateway forwarding error rate, gateway CPU Occupancy rate, gateway memory occupancy rate; when the performance statistics information is less than the performance statistics information threshold, it is determined that the API gateway meets the loading condition; when the performance statistics information is greater than or equal to the performance statistics information In the case of a threshold, it is determined that the API gateway does not meet the loading condition.
- the API gateway can be configured in advance through the gateway control plane UI.
- the loading condition is set to the Central Processing Unit (Central Processing Unit, referred to as CPU) CPU usage is less than 70%, and the performance of the API gateway is prioritized. Then load the reconfigured load balancing policy. If the API gateway resources are insufficient, forcibly loading the reconfigured load balancing policy will lead to reduced overall performance, such as longer request response times.
- CPU Central Processing Unit
- the reconfigured load balancing policy in the above step S204 is an abstract load balancing policy, which is also the expected behavior of the system, and is used to represent the user's expectations for the load balancing processing results.
- the reconfigured load balancing strategy is set based on the operation information collected and counted by the Application Performance Management (APM) system.
- the dimensions of the operation information include: events, performance, indicators, and call chains.
- the reconfigured load balancing strategy can be configured based on any operating information collected by the APM system. For example, if users are more concerned about business response speed, they can consider load balancing based on node bandwidth and service response delay.
- reconfigured load balancing strategies include but are not limited to the following strategies:
- Load balancing is performed based on the number of restarted applications on the node where the service provider instance is located;
- Load balancing is performed based on the input and output IO of the node where the service provider instance is located;
- the reconfigured load balancing policy can be set to different policy levels.
- the corresponding lower-level policy will be automatically displayed for the user to select. For example, if you select load balancing based on the dynamic processing capability of the service provider instance, options for measuring the processing capability of the service provider instance will pop up, such as the processing time of a single request (dynamic processing capability), the processing success rate of multiple requests, and service The number of application restarts for the provider instance, etc.
- step S206 may specifically include the following steps:
- Step S2062 Determine one or more service providers according to the service request, where each service provider is configured with at least one service provider instance;
- Step S2064 Filter out the target service running information corresponding to the reconfigured load balancing policy and service provider from all APM information;
- Step S2066 Generate a service provider instance pool based on the reconfigured load balancing policy and target service running information
- Step S2068 Determine the target service provider instance from the service provider instance pool according to the configured load balancing policy.
- the service provider in the above step S2062 is the business request processor, which usually refers to the application server.
- each service provider may have multiple copies with business processing capabilities. That is, a service provider instance.
- step S2066 may specifically include:
- all service provider instances that satisfy each reconfigured load balancing strategy are selected according to the target service running information to form a service provider sub-instance pool;
- the set mixed relationship processes multiple service provider sub-instance pools to obtain a service provider instance pool, where the mixed relationship includes one of the following: AND, OR, NOT.
- the mixed relationship is AND, which means that the service provider instance needs to satisfy multiple reconfigured load balancing at the same time; the mixed relationship is OR, which means that the service provider instance only needs to satisfy any one of the reconfigured load balancing; the mixed relationship is No, indicating that service provider instances that satisfy any reconfigured load balancing need to be eliminated.
- the policy relationship can also be set to non or regular.
- Non means excluding all service provider instances that meet the reconfigured load balancing policy
- regular means a string Matching mode, as long as the target service running information contains the specific parameters set in the reconfigured load balancing policy, it is deemed to satisfy the load balancing policy.
- the entire process of running the load balancing processing method also includes obtaining and storing the APM full information from the APM system through an interface that conforms to the preset specifications, wherein the APM full information includes the APM full information collected by the APM system. And collect statistics on the running information of all service provider instances.
- the preset specification is the OpenTelemetry specification.
- HTTP HyperText Transfer Protocol
- TCP Transmission Control Protocol
- step S208 may specifically include the following steps:
- Step S2082 Determine one or more service providers according to the service request, where each service provider is configured There is at least one service provider instance configured;
- Step S2084 Obtain the service running information corresponding to the service provider instance collected by the API gateway;
- Step S2086 Determine the target service provider instance according to the service running information and the configured load balancing strategy, where the configured load balancing strategy includes: polling strategy, weighted polling strategy, random strategy, Hash strategy, minimum response time strategy, minimum concurrency strategy.
- the configured load balancing strategy is a traditional load balancing strategy. Specifically, the polling strategy allocates each request to different service provider instances one by one in chronological order; the weighted polling strategy is based on the set weight. Distribution, the weight is proportional to the access rate of business requests; the hash strategy assigns each request according to the hash result of the access IP, and business requests from the same IP will be assigned to a fixed service provider instance; the minimum response time strategy is Prioritize allocation to the service provider instance with the shortest response time.
- the problem that the traditional API gateway load balancing strategy in related technologies only relies on the API gateway itself to collect data, which is not flexible enough and has poor timeliness, can be solved.
- the loading conditions of the load balancing strategy prioritize the performance of the API gateway and enrich the data dimensions available to the API gateway through the APM system, thereby providing more load balancing strategies that are more in line with the actual operation of the service.
- FIG. 3 is a structural block diagram of a load balancing processing system according to another embodiment of the present disclosure. As shown in Figure 3, the load balancing processing system includes the following structure:
- API gateway 301 is configured to receive business requests from service consumers, obtain performance statistics of the application programming interface API gateway, and determine whether the API gateway meets the loading conditions of the reconfigured load balancing policy based on the performance statistics. ;
- the intelligent load balancer 302 is configured to determine the target service provider instance based on the pre-stored full application performance management APM information and the reconfigured load balancing policy when the API gateway satisfies the loading condition, wherein, The target service provider instance is used to process the service request;
- the API gateway 301 is also configured to determine the target service provider instance according to the configured load balancing policy when the API gateway does not meet the loading condition.
- the loading condition of the reconfigured load balancing policy is the calling condition of the intelligent load balancer 302, and a pluggable coupling connection is used between the intelligent load balancer 302 and the API gateway 301.
- the load balancing processing system also includes a gateway control plane UI, which is configured to receive the desired abstract load balancing policy/behavior set by the user and provide it to the entire system.
- a gateway control plane UI which is configured to receive the desired abstract load balancing policy/behavior set by the user and provide it to the entire system.
- Various load balancing strategies include load balancing based on business indicators and load balancing based on the dynamic processing capabilities of service instances.
- the gateway control plane UI can add reconfigured load balancing strategies based on the configured load balancing strategies (polling, weight, hash, random). After each load balancing strategy is selected, a submenu will pop up, and the relevant indicator values can be set in the submenu. For example, specific bit/s can be set in the submenu of load balancing based on node bandwidth, and service custom business indicator items can be filled in in the submenu of load balancing based on the service provider instance's business indicator capabilities. When the relevant indicators of the node where the service provider instance is located or the service itself are lower than the threshold set above, the service instance will be removed from the available load balancing service instance pool.
- the gateway control plane UI is also set to set the policy relationship (non, regular) and mixed relationship of the reconfigured load balancing policy. Relation (and, or, not).
- the intelligent load balancer 302 specifically includes:
- the information docking unit is configured to obtain service operation information from the cloud native APM;
- the database is set to store the operating information obtained by the information docking unit
- the information processing and policy calculation unit is configured to filter out the target service running information from the database according to the reconfigured load balancing policy
- the policy generation unit is configured to determine the service provider instance pool based on the target service running information.
- the information docking unit is an agent component that docks with the APM system through a standard protocol to collect operating information such as distributed call chain data.
- the information collected by the APM system includes events, performance, indicators, call chain and other dimensions, such as CPU, IO, memory usage information, etc., as well as information that can reflect the service business processing capabilities (processing time, error rate, number of restarts, etc.).
- the information processing and policy calculation unit may be specifically configured to filter out the target service operation information corresponding to the reconfigured load balancing policy and the service provider from the full amount of APM information.
- the policy generation unit may be specifically configured to filter out all services that satisfy the reconfigured load balancing policy based on the target service running information when a reconfigured load balancing policy is set in advance.
- Provider instances form a service provider instance pool; when multiple reconfigured load balancing strategies are set in advance, all service provider instances that satisfy each reconfigured load balancing strategy are filtered out based on the target service running information.
- Form a service provider sub-instance pool process multiple service provider sub-instance pools according to a preset mixed relationship to obtain a service provider instance pool, wherein the mixed relationship includes one of the following: AND, OR, NOT .
- the API gateway 301 is also configured to determine the target service provider instance according to the configured load balancing policy when the service provider instance pool contains multiple service provider instances.
- the API gateway 301 is also configured to forward the service request to the target service provider instance after determining the target service provider instance; when the target service provider instance responds to the service request Finally, return the service request response to the service consumer.
- FIG. 4 is a flow chart of a load balancing processing method according to another embodiment of the present disclosure, which is applied to the above load balancing processing system. As shown in Figure 4, the load balancing processing method specifically includes the following steps:
- Step S401 The system obtains the desired abstract load balancing policy/behavior through the UI/interface;
- Step S402 The information docking unit obtains various information by docking with the APM.
- the docking process uses standard protocols, usually HTTP/TCP protocols, but must comply with the OpenTelemetry specification;
- Step S403 The API gateway decides whether to execute the plug-in intelligent load balancer based on the static configuration of the API gateway and its own performance statistics;
- Step S404 Filter valid information according to the user's desired behavior (reconfigured load balancing policy), calculate the specific load balancing policy, and generate an available service provider instance pool;
- Step S405 In the process of forwarding the request to the service provider, the API gateway continues to implement the traditional load balancing strategy (configured load balancing strategy) and selects a specific target service provider instance to send the request.
- the traditional load balancing strategy configured load balancing strategy
- the gateway control plane UI provides the option of setting different abstract load balancing strategies for different services, such as load balancing based on the CPU occupancy of the service provider instance, input and output based on the node where the service provider is located.
- Output) IO for load balancing, load balancing based on service business indicators, and dynamic processing capabilities based on service instances. Efforts are made to carry out various load balancing strategies such as load balancing.
- the system control plane UI will pop up options used to measure the service instance's processing capabilities, such as the processing time of a single request (dynamic processing capability), the processing time of multiple requests Processing success rate, service instance application restart times, etc., through further selection, the true behavioral expectations of the system can be clearly described.
- step S402 of this embodiment because the APM system has a unified OpenTelemetry specification, the docking can be completed in accordance with the standard. At the same time, because the APM has completed the interaction and data collection of all applications, the intelligent load balancer can use this to implement the application itself.
- the real state decoupling eliminates the need to interact with large-scale applications one by one and count their runtime data, which greatly reduces the implementation load of the intelligent balancing loader and greatly improves robustness.
- step S403 may specifically include that after the actual service request reaches the API gateway, the API gateway will first collect the resource occupancy of the gateway itself, including the gateway forwarding error rate, gateway CPU memory occupancy, and gateway memory occupancy. , determine whether the current gateway resource occupancy can support the continued invocation of the intelligent load balancer to implement the enhanced load balancing strategy.
- the calling condition can be configured on the API gateway through the gateway control plane UI (for example, set to CPU usage less than 70% threshold). If it is judged that the API gateway resources are insufficient (that is, the CPU usage is greater than or equal to 70%), then jump Through the intelligent load balancer, jump directly to step S405, and use the traditional and simple load balancing strategy that comes with the API gateway for forwarding. Otherwise, continue to step S404.
- the gateway control plane UI for example, set to CPU usage less than 70% threshold.
- step S404 may specifically include the information processing and policy calculation unit obtaining and filtering out valid relevant information from the database according to the reconfigured load balancing policy (system expected behavior) by the intelligent balancing loader, assuming that the system expects The behavior is based on the bandwidth load of the node where the service instance is located (that is, the service instance with a higher real-time bandwidth of the node is preferred to forward the request, which can improve the business response speed).
- the information processing and policy calculation unit will based on the service instance information. , filter out from the full amount of information: the corresponding information between service provider instances and nodes, and node real-time bandwidth statistics.
- the policy generation unit generates an available service instance pool (which contains one or more alternative service instances) based on the filtered information, and returns the service instance pool to the API gateway.
- step S405 may specifically include returning the actual business request to the API gateway, and in the process of forwarding the request to the service provider, in the available service instance pool, implementing the traditional and simple Load balancing strategy (configured load balancing strategy), selects a specific target service provider instance to send the request, and returns the request response to the client after the service provider responds to the request.
- traditional and simple Load balancing strategy configured load balancing strategy
- the configured load balancing policies include: polling policy, weighted polling policy, random policy, hashing policy, minimum response time policy, and minimum concurrency policy.
- the functional richness and intelligence of the cloud native API gateway under the microservice architecture can be enhanced, the load balancing strategy of the gateway can be enhanced, and large-scale complex systems can be solved. Energy saving, consumption reduction, operation and maintenance and other issues.
- FIG. 5 is a flow chart of a load balancing method based on node IO in an embodiment of the present disclosure.
- This method is applied to a network management system deployed on a PaaS platform. Due to the tight resources in the on-site environment, a unified deployment of control nodes and computing nodes is used. , a large number of business applications and platform applications are deployed on these nodes, and resource grabbing (such as disk IO) often occurs, and access to a certain microservice often encounters lags or even failures. When encountering these When a problem occurs, the service provider finds through locating that the problem only occurs on one of the nodes. In addition, the service provider instance on the node is working normally. Therefore, the user's expected behavior is to adjust the load balancing strategy based on the node IO situation.
- the load balancing processing method specifically includes the following steps:
- Step S501 set the target service-related information through the UI/interface, and the reconfigured load balancing policy is set to "Load balancing based on node IO", specifying to exclude the number of read and write operations per second (Input/Output Operations Per Second, Instances on nodes (referred to as IOPS) less than 1K;
- Step S502 The intelligent load balancer connects to the APM through a standard protocol to obtain various information
- Step S503 The service consumer/client initiates an actual service request
- Step S504 The API gateway dynamically calls the intelligent load balancer.
- the intelligent load balancer filters the effective information and calculates the specific load balancing strategy according to the expected behavior of the system (abstract load balancing strategy);
- Step S505 The API gateway further selects a specific service provider instance to send the request according to the configured load balancing policy (traditional load balancing policy) from the available service provider instance pool.
- the configured load balancing policy traditional load balancing policy
- step S501 may specifically include the following steps:
- Step S5011 fill in the address information of the target service provider (corresponding to multiple service provider instances) through the gateway control plane UI;
- Step S5012 the reconfigured load balancing policy is set to "load balancing based on node IO";
- Step S5013 in the submenu, the load balancing policy related indicators are set to "Exclude when IOPS ⁇ 1k".
- step S502 may specifically include the following steps:
- Step S5021 configure the APM system address information according to the gateway control plane UI, or the operation and maintenance personnel configure the third-party APM system address information through the gateway control plane UI;
- Step S5022 The information docking unit reads the APM service information using the standard protocol (HTTP) through periodic querying (for example, querying once every 10 seconds), calls the APM standard interface (that is, the interface that complies with the standard specification OpenTelemetry in the APM field), and obtains All operation and maintenance information.
- HTTP standard protocol
- APM standard interface that is, the interface that complies with the standard specification OpenTelemetry in the APM field
- the docking unit can select different methods such as periodic acquisition, dynamic monitoring of changes, publishing/subscription, etc. to complete the full information acquisition according to the actual application scenario.
- Step S5023 The information docking unit stores all the obtained information in the database for use by the information processing and policy generation unit of the intelligent load balancer that may be called later.
- the information collected by the APM system includes events, performance, indicators, call chain and other dimensions, such as CPU, IO, memory usage information, etc., as well as information that can reflect the service business processing capabilities (processing time, error rate, number of restarts, etc.).
- step S504 may specifically include the following steps:
- Step S5041 the specific service request reaches the API gateway
- Step S5042 The API gateway decides whether to continue calling the intelligent load balancing server based on the gateway's own performance statistics. For example, when it is found that the memory usage of the gateway itself is too high (>90%), the intelligent load balancer will no longer be loaded and the system will jump to step S505 to use the traditional load balancing strategy. If all indicators of the API gateway do not exceed the standard, load the intelligent load balancer and jump to step S5043 to continue processing.
- Step S5043 The intelligent load balancer filters valid information from the database containing all APM information based on the service provider instance list information, and first obtains the service provider instance list and node corresponding information.
- Step S5044 The intelligent load balancer continues to obtain node information from the database that stores full APM information based on the reset load balancing policy, filters out relevant node operation and maintenance information, and further obtains the IOPS indicators of these nodes.
- Step S5045 The intelligent load balancer finds the nodes that need to be excluded based on the detailed information of the reconfigured load balancing policy (exclude when IOPS ⁇ 1k), and further converts them into a corresponding list of excluded instances.
- the service provider instances include A ⁇ B ⁇ C, and the node where C is located has an IOPS of 0.5K, so the excluded instance list contains C.
- Step S5046 the intelligent load balancer puts all service provider instances into the service provider instance pool, and returns the result according to step S5045, removes the C instance from the available service instance pool (forward selection can also be used), and generates available services.
- Provider instance pool (A ⁇ B).
- Step S5047 Return the output result of step S5046 to the API gateway.
- step S505 may specifically include the following steps:
- Step S5051 the API gateway continues the business request forwarding process, selects a specific target service provider instance from the available service instance pool, and forwards the request to the instance for processing;
- Step S5052 After receiving the business request, the selected target service provider instance completes the processing and sends a response to the API gateway, and the gateway sends the response back to the client (the initiator of the business request).
- Figure 6 is a flow chart of a load balancing method according to another embodiment of the present disclosure. It provides a flow chart of a load balancing method based on node bandwidth and service response delay. This method is applied to use business response speed as a The first consideration is the scenario, and resources are relatively sufficient. Therefore, the service provider instance with the smallest average delay of historical processing requests and the largest current node bandwidth is given priority as the first choice for load balancing to ensure that the business can be processed as quickly as possible. Speed response.
- the load balancing processing method in this embodiment specifically includes the following steps:
- Step S601 the reconfigured load balancing policy is set to "load balancing based on node bandwidth” and “load balancing based on service response delay”;
- Step S602 The intelligent load balancer connects to the APM through a standard protocol to obtain various information
- Step S603 The service consumer/client initiates an actual service request
- Step S604 The API gateway dynamically calls the intelligent load balancer.
- the intelligent load balancer filters the effective information and calculates the specific load balancing strategy according to the expected behavior of the system (abstract load balancing strategy);
- Step S605 The API gateway further selects a specific service provider instance to send the request according to the configured load balancing policy (traditional load balancing policy) from the available service provider instance pool.
- the configured load balancing policy traditional load balancing policy
- step S601 may specifically include the following steps:
- Step S6011 Fill in the address information of the target service through the gateway control plane UI;
- Step S6012 the first load balancing policy is set to "load balancing based on node bandwidth"
- Step S6013 in the submenu, the load balancing policy-related policy is set to: "node with the largest bandwidth";
- Step S6014 the second load balancing policy is set to "load balancing based on service response delay"
- Step S6015 in the submenu, the load balancing policy-related policy is set to: "Service instance with the smallest delay";
- step S6016 the reconfigured load balancing policy is set to a mixed policy of the two policy relationships in steps S6012 and S6014, and the mixed relationship is "AND".
- steps S6011 to S6016 the richness of load balancing can be greatly improved to meet the diversity of needs.
- more load balancing strategies can be mixed, and the mixing methods are also diverse (including AND, OR, NOT, regular, etc.).
- Step S6021 configure the APM system address information according to the gateway control plane UI, or the operation and maintenance personnel configure the third-party APM system address information through the gateway control plane UI;
- Step S6022 The information docking unit of the intelligent load balancer reads the APM service information using the standard protocol (HTTP) through periodic query (for example, query once every minute), and calls the APM standard interface (that is, OpenTelemetry, which complies with the standard specification in the APM field). interface) to obtain all operation and maintenance information;
- HTTP standard protocol
- APM standard interface that is, OpenTelemetry, which complies with the standard specification in the APM field). interface
- the intelligent load balancer-information docking unit can select different methods such as periodic acquisition, dynamic monitoring of changes, and publish/subscribe to complete the full information acquisition according to the actual application scenario.
- Step S6023 The intelligent load balancer-information docking unit stores the full amount of APM information in the database for use by the intelligent load balancer information processing and policy generation unit that may be called later.
- the service running information collected in step S6023 includes dimensions such as events, performance, indicators, and call chains, such as CPU, IO, memory usage information, etc.; and for example, information that can reflect the service business processing capabilities (processing time, error rate, number of restarts, etc.).
- step S604 may specifically include the following steps:
- Step S6041 the specific service request reaches the API gateway
- Step S6042 The API gateway decides whether to call the intelligent load balancing server based on the gateway's own performance statistics
- the API gateway will regularly collect its own performance statistics during daily operation, such as CPU occupancy rate. If it finds that the gateway's own CPU occupancy rate is too high (>80%) when receiving a business request, it will no longer load the intelligent load balancer and jump to step S605 to use the traditional load balancing strategy (configured load balancing strategy). If the API gateway CPU occupancy rate does not exceed the standard, the intelligent load balancer is loaded and the process is continued at step S6043.
- CPU occupancy rate configured load balancing strategy
- Step S6043 The business request processing process jumps to the intelligent load balancer execution stage.
- the intelligent load balancer information processing and policy calculation unit obtains relevant information of the target service from the database stored in step S602 according to the business request. Since the desired load balancing strategy is "load balancing based on node bandwidth and load balancing based on service response delay", steps S6044 to S6047 are entered to obtain relevant information and perform policy calculation.
- Step S6044 The intelligent load balancer-information processing and policy calculation unit filters out relevant node operation and maintenance information based on the obtained node information where the service provider instance is located, and further obtains real-time bandwidth indicator information of these nodes and requests for each service instance. processing delay information;
- Step S6045 The information processing and policy calculation unit finds the node with the optimal bandwidth based on the load balancing policy details (selecting the node with the "largest" bandwidth), and further converts it into a corresponding service provider instance list (service provider sub-instance) pool).
- the service provider instance includes A ⁇ B ⁇ C ⁇ D ⁇ E, and the node where A ⁇ B ⁇ C is located has the optimal bandwidth, then select A ⁇ B ⁇ C;
- Step S6046 The information processing and policy calculation unit finds the instance list (service provider sub-instance pool) with the smallest service processing delay based on the load balancing policy details (the "minimum" delay service instance). For example, the service provider instance has A ⁇ B ⁇ C ⁇ D ⁇ E, among which B ⁇ C ⁇ E has the smallest processing delay, then select B ⁇ C ⁇ E;
- Step S6047 The intelligent load balancer takes the intersection of the two instance lists in steps S6045 and S6046 based on the load balancing policy details (the mixed relationship between the two policies is AND), that is, the service provider instance B ⁇ C provides available services. or instance pool;
- Step S6048 Return the output result of step S6047 to the API gateway.
- step S605 may specifically include the following steps:
- Step S6051 The API gateway continues request forwarding processing, selects a target service provider instance from the service provider instance pool according to the configured load balancing policy (traditional load balancing policy), and forwards the business request to the target service provider instance for processing. ;
- the configured load balancing policy traditional load balancing policy
- Step S6052 After receiving the business request, the selected target service provider instance completes the business processing and sends a response to the API gateway, and the gateway sends the response back to the client (service consumer);
- a load balancing processing device is also provided.
- Figure 7 is a diagram according to the embodiment of the present disclosure.
- the block diagram of the load balancing processing device of the embodiment is shown in Figure 7.
- the load balancing processing device includes:
- the receiving module 702 is configured to receive business requests from service consumers
- the judgment module 704 is configured to obtain the performance statistical information of the application programming interface API gateway, and judge whether the API gateway meets the loading conditions of the reconfigured load balancing policy based on the performance statistical information;
- the first load balancing module 706 is configured to determine a target service provider instance according to the pre-stored application performance management APM full information and the reconfigured load balancing strategy when the API gateway meets the loading condition, wherein the target service provider instance is used to process the business request;
- the second load balancing module 708 is configured to determine the target service provider instance according to the configured load balancing policy when the API gateway does not meet the loading condition.
- the judgment module 704 is configured to judge whether the performance statistical information is less than a preset performance statistical information threshold, wherein the performance statistical information includes at least one of the following: gateway forwarding error rate, gateway CPU usage rate, gateway memory occupancy rate; when the performance statistics information is less than the performance statistics information threshold, it is determined that the API gateway meets the loading condition; when the performance statistics information is greater than or equal to the performance statistics information threshold In this case, it is determined that the API gateway does not meet the loading condition.
- the first load balancing module 706 includes:
- a first determining unit configured to determine one or more service providers according to the service request, wherein each service provider is configured with at least one service provider instance;
- a filtering unit configured to filter out target service operation information corresponding to the reconfigured load balancing policy and the service provider from the full APM information
- a generating unit configured to generate a service provider instance pool according to the reconfigured load balancing policy and the target service running information
- the first load balancing unit is configured to determine a target service provider instance from the service provider instance pool according to the configured load balancing policy.
- the generation unit is further configured to filter out all service provider instances that satisfy the reconfigured load balancing policy based on the target service running information when a reconfigured load balancing policy is set in advance.
- Service provider instance pool when multiple reconfigured load balancing strategies are set in advance, all service provider instances that satisfy each reconfigured load balancing strategy are selected based on the target service running information to form a service provider.
- Sub-instance pool process multiple service provider sub-instance pools according to a preset mixed relationship to obtain a service provider instance pool, wherein the mixed relationship includes one of the following: AND, OR, NOT.
- the load balancing processing device also includes:
- the docking module is configured to obtain and store the APM full information from the APM system through an interface that complies with the OpenTelemetry specification, where the APM full information includes the running information of all service provider instances collected and counted by the APM system.
- the business processing module is configured to forward the business request to the target service provider instance after determining the target service provider instance; and return the business request response after the target service provider instance responds to the business request. to consumers of said services.
- the second load balancing module 708 includes:
- a first determining unit configured to determine one or more service providers according to the service request, wherein each service provider is configured with at least one service provider instance;
- the acquisition unit is configured to obtain the service running information collected by the API gateway and corresponding to the service provider instance;
- the second load balancing unit is configured to determine the target service provider instance based on the service running information and the configured load balancing policy, where the configured load balancing policy includes: polling policy, weighted polling Strategy, random strategy, hash strategy, minimum response time strategy, minimum concurrency strategy.
- a method for dynamically combining an API gateway load balancing strategy with an APM system is provided.
- the APM system is coupled with a pluggable intelligent load balancer.
- the API gateway When the performance of the API gateway is poor, the API When the coupling connection between the gateway and the intelligent load balancer is disconnected, the API gateway performs load balancing independently; when the performance of the API gateway is good, the API gateway and the intelligent load balancer are coupled and connected, and the API gateway and the intelligent load balancer jointly perform load balancing.
- Figure 8 is a structural block diagram of an API gateway independently performing load balancing in an embodiment of the present disclosure.
- the service consumer 801 directly sends a service request to the API gateway 802.
- the API gateway 802 can obtain the addresses of all service instances through service discovery (Service Discovery).
- the API gateway 802 The configured load balancing strategy (traditional load balancing strategy) is executed when forwarding service requests to service provider 803.
- the configured load balancing strategies include: polling strategy, weighted polling, random strategy, hash strategy, and minimum response. Time, minimum concurrency strategy.
- Figure 9 is a structural block diagram of an API gateway and an intelligent load balancer jointly performing load balancing in an embodiment of the present disclosure. As shown in Figure 9, the API gateway obtains information from the APM system in a decoupled manner.
- the API gateway is coupled and connected with the intelligent load balancer, and the intelligent load balancer can obtain the operation and maintenance data of all applications or resource pools connected to the APM system from the cloud native APM system.
- the dimensions of operation and maintenance data include call chains, logs, indicators, events, etc.
- FIG 10 is a schematic diagram of the gateway control plane UI in an embodiment of the present disclosure. As shown in Figure 10, users can register services for each service on the API gateway control interface.
- the load balancing strategy can be set for the service provider through the gateway control plane UI. Based on the configured load balancing strategy (polling, weight, hash, random, etc.), a new reconfigured Load balancing strategy. After each load balancing strategy is selected, a submenu pops up and the relevant indicator values are set in the submenu. For example, the specific bit/s can be set in the submenu of node bandwidth load, and service custom indicator items can be filled in in the submenu of business indicator capacity load of service instance. When a service instance is located on the node or related indicators of the service itself, When it is lower than the threshold set above, the service instance will be removed from the available load balancing service instance pool.
- Embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program, wherein the computer program executes the steps in any of the above method embodiments when run by a processor.
- the computer-readable storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
- ROM read-only memory
- RAM random access memory
- mobile hard disk magnetic disk or optical disk and other media that can store computer programs.
- Embodiments of the present disclosure also provide an electronic device, including a memory and a processor.
- a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
- the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
- each module or each step of the above-mentioned embodiments of the present disclosure can be implemented by a general computing device, and they can be concentrated on a single computing device, or distributed among multiple computing devices. over a network, they may be implemented with program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases, may be executed in a sequence different from that described here.
- the steps shown or described may be implemented by fabricating them separately into individual integrated circuit modules, or by fabricating multiple modules or steps among them into a single integrated circuit module. As such, disclosed embodiments are not limited to any specific combination of hardware and software.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- Computer And Data Communications (AREA)
Abstract
Description
Claims (13)
- 一种负载均衡处理方法,所述方法包括:接收来自服务消费者的业务请求;获取应用程序编程接口API网关的性能统计信息,并根据所述性能统计信息判断所述API网关是否满足重新配置的负载均衡策略的加载条件;在所述API网关满足所述加载条件的情况下,根据预先存储的应用性能管理APM全量信息和所述重新配置的负载均衡策略确定目标服务提供者实例,其中,所述目标服务提供者实例用于处理所述业务请求;在所述API网关不满足所述加载条件的情况下,根据已配置的负载均衡策略确定所述目标服务提供者实例。
- 根据权利要求1所述的方法,其中,根据预先存储的应用性能管理APM全量信息和所述重新配置的负载均衡策略确定目标服务提供者实例,包括:根据所述业务请求确定一个或多个服务提供者,其中,每个服务提供者配置有至少一个服务提供者实例;从所述APM全量信息中过滤出与所述重新配置的负载均衡策略和所述服务提供者对应的目标服务运行信息;根据所述重新配置的负载均衡策略和所述目标服务运行信息生成服务提供者实例池;根据所述已配置的负载均衡策略从所述服务提供者实例池中确定目标服务提供者实例。
- 根据权利要求2所述的方法,其中,根据所述重新配置的负载均衡策略和所述目标服务运行信息生成服务提供者实例池,包括:在预先设置一个重新配置的负载均衡策略的情况下,根据所述目标服务运行信息筛选出满足所述重新配置的负载均衡策略的全部服务提供者实例组成服务提供者实例池;在预先设置多个重新配置的负载均衡策略的情况下,根据所述目标服务运行信息分别筛选出满足每一个重新配置的负载均衡策略的全部服务提供者实例组成服务提供者子实例池;根据预先设置的混合关系对多个所述服务提供者子实例池进行处理得到服务提供者实例池,其中,所述混合关系包括以下之一:与、或、非。
- 根据权利要求1所述的方法,其中,所述方法还包括:通过符合预设规范的接口从APM系统获取并存储所述APM全量信息,其中,所述APM全量信息包含所述APM系统采集并统计的全部服务提供者实例的运行信息。
- 根据权利要求1所述的方法,其中,所述方法还包括:在确定目标服务提供者实例之后,将所述业务请求转发给所述目标服务提供者实例;在所述目标服务提供者实例响应所述业务请求后,将业务请求响应返回给所述服务消费者。
- 根据权利要求1所述的方法,其中,所述重新配置的负载均衡策略是根据APM系统采集并统计的运行信息进行设置的,所述运行信息的维度包括:事件、性能、指标、调用链。
- 根据权利要求6所述的方法,其中,所述重新配置的负载均衡策略包括:根据服务提供者实例的应用重启次数进行负载均衡;根据服务提供者实例的应用重启时长进行负载均衡;根据服务提供者实例所在节点的重启应用个数进行负载均衡;根据服务提供者实例所在节点输入输出IO进行负载均衡;根据服务提供者实例的实时带宽进行负载均衡;根据服务提供者实例的历史错误率进行负载均衡;根据服务提供者实例的业务指标能力进行负载均衡;根据服务提供者实例的单个请求的处理时长进行负载均衡;根据服务提供者实例的多个请求的处理成功率进行负载均衡;根据服务提供者实例的中央处理器CPU占用率进行负载均衡;根据服务提供者实例的响应时间进行负载均衡。
- 根据权利要求1所述的方法,其中,根据已配置的负载均衡策略确定所述目标服务提供者实例,包括:根据所述业务请求确定一个或多个服务提供者,其中,每个服务提供者配置有至少一个服务提供者实例;获取API网关采集的与所述服务提供者实例对应的服务运行信息;根据所述服务运行信息和已配置的负载均衡策略确定所述目标服务提供者实例,其中,所述已配置的负载均衡策略,包括:轮询策略、加权轮询策略、随机策略、哈希策略、最小响应时间策略、最小并发数策略。
- 根据权利要求1所述的方法,其中,根据所述性能统计信息判断所述API网关是否满足重新配置的负载均衡策略的加载条件,包括:判断所述性能统计信息是否小于预设的性能统计信息阈值,其中,所述性能统计信息,包括以下至少之一:网关转发错误率、网关CPU占用率、网关内存占用率;在所述性能统计信息小于所述性能统计信息阈值的情况下,确定所述API网关满足所述加载条件;在所述性能统计信息大于或等于所述性能统计信息阈值的情况下,确定所述API网关不满足所述加载条件。
- 一种负载均衡处理装置,所述装置包括:接收模块,设置为接收来自服务消费者的业务请求;判断模块,设置为获取应用程序编程接口API网关的性能统计信息,并根据所述性能统计信息判断所述API网关是否满足重新配置的负载均衡策略的加载条件;第一负载均衡模块,设置为在所述API网关满足所述加载条件的情况下,根据预先存储的应用性能管理APM全量信息和所述重新配置的负载均衡策略确定目标服务提供者实例,其中,所述目标服务提供者实例用于处理所述业务请求;第二负载均衡模块,设置为在所述API网关不满足所述加载条件的情况下,根据已配置的负载均衡策略确定所述目标服务提供者实例。
- 一种负载均衡处理系统,所述系统包括:API网关,设置为接收来自服务消费者的业务请求,获取应用程序编程接口API网关的性能统计信息,并根据所述性能统计信息判断所述API网关是否满足重新配置的负载均衡策略的加载条件;智能负载均衡器,设置为在所述API网关满足所述加载条件的情况下,根据预先存储的 应用性能管理APM全量信息和所述重新配置的负载均衡策略确定目标服务提供者实例,其中,所述目标服务提供者实例用于处理所述业务请求;所述API网关,还设置为在所述API网关不满足所述加载条件的情况下,根据已配置的负载均衡策略确定所述目标服务提供者实例。
- 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被处理器运行时执行所述权利要求1至9任一项中所述的方法。
- 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至9任一项中所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23864772.1A EP4572288A4 (en) | 2022-09-16 | 2023-09-14 | METHOD AND APPARATUS FOR CHARGE BALANCING TREATMENT, STORAGE SUPPORT AND ELECTRONIC DEVICE |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211131470.2 | 2022-09-16 | ||
| CN202211131470.2A CN117768394A (zh) | 2022-09-16 | 2022-09-16 | 一种负载均衡处理方法、装置、存储介质及电子装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024056042A1 true WO2024056042A1 (zh) | 2024-03-21 |
Family
ID=90274245
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/118931 Ceased WO2024056042A1 (zh) | 2022-09-16 | 2023-09-14 | 一种负载均衡处理方法、装置、存储介质及电子装置 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4572288A4 (zh) |
| CN (1) | CN117768394A (zh) |
| WO (1) | WO2024056042A1 (zh) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118819819A (zh) * | 2024-06-04 | 2024-10-22 | 华能信息技术有限公司 | 一种基于负载均衡的多数据库处理方法 |
| CN119583655A (zh) * | 2024-11-06 | 2025-03-07 | 北京奇艺世纪科技有限公司 | 业务请求的路由方法、装置、设备及存储介质 |
| CN119862017A (zh) * | 2025-03-21 | 2025-04-22 | 苏州元脑智能科技有限公司 | 服务调度的方法及电子设备、存储介质和计算机程序 |
| CN120128592A (zh) * | 2025-03-17 | 2025-06-10 | 紫金山实验室 | 服务调用请求传输方法、设备、存储介质和程序产品 |
| WO2026045701A1 (zh) * | 2024-08-29 | 2026-03-05 | 苏州元脑智能科技有限公司 | 存储设备的适配方法、存储设备、存储介质和电子设备 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118524139B (zh) * | 2024-05-10 | 2025-02-25 | 佛山众陶联供应链服务有限公司 | Android应用请求转发到不同环境和指定ip服务的方法及系统 |
| CN121070533A (zh) * | 2024-06-05 | 2025-12-05 | 云智能资产控股(新加坡)私人股份有限公司 | 一种调度方法、系统、服务设备、计算机程序产品及存储介质 |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170041385A1 (en) * | 2015-08-07 | 2017-02-09 | International Business Machines Corporation | Dynamic healthchecking load balancing gateway |
| CN108206852A (zh) * | 2016-12-20 | 2018-06-26 | 杭州华为数字技术有限公司 | 一种微服务框架下的基于会话的服务实例管理方法及设备 |
| CN112532683A (zh) * | 2020-10-30 | 2021-03-19 | 北京盛和信科技股份有限公司 | 一种基于微服务架构下的边缘计算方法和设备 |
| CN112751761A (zh) * | 2020-12-28 | 2021-05-04 | 中国农业银行股份有限公司 | 交易路由的回切方法、中间系统和业务处理系统 |
| CN112968943A (zh) * | 2021-02-01 | 2021-06-15 | 国网安徽省电力有限公司 | 一种电力协同平台 |
| CN113765695A (zh) * | 2021-03-26 | 2021-12-07 | 北京京东拓先科技有限公司 | 一种网关管理方法、装置、设备及计算机可读存储介质 |
| WO2021254331A1 (zh) * | 2020-06-16 | 2021-12-23 | 中兴通讯股份有限公司 | 资源管理方法、系统、代理服务器及存储介质 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109218355B (zh) * | 2017-06-30 | 2021-06-15 | 华为技术有限公司 | 负载均衡引擎,客户端,分布式计算系统以及负载均衡方法 |
| CN111083213B (zh) * | 2019-12-09 | 2022-09-02 | 苏宁云计算有限公司 | 一种通信方法及系统 |
-
2022
- 2022-09-16 CN CN202211131470.2A patent/CN117768394A/zh active Pending
-
2023
- 2023-09-14 EP EP23864772.1A patent/EP4572288A4/en active Pending
- 2023-09-14 WO PCT/CN2023/118931 patent/WO2024056042A1/zh not_active Ceased
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20170041385A1 (en) * | 2015-08-07 | 2017-02-09 | International Business Machines Corporation | Dynamic healthchecking load balancing gateway |
| CN108206852A (zh) * | 2016-12-20 | 2018-06-26 | 杭州华为数字技术有限公司 | 一种微服务框架下的基于会话的服务实例管理方法及设备 |
| WO2021254331A1 (zh) * | 2020-06-16 | 2021-12-23 | 中兴通讯股份有限公司 | 资源管理方法、系统、代理服务器及存储介质 |
| CN112532683A (zh) * | 2020-10-30 | 2021-03-19 | 北京盛和信科技股份有限公司 | 一种基于微服务架构下的边缘计算方法和设备 |
| CN112751761A (zh) * | 2020-12-28 | 2021-05-04 | 中国农业银行股份有限公司 | 交易路由的回切方法、中间系统和业务处理系统 |
| CN112968943A (zh) * | 2021-02-01 | 2021-06-15 | 国网安徽省电力有限公司 | 一种电力协同平台 |
| CN113765695A (zh) * | 2021-03-26 | 2021-12-07 | 北京京东拓先科技有限公司 | 一种网关管理方法、装置、设备及计算机可读存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4572288A4 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118819819A (zh) * | 2024-06-04 | 2024-10-22 | 华能信息技术有限公司 | 一种基于负载均衡的多数据库处理方法 |
| WO2026045701A1 (zh) * | 2024-08-29 | 2026-03-05 | 苏州元脑智能科技有限公司 | 存储设备的适配方法、存储设备、存储介质和电子设备 |
| CN119583655A (zh) * | 2024-11-06 | 2025-03-07 | 北京奇艺世纪科技有限公司 | 业务请求的路由方法、装置、设备及存储介质 |
| CN120128592A (zh) * | 2025-03-17 | 2025-06-10 | 紫金山实验室 | 服务调用请求传输方法、设备、存储介质和程序产品 |
| CN119862017A (zh) * | 2025-03-21 | 2025-04-22 | 苏州元脑智能科技有限公司 | 服务调度的方法及电子设备、存储介质和计算机程序 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4572288A1 (en) | 2025-06-18 |
| CN117768394A (zh) | 2024-03-26 |
| EP4572288A4 (en) | 2025-11-26 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024056042A1 (zh) | 一种负载均衡处理方法、装置、存储介质及电子装置 | |
| EP3905589B1 (en) | Slice resource deployment method and apparatus, and slice manager and computer storage medium | |
| CN109618002B (zh) | 一种微服务网关优化方法、装置及存储介质 | |
| CN109218355B (zh) | 负载均衡引擎,客户端,分布式计算系统以及负载均衡方法 | |
| EP2972855B1 (en) | Automatic configuration of external services based upon network activity | |
| CN108370341B (zh) | 资源配置方法、虚拟网络功能管理器和网元管理系统 | |
| WO2021254331A1 (zh) | 资源管理方法、系统、代理服务器及存储介质 | |
| WO2006046486A1 (ja) | 資源管理システム、資源情報提供方法、及び、プログラム | |
| CN107872402A (zh) | 全局流量调度的方法、装置及电子设备 | |
| US20160344582A1 (en) | Call home cluster | |
| WO2020019472A1 (zh) | 服务节点的评分方法、域名系统dns调度方法及服务器 | |
| US8918537B1 (en) | Storage array network path analysis server for enhanced path selection in a host-based I/O multi-path system | |
| CN118449860A (zh) | 一种虚拟网络功能部署方案的确定方法、装置及存储介质 | |
| JP2016051446A (ja) | 計算機システム、計算機、負荷分散方法及びそのプログラム | |
| CN107659460A (zh) | 一种配置api访问量的方法 | |
| CN114443293A (zh) | 一种大数据平台的部署系统及方法 | |
| CN112055347A (zh) | 一种多网关协同工作方法及系统 | |
| CN118413536B (zh) | 一种基于边缘计算的资源处理方法及装置 | |
| CN116055496B (zh) | 一种监控数据采集方法、装置、电子设备及存储介质 | |
| WO2026036453A1 (zh) | 云网环境的资源配置方法、装置及电子设备 | |
| CN118433127A (zh) | 一种基于业务感知的流量控制方法 | |
| CN110309225B (zh) | 数据处理方法及系统 | |
| CN111813621A (zh) | 基于Flume数据中台的数据处理方法、装置、设备及介质 | |
| US11595471B1 (en) | Method and system for electing a master in a cloud based distributed system using a serverless framework | |
| CN108718285B (zh) | 云计算集群的流量控制方法、装置及服务器 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23864772 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023864772 Country of ref document: EP |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2501001694 Country of ref document: TH |
|
| ENP | Entry into the national phase |
Ref document number: 2023864772 Country of ref document: EP Effective date: 20250313 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023864772 Country of ref document: EP |