Load balancing method, equipment and distributed system

A load balancing device and distributed system technology, applied in the computer field, can solve the problems of poor load balancing accuracy and the inability to accurately determine the actual load of the server, and achieve the effect of improving accuracy

CN106850822BActive Publication Date: 2020-06-30JUHAOKAN TECH CO LTD
4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Publication Date
2020-06-30

Smart Images

  • Figure 1
    Figure 1
  • Figure 2
    Figure 2
  • Figure 3
    Figure 3
Patent Text Reader

Abstract

The embodiment of the invention provides a load balancing method and equipment, and a distributed system. The method comprises the following steps: receiving a first request sent by a client; according to the type of the first request and processing capability indices of servers, determining a required normalization load rate of the first request; according to the type of a second request that is currently processed by the servers, attribute information of the servers, and attribute information of the distributed system, determining residual normalization load rates of the servers; according to the residual normalization load rates of the servers, determining a target server; and if the residual normalization load rate of the target server is equal to or larger than the required normalization load rate of the first request, sending the first request to the target server, so that the target server can process the first request. The method and equipment and the distributed system are used for improving the load balancing accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

technical field

[0001] The embodiments of the present invention relate to the field of computer technology, and in particular, to a load balancing method, device and distributed system. Background technique

[0002] A distributed system usually includes multiple servers, all of which can provide services to the client. In order to make reasonable use of the resources of each server, a load balancing device is usually set up in the distributed system, and the load balancing device realizes each Load balancing between servers.

[0003] In the prior art, the load of the server is generally measured according to the number of requests currently being processed by the server, and the more requests the server is currently processing, the higher the load of the server is determined. In the actual application process, the load balancing device counts the number of requests currently being processed by each server in real time or periodically, and sorts the load of each server accor...

Examples

Embodiment Construction

[0058] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0059] figure 1 It is a schematic diagram of the application scenario of the load balancing method provided by the embodiment of the present invention. See figure 1 , including a plurality of clients (respectively marked as 101-1 to 101-M) and a distributed system 102. The distributed system 102 includes a load balancing device 1021 and mu...