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

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: 2019-02-01
深圳市中润四方信息技术有限公司
View PDF5 Cites 0 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 current load balancing method is difficult to adapt to the dynamically changing container cluster used to provide back-end services in the cloud computing system

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 present invention discloses a dynamic load balancing method and system for a container cluster. The container actively initiates a connection to and registers with a load balancer, and when the load balancer receives a registration request for a newly added container, it creates a new Add the queue node corresponding to the service provided by the container, mount the newly created queue node to the queue corresponding to the identification of the service provided by the newly added container, and when receiving the service request sent by the service request source, determine the corresponding service request The queue corresponding to the service identifier carried in the queue is determined; the container corresponding to the node with the smallest load in the determined queue is determined as the target container; the service request is forwarded to the target container. This process does not need to pre-configure the balancing configuration file or restart the load balancer, automatically achieves load balancing, and overcomes the problem that the current load balancing method is difficult to adapt to the dynamically changing container clusters used to provide back-end services in cloud computing systems.

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