A load balancing method and device
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
- Publication Date
- 2019-07-02
Smart Images

Figure 1 
Figure 2 
Figure 3
Abstract
Description
technical field
[0001] The invention relates to the technical field of Internet applications, in particular to a load balancing method and device. Background technique
[0002] In the Internet era, facing the explosive growth of data volume, many Internet companies adopt distributed systems internally, and deploy most applications in clusters composed of multiple servers. When there is an application request, the application request is processed through the load balancing method, and it is judged which server the request should be directed to. The load balancing method in the prior art includes a consistent hash algorithm, an improved consistent hash algorithm, and a modulo algorithm for the total number of servers.
[0003] In the consistent hash algorithm, when a server fails, the original failed server can only be replaced or restored, and the data on the failed server cannot be migrated to other servers in the cluster, otherwise some application requests cannot find the...