Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for realizing load balancing and method and device for gray release

A load balancing and grayscale publishing technology, applied in the network field, can solve the problems of inability to reasonably set the number of load node requests, data access request allocation, insufficient load balancing controllability, etc., to achieve small data migration costs and improve stability. , the effect of improving controllability

Active Publication Date: 2016-04-13
SHENZHEN TENCENT COMP SYST CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the method of implementing load balancing based on consistent hashing in traditional technologies cannot distribute data access requests to load nodes and expansion nodes in proportion according to needs, so that it is impossible to reasonably set the number of requests corresponding to each load node, making the load Insufficient maneuverability of balance

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
  • Method and system for realizing load balancing and method and device for gray release
  • Method and system for realizing load balancing and method and device for gray release
  • Method and system for realizing load balancing and method and device for gray release

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0053] Such as figure 1 As shown, in one embodiment, a method for implementing load balancing includes the following steps:

[0054] Step S102: Obtain the data access request, extract the request identifier in the data access request, and calculate the hash value of the request identifier.

[0055] The request identifier in the data access request may be a string of characters, such as a URL (Uniform Resource Locator, Uniform Resource Locator) requested for access. The request identifier can include a request address part and a parameter part. Different request identifiers can be used to distinguish different data access requests.

[0056] The method of calculating the hash value of the request identifier is to use a hash function to calculate the hash value of the request identifier. The function of the hash function is to map any length binary value (request ID) to a fixed length smaller binary value. The input of the hash function is an arbitrary string or number, and the outpu...

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

A method for realizing load balance comprises the following steps of acquiring a data access request, extracting a request identifier in the data access request and calculating a Hash value of the request identifier; finding a load node matching the Hash value in a preset corresponding table of the Hash value and load nodes, wherein the preset corresponding table of the Hash value and load nodes is provided with a preset number of load nodes corresponding to the same number of Hash values which are distributed in advance, the preset number being at least two; and distributing the load node to the data access request. In addition, a system for realizing load balance, a method and an apparatus for gray scale publication are correspondingly provided. The method and the apparatus for realizing load balance have relatively small data migration cost and relatively high controllability during capacity expanding and removal of load nodes. The method and the system for gray scale publication improve the controllability during gray scale publication.

Description

【Technical Field】 [0001] The present invention relates to the field of network technology, in particular to a method and system for realizing load balancing, and a method and device for grayscale publishing. 【Background technique】 [0002] In the traditional server / client architecture, multiple clients correspond to one server. When there are many concurrent data access requests, a single server is often unable to handle multiple requests at the same time due to limitations in computing power and network bandwidth. At this time, it is necessary to add multiple load nodes (servers responsible for processing requests), and then distribute the task of processing requests through multiple load nodes, thereby alleviating the pressure of a single server. This method of allocating the task processing pressure of a single server to multiple load nodes is also called load balancing. [0003] In the traditional technology, the request identifier of the data access request is first obtained...

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 Patents(China)
IPC IPC(8): H04L29/08H04L12/803
Inventor 娄继冰方允福
Owner SHENZHEN TENCENT COMP SYST CO LTD