Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

A method for implementing container load balancing

A technology of load balancing and implementation method, applied in transmission systems, electrical components, etc., can solve problems such as low load forwarding efficiency, few application scenarios, and inability to forward strategies

Active Publication Date: 2020-05-08
中电福富信息科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Limited load balancing strategies lead to fewer application scenarios
The Service solution of Kubernetes only supports polling and IP_HASH (source address hash scheduling), and cannot be based on forwarding strategies such as URL / HEADER / COOKIE
[0006] Low load forwarding efficiency, not suitable for large-scale application clusters
The Service of Kubernetes implements request forwarding through NAT conversion of Iptables. For the request load of large-scale applications, this forwarding mode will become a performance bottleneck

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
  • A method for implementing container load balancing
  • A method for implementing container load balancing
  • A method for implementing container load balancing

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] like figure 1 As shown, a high-performance and high-availability container load balancing implementation method of the present invention includes an application layer, a Tengine load layer, an LVS load layer and a registration center, wherein the Tengine load layer and the LVS load layer are set to a two-layer offloading architecture; The application layer allows the deployment of multiple applications, and each application is equipped with an application agent; the Tengine load layer allows the deployment of multiple Tengines, and each Tengine is equipped with a Tengine agent; the LVS load layer allows the deployment of multiple LVS, only one LVS is Active, the rest are Standby, and each LVS is equipped with an LVS agent; the agent of each layer cooperates with the registry to realize the ability of service registration and discovery, so that the whole architecture has The ability to scale horizontally.

[0036] The application agent program performs health monitoring...

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 provides a high-performance and high-availability container load balance achieving method which adopts an application layer, a Tengine load layer, a LVS load layer and a registration center. The Tengine load layer and the LVS load layer form a double-layer distribution architecture, and rich load balance strategies are supported while the handling capacity of a whole cluster system is greatly improved. A unique and stable inlet is provided for a client-side through a virtual IP, and high availability of the load inlet is ensured. The application layer permits deployment of multiple applications, each application is configured with a matched application agent program. The Tengine load layer permits deployment of multiple Tengine, each Tengine is configured with one matched Tengine agent program. The LVS load layer permits deployment of multiple LVS, and each LVS is configured with one matched LVS agent program. Each layer of agent program is matched with the registration center to achieve serve registration capability, so that the whole architecture has transverse extending capability.

Description

technical field [0001] The invention relates to a container load balancing implementation method of a double-layer flow distribution architecture. Background technique [0002] With the popularity of Docker container technology, both the telecommunications industry and the Internet industry use Docker technology to run their applications in containers. For how to manage large-scale container online systems, there are three main solutions in the industry, namely Docker Swarm, Google Kubernetes and Apache Mesos. Among them, the most popular solution is Google's Kubernetes. The present invention will improve the load balancing of containers in Kubernetes, and propose a higher-performance and high-availability container load balancing implementation method. [0003] Kubernetes provides Service to provide reverse proxy and load balancing capabilities for multiple application containers in the backend, but this method provided by Kubernetes has some shortcomings: [0004] The ac...

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/08
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
Eureka Blog
Learn More
PatSnap group products