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

Method, apparatus and system for realizing elastic expansion of application example based on container

A technology of elastic scaling and implementation method, which is applied in the field of elastic scaling, can solve problems such as poor flexibility, and achieve the effect of improving high reliability

Inactive Publication Date: 2017-07-28
BEIJING CHINA POWER INFORMATION TECH +3
View PDF6 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the load of the application is too large or too small, Swarm cannot automatically expand and scale the application instance according to the load of the application, and the flexibility is poor.

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, apparatus and system for realizing elastic expansion of application example based on container
  • Method, apparatus and system for realizing elastic expansion of application example based on container
  • Method, apparatus and system for realizing elastic expansion of application example based on container

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] 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 creative efforts fall within the protection scope of the present invention.

[0040] The embodiment of the present invention discloses a method, device and system for realizing elastic scaling of container-based application instances, so as to realize elastic scaling of application instances running in containers and improve high reliability of container-based applications.

[0041] see figure 1 , a container-based implementation method for elastic scaling of application instances provided by an embodiment of the present invention, including...

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 method, apparatus and system for realizing elastic expansion of an application example based on a container. The method comprises the following steps: determining a target host node and a target container corresponding to a target application; determining an index of an elastic expansion strategy corresponding to the target application; obtaining an actual value of the index corresponding to the target container; and if it is judged that the number of the containers of the target application needs to be adjusted according to the actual value of the index and the elastic expansion strategy, sending a container number adjustment instruction to a Docker Swarm component, so that the Docker Swarm component adjusts the number of the containers. Therefore, in the embodiment, the obtained actual value of the index is matched with the predetermined elastic expansion strategy to automatically trigger the Swarm cluster component to perform scheduling to create or delete the containers, automatic capacity expansion or expansion of the application example under a certain condition, thereby improving the high reliability of the application based on the container.

Description

technical field [0001] The present invention relates to the technical field of elastic scaling of application instances, and more specifically, to a container-based implementation method, device and system for elastic scaling of application instances. Background technique [0002] The Docker Swarm cluster component is the cluster management component of the Docker container. Docker Swarm can manage multiple Docker Deamon. Containers provide applications with isolated running spaces. Each container contains an exclusive and complete user environment space, and changes in one container will not affect the running environment of other containers. At present, the Docker Swarm cluster component can implement cluster management on hosts, but after the Docker Swarm cluster component initially creates a predetermined number of application instances, the number of application instances is fixed. However, when the load of the application is too large or too small, Swarm cannot automa...

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): H04L12/24H04L29/08G06F9/50
CPCH04L41/5054G06F9/5027H04L67/10
Inventor 王继业高灵超杨宁罗华永吴嘉生王宇飞
Owner BEIJING CHINA POWER INFORMATION TECH
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