Dynamic load balancing method and system for container cluster

A dynamic load, container cluster technology, applied in the field of cloud computing, can solve problems such as container clusters that are difficult to adapt to dynamic changes

Active Publication Date: 2016-06-15
深圳市中润四方信息技术有限公司
View PDF5 Cites 34 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a dynamic load balancing method, device and cloud computing system to overcome the problem that the c

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
  • Dynamic load balancing method and system for container cluster
  • Dynamic load balancing method and system for container cluster
  • Dynamic load balancing method and system for container cluster

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0057] see figure 1 , figure 1A schematic structural diagram of a dynamic load balancing system for container clusters provided by the embodiment of the present application, including: a load balancer 11, at least one service request source 12 and several containers 131, the several containers 131 are located in a host 13 or Located in several hosts 13 respectively, the load balancer 11 may be located in an independent server, or in a server cluster composed ...

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 embodiment of the invention discloses a dynamic load balancing method and system for a container cluster. The method comprises the following steps: initiating connection to a load balancer by a container and registering; upon receiving a registration request from a newly added container, creating queue nodes corresponding to the service provided by the newly added container by the load balancer, mounting the created queue nodes to a queue corresponding to an identification mark of the service provided by the newly added container; when receiving a service request from a service request source, determining the queue corresponding to the service identification mark carried in the service request; determining the container corresponding to the node with minimum load in the determined queue as the target container; forwarding the service request to the target container. In the process, the balance configuration file is not required to be configured in advance, the load balancer is not required to restart, but the load balance is realized automatically, so that the dynamic load balancing method solves the problem that the existing load balancing method is difficult to adapt to the container cluster which is used for providing back-end service and changeable dynamically in a cloud computing system.

Description

technical field [0001] The present invention relates to the technical field of cloud computing, and more specifically, to a dynamic load balancing method and system for container clusters. Background technique [0002] The application of container technology in the field of cloud computing is becoming more and more common. Cloud computing systems usually form multiple containers into clusters to provide services for users, and provide users with a single access portal through a load balancer, so that users do not need to care about or notice it. The service is provided by multiple containers in the cluster. In a container cluster, each container hosts a service, and the services hosted by different containers may be the same or different. [0003] Container clusters often need to change according to the service load: when the load increases, more containers are created to balance the load of each container, so that each container can provide services to users smoothly; when...

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): H04L12/803H04L29/08
CPCH04L47/125H04L67/1001
Inventor 姚子建刘祥涛包琼林赵彦晖孙淏添
Owner 深圳市中润四方信息技术有限公司
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