Check patentability & draft patents in minutes with Patsnap Eureka AI!

Affinity dynamic load balancing method based on consistent hash algorithm

A hash algorithm and dynamic load technology, applied to electrical components, transmission systems, etc., to achieve the effects of ensuring affinity, reducing overload and light load problems, and reducing the number of user requests

Inactive Publication Date: 2017-09-22
CIVIL AVIATION UNIV OF CHINA
View PDF4 Cites 46 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] However, the above multiple load balancing algorithms may be allocated to different servers for continuous requests from the same user, so they cannot meet the affinity requirements of services while ensuring load balancing

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
  • Affinity dynamic load balancing method based on consistent hash algorithm
  • Affinity dynamic load balancing method based on consistent hash algorithm
  • Affinity dynamic load balancing method based on consistent hash algorithm

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to further understand the invention content, characteristics and effects of the present invention, the following examples are given, and detailed descriptions are as follows in conjunction with the accompanying drawings:

[0046] Such as figure 1 As shown, the affinity dynamic load balancing method based on the consistent hash algorithm provided by the present invention includes the following steps in order:

[0047] Step 1. Construct a hash space ring composed of multiple actual server nodes, calculate the number of virtual nodes according to the weight of each actual server node in the cluster system, generate corresponding virtual nodes, and then establish a link between the virtual nodes and the actual server nodes The mapping relationship, thus mapping the virtual node to the hash ring space ring;

[0048] Specific steps are as follows:

[0049] According to the bit number N of the key value (generally N = 32), construct a 0-2 server node composed of mul...

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 provides an affinity dynamic load balancing method based on a consistent hash algorithm. The method comprises the following steps: constructing a hash space ring, computing the number of virtual nodes according to the weights of actual server nodes in a cluster system, generating corresponding virtual nodes, establishing a mapping relation between the virtual nodes and the actual server nodes, and mapping the virtual nodes onto the hash space ring; when a new user request is sent to the cluster system, analyzing the user request, extracting identification information from the user request, mapping the user request onto the hash space ring, and then mapping the user request onto the closest actual server node for processing; when the scale of the cluster system is dynamically adjusted, adjusting the mapping of the user request according to the dynamic adjustment strategy of the cluster system. According to the affinity dynamic load balancing method, by means of the hash mapping manner, the continuous user service requests sent by the same user are allocated to the same actual server node for processing, therefore the service affinity of the majority of users can be ensured, and the stability and the scalability of the cluster system are ensured.

Description

technical field [0001] The invention belongs to the technical field of service request affinity load distribution in a cluster system, in particular to an affinity dynamic load balancing method based on a consistent hash algorithm. Background technique [0002] At present, my country's civil aviation industry is developing rapidly. According to statistics, in 2016, the civil aviation industry completed 487.96 million passenger trips, an increase of 11.9% over the previous year. The year-by-year increase in air passenger traffic has generated a large amount of booking demand, which has brought great challenges to the civil aviation passenger service system. Large-scale distributed cluster systems such as the new generation passenger service system (PSS, Passenger Service System) can jointly share massive user requests, and the load balancing algorithm deployed on it can provide a cheap, effective and transparent method to expand network devices and servers Bandwidth, increas...

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
IPC IPC(8): H04L29/08
CPCH04L67/1001
Inventor 曹卫东孙晓君丁建立王静王家亮
Owner CIVIL AVIATION UNIV OF CHINA
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More