Docker container based network load balancing system and establishment method and operating method thereof

A docker container and balancing system technology, applied in the field of cloud computing virtualization, can solve the problems of waste of resources, waste of server host resources, and heavy workload of adding server hosts, and achieve the effect of increasing the scale, saving costs, and having the same configuration model.

Inactive Publication Date: 2017-05-10
SHANDONG UNIV
View PDF3 Cites 21 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] 1) The cost of multiple server hosts is high: the background Web server set of traditional technology is composed of multiple server hosts, and the price of each server host is not low, and the cost of implementing a network load balancing system for small enterprises is too high
[0007] 2) Waste of server host resources: the traditional technology is to treat each server host as a background server. Except for the hardware resources of the server host as the part of the background Web server, other idle parts will cause waste of resources
[0008] 3) The workload of adding a server host is heavy: when the number of website visits increases and a server host needs to be added, the traditional technology exists because the configuration model of the added server host cannot be completely consistent with the old server, and the algorithm needs to be modified after adding the server host

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
  • Docker container based network load balancing system and establishment method and operating method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] A network load balancing system based on Docker containers, such as figure 1 As shown, it includes a server host, a reverse proxy server and several background Web servers.

[0039] The reverse proxy server is used to accept the connection request on the Internet, forward the request to the background Web server on the internal network, and return the result obtained from the background Web server to the client requesting connection on the Internet.

[0040] As the hardware foundation of the entire system, the server host needs to have high processing power, stability, reliability and other requirements. The background web server refers to a website server, which is a program residing in a certain type of computer on the Internet. It can provide documents to web clients such as browsers, and can also place website files for the world to browse; it can place data files for the world to browse. download.

[0041] The server host is a DELL PowerEdge R730 server, the reve...

Embodiment 2

[0044] The construction method of the network load balancing system described in embodiment 1, the specific steps include:

[0045] (1) Prepare the host machine, choose a server host machine for the host machine, and install the Ubuntu 14.04 operating system; Ubuntu 14.04 is a relatively stable version of the Linux operating system that supports Docker, and you can use the command line to directly install and configure the Docker environment;

[0046] (2) Select the background Web server, and establish the main folder required by the Docker container under its root directory. The main folder includes two items: one is the Dockerfile file for building the Docker container image, which is used as a template for the image to facilitate migration; the other One is a folder that can be mounted; it is used to store web page code and can be updated at any time;

[0047] (3) write described Dockerfile file, described Dockerfile file comprises the operating system that Docker container...

Embodiment 3

[0056] The working method of the network load balancing system described in embodiment 1, the specific steps include:

[0057] A. When the user accesses the website carried by the network load balancing system through the domain name or IP address, the access request will first reach the reverse proxy server in the server host;

[0058] B. The reverse proxy server distributes the access requests to the background web servers in each container, reducing the load of each web server and balancing the access volume or flow.

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 relates to a Docker container based network load balancing system and an establishment method and an operating method thereof. According to the invention, a Docker container technology is adopted to act as a foundational technology of the system, and the complete network load balancing system is realized on a server host by using the characteristic that a Docker container saves hardware resources and can establish a lot of containers in the server host; and a Web server is added through container mirroring conveniently and quickly so as to perform shunting on the access amount or a data stream by using the characteristics that the Docker container can be established in a second level through mirroring and that the containers established through mirroring can be ensured to be identical. The Docker container based network load balancing system not only can save the implementation cost of the system, but also can efficiently solves a problem that the original system cannot bear because of increase in access amount or data stream.

Description

technical field [0001] The invention relates to a network load balancing system based on a Docker container, a construction method and a working method thereof, and belongs to the field of cloud computing virtualization. Background technique [0002] Cloud computing technology is a technological revolution in the IT industry, which can deploy computing resources on demand. In essence, cloud computing means that user terminals obtain computing resources such as storage, computing, and databases through remote connections. Virtualization technology is one of the core components of cloud computing technology, and it is a key technology to fully integrate and efficiently utilize various computing and storage resources, including server virtualization and desktop virtualization. [0003] Docker is an emerging lightweight virtualization technology. Compared with traditional VMs, it is lighter in weight and faster in startup speed. It can run hundreds or thousands of containers on...

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/02H04L67/1001
Inventor 周晓天鲁洪宽袁东风
Owner SHANDONG UNIV
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