Load balancing method and system for cluster

A load balancing and clustering technology, applied in transmission systems, electrical components, etc., can solve problems such as cluster load imbalance, and achieve the effect of preventing node overload and ensuring load balancing.

Inactive Publication Date: 2015-10-21
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF5 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0015] Based on this, it is necessary to provide a cluster load balancing method and system for the technical problem that the existing technology easily leads to cluster load imbalance

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 system for cluster
  • Load balancing method and system for cluster
  • Load balancing method and system for cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

[0030] Such as figure 1 Shown is a work flow diagram of a cluster load balancing method of the present invention, including:

[0031] Step S101, including: updating the load information of each node in the cluster every preset period, and selecting a scheduling set including multiple light-load nodes in the current period according to the load information of each node in the cluster;

[0032] Step S102, comprising: receiving an access request, analyzing the access request, and determining whether the access request is a dynamic request or a static request;

[0033] Step S103, including: if the access request is a dynamic request, select a node from the scheduling set of the period in which the access request is located through a random algorithm as the processing node of the access request, and if the access request is a static request...

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 system for a cluster. The method comprises the following steps: updating the load information of each node in the cluster at a preset interval, and selecting a scheduling set including a plurality of light load nodes in a current period; resolving an access request, and determining that the access request is a dynamic request or a static request; if the access request is the dynamic request, selecting a node from the scheduling set of the period in which the access request is positioned through a random algorithm for serving as a processing node of the access request; and if the access request is the static request, inquiring a URL (Uniform Resource Locator) mapping table, taking a node corresponding to the mapping record of a URL corresponding to the access request as the processing node of the access request if the mapping record exists in the URL mapping table, and selecting a node through a random algorithm if the mapping record of the URL corresponding to the access request does not exist in the URL mapping table for serving as the processing node of the access request. Through adoption of the load balancing method and system, load balancing is ensured. Meanwhile, the load of the cluster is adjusted periodically, so that node overload is prevented.

Description

technical field [0001] The invention relates to the technical field related to network clusters, in particular to a cluster load balancing method and system. Background technique [0002] The rapid increase of the scale of Internet users and the form of WEB applications has brought many challenging problems to the servers supporting WEB applications. Many popular websites, such as various e-commerce websites, will attract huge traffic. From the perspective of application, with the commercial development of WEB applications, higher requirements are put forward for the high availability and security of the systems supporting WEB applications. From the perspective of users, people hope to obtain more convenient and efficient services, and they also put forward higher requirements for the response speed and reliability of WEB applications. [0003] WEB cluster technology is one of the key technologies to improve server processing performance. A WEB cluster is a logical whole ...

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): H04L29/08
CPCH04L67/1008H04L67/1014H04L67/02H04L67/568
Inventor 黄倩
Owner BEIJING JINGDONG SHANGKE INFORMATION 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