Load balancing method and server

A load balancing and server technology, applied in the field of information communication, can solve problems such as service instability and request overload, and achieve the effect of improving service stability

Pending Publication Date: 2022-03-18
JUHAOKAN TECH CO LTD
View PDF14 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] This application provides a load balancing method and a server, which solves the problem that the service node is overloaded with requests and the service is unstable

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Load balancing method and server
  • Load balancing method and server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] In order to make the purpose and implementation of the application clearer, the following will clearly and completely describe the exemplary implementation of the application in conjunction with the accompanying drawings in the exemplary embodiment of the application. Obviously, the described exemplary embodiment is only the present application. Claim some of the examples, not all of them.

[0023] It should be noted that the brief description of the terms in this application is only for the convenience of understanding the implementations described below, and is not intended to limit the implementations of this application. These terms are to be understood according to their ordinary and usual meaning unless otherwise stated.

[0024] The terms "first", "second", and "third" in the description and claims of this application and the above drawings are used to distinguish similar or similar objects or entities, and do not necessarily mean limiting specific sequential or...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a load balancing method and a server. The problem that the service is unstable due to the fact that the distributed request quantity of the service node is overloaded is solved. The load balancing method comprises the following steps: receiving a service request; determining a weight corresponding to each service node; wherein each service node comprises a first service node and a second service node; the first service node is a node of which the cache amount of the local cache is lower than a first threshold value; the second service node is a node of which the cache amount of the local cache is higher than a second threshold value; the first threshold value is not greater than the second threshold value, the weight corresponding to the first service node is a first weight, and the weight corresponding to the second service node is a second weight; the first weight is smaller than the second weight; and according to the weight, the service request is distributed to each service node, so that the service node obtains data according to the distributed service request and stores the data in a local cache of the service node, and the probability of obtaining the service request by the first service node is lower than that of obtaining the service request by the second service node.

Description

technical field [0001] The present application relates to the field of information communication, in particular to a load balancing method and a server. Background technique [0002] Load balancing is a technology for distributing load. The main purpose of load balancing is to evenly distribute a large number of external requests to each service node according to a certain algorithm. In this way, compared with one service node, all requests are completed. , multiple service nodes working at the same time can shorten the response time and improve the throughput. [0003] At present, the existing load balancing scheme supports the distribution of requests to nodes according to weight, and adopts a fixed weight distribution mode. In this way, service nodes can easily receive requests that exceed their load capacity, resulting in unstable services. Contents of the invention [0004] The present application provides a load balancing method and a server, which solve the proble...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): H04L67/1008
CPCH04L67/1008
Inventor 王清华郭伟矫恒浩
Owner JUHAOKAN TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products