Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Device and method for balancing active load of Docker container

A docker container, active load technology, applied in the Internet field, can solve the problems of inaccessible private IP, high learning and maintenance costs, and failure of the original method, and achieve the effect of reducing the cost of transformation

Active Publication Date: 2017-05-31
CHINA TELECOM SHANGHAI IDEAL INFORMATION IND GRP
View PDF9 Cites 40 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] At present, a common load balancing solution for Docker clusters, such as kubernetes, provides three modes of load balancing: 1. Use the host IP+PORT method, which needs to expose the host IP to the caller, especially when After the host machine goes down, the caller needs to switch to other host machines; 2. Use the native Service method and provide external services with private IP. This method requires that the caller must also be inside the kubernetes cluster, otherwise privateIP cannot Access; 3. Use dedicated load balancing in IaaS environments such as GCE and AWS. This method is not available to most enterprises, and all of these cannot meet the needs of production for high availability.
[0006] Obviously, based on the common Docker cluster load balancing solution, it often depends on the cluster management system. Changes or upgrades of the cluster management system will lead to the failure of the original method; Stop changing information, but also refresh the load balancer synchronously; or due to the use of a dedicated load balancer, the requirements for learning and maintenance costs are high, which is not suitable for technology precipitation and increases enterprise costs; or when the service runs in multiple environments such as Docker environment, vmware, kvm or running independently in the host environment cannot meet the needs of heterogeneous environments

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
  • Device and method for balancing active load of Docker container
  • Device and method for balancing active load of Docker container
  • Device and method for balancing active load of Docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The implementation of the present invention is described below through specific examples and in conjunction with the accompanying drawings, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific examples, and various modifications and changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0050] figure 1 It is a system architecture diagram of a Docker container active load balancing device according to the first embodiment of the present invention. Such as figure 1 As shown, an active load balancing device for Docker containers in the present invention includes: an image conversion module 101 , an application manager 102 , a distributed coordination server 103 , a detector ...

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 device and a method for balancing an active load of a Docker container. The method comprises the following steps: receiving a to-be-executed application file and presetting to-be-executed application details; converting the to-be-executed application file into a Docker mirror image; executing an application starting command in the Docker mirror image; transmitting a registration request and registering an application to a distributed coordination server; acquiring registering information from the distributed coordination server, acquiring change data, corresponding to the container, of an application example, and analyzing the data; updating a configuration file to a general load balancer by configuring a template. According to the device and the method disclosed by the invention, a real-time active discovering and registering mechanism is realized; the general load balancer is adopted for providing services for a Docker container cluster.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a Docker container active load balancing device and method. Background technique [0002] Docker is an open source application container engine. A single instance running a Docker container cannot meet the production needs. The industry generally adopts the Docker cluster mode to provide external services. At present, many open source container cluster management systems such as kubernetes, mesos, swarm, etc. Combining basic network solutions such as flannel, weave, pipework, etc., solves the problems faced by Docker clusters, but the load balancing of Docker container clusters has not yet had a perfect solution. [0003] The goal of Docker container discovery is to expose services hidden inside Docker containers, reducing or eliminating communication barriers between Docker containers. [0004] The purpose of Docker container cluster load balancing is to uniformly ...

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/1004H04L67/1095H04L67/1097H04L67/56
Inventor 胡中明胡忠顺徐玉清
Owner CHINA TELECOM SHANGHAI IDEAL INFORMATION IND GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products