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

Method for solving start concurrence bottleneck of docker container

A container and bottleneck technology, applied in the field of solving the concurrency bottleneck of docker container startup, can solve the problems of container queue blocking, return errors, conflicts, etc., and achieve the effect of improving concurrency performance

Active Publication Date: 2016-08-03
ALIBABA (CHINA) CO LTD
View PDF4 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] When the docker container starts, if the network mode for assigning IP is set, such as bridge, in this mode, verification is required to avoid IP address conflicts, such as figure 1 As shown, it will be locked during the acquisition of IP, mask, and gateway. If there is no IP address conflict, the docker container can obtain relevant network parameters and start, otherwise an error will be returned; during the locking process, other containers need to wait in line. Blocking the container queue

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
  • Method for solving start concurrence bottleneck of docker container
  • Method for solving start concurrence bottleneck of docker container
  • Method for solving start concurrence bottleneck of docker container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0040] In one embodiment, such as figure 2 As shown, a method to solve the concurrency bottleneck of docker container startup includes the following steps:

[0041] S1. Query the startup mode of the docker container. If it is a network mode with IP allocation, proceed to S2; if it is a network mode without IP allocation, it will start normally;

[0042] S2. Obtain the name of the docker container and connect to the docker container management platform;

[0043] S3. transferring the docker container name to the docker container management platform;

[0044] S4. The docker container management platform queries the docker directional allocation record table according to the docker container name, if the query result is not empty, then proceeds to S5; if the query ...

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 method for solving a start concurrence bottleneck of a docker container. Through modifying the source code of a docker, the problem of the start concurrence of the docker container is solved; in a start process, the communication with a management platform is carried out; the network parameter of the docker container is directionally distributed according to the inquiry result of the management platform, so that the locking and the unlocking are avoided in a distribution process; further, the start concurrency of the docker container is improved; the blockage of a container queue cannot occur in the process of starting many containers.

Description

technical field [0001] The invention relates to the field of computers, in particular to a method for solving the concurrent bottleneck of docker container startup. Background technique [0002] Docker is an LXC-based advanced container engine developed by PaaS provider dotCloud. The source code is hosted on Github. Docker is based on the go language and complies with the Apache2.0 protocol to open source, allowing developers to package their applications and dependencies into a portable , and then publish to any popular Linux machine, which can also be virtualized. [0003] The docker container is completely using the sandbox mechanism, and there will be no interface between them (similar to iPhone apps). There is almost no performance overhead and can be easily run on machines and data centers. Most importantly, they do not depend on any language, framework including system. [0004] Building a standardized operating environment based on docker is different from existin...

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): G06F9/455
CPCG06F9/45508G06F9/45533G06F2009/45562
Inventor 王建飞李岩刘金国姚键潘柏宇王冀
Owner ALIBABA (CHINA) CO LTD
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