Unlock instant, AI-driven research and patent intelligence for your innovation.

Container scheduling processing method and device

A scheduling processing and container technology, applied in the field of cloud computing, can solve the problem of not making full use of idle resources

Active Publication Date: 2022-08-02
NANJING ZHONGXING SOFTWARE
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a container scheduling processing method and device to at least solve the problem in the related art that the PaaS platform fails to make full use of the computing nodes whose amount of idle resources is between the request and the limit when performing container scheduling

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
  • Container scheduling processing method and device
  • Container scheduling processing method and device
  • Container scheduling processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0076] The method embodiment provided in the first embodiment of the present application may be executed in a computer terminal (hereinafter referred to as a mobile terminal) or a similar computing device. Take running on a mobile terminal as an example, figure 1 is the hardware structure block diagram of the mobile terminal of the container scheduling processing method according to the embodiment of the present invention, such as figure 1 As shown, the mobile terminal 10 may include one or two (only one is shown in the figure) processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), for A memory 104 for storing data, and a transmission device 106 for communication functions. Those of ordinary skill in the art can understand that, figure 1 The shown structure is only for illustration, and it does not limit the structure of the above-mentioned electronic device. For example, th...

example 1

[0161] The embodiment of the present invention will be described in detail by taking docker container scheduling on a PaaS platform based on a physical host as an example. In the PaaS platform, the computing node is a physical host. In this scenario, docker container scheduling based on elastic scaling is implemented, including:

[0162] The first step, data collection, can include the following steps:

[0163] After the PaaS platform is started, the data collection module 34 starts to periodically collect the data values ​​of the resources (CPU, RAM) used by the docker container instance, and store them persistently. The information recorded by the data collection module 34 includes the name of the container application, the name (one or more) of its subordinate container instances, the name of the computing node where the container instance is located, the resource value used by the container instance, and the collection date and time;

[0164] After the PaaS platform is st...

example 2

[0195] The following describes the embodiment of the present invention in detail by taking docker container scheduling on a PaaS platform based on a virtual host as an example. The computing nodes in the PaaS platform are virtual hosts. In this scenario, docker container scheduling based on elastic scaling is implemented, including:

[0196] The first step, data collection, can include the following steps:

[0197] After the PaaS platform is started, the data collection module 34 starts to periodically collect the data values ​​of the resources (CPU, RAM) used by the docker container instance, and store them persistently. The information recorded by the data collection module 34 includes the container application name, the subordinate container instance name(s), the name of the computing node where the container instance is located, the resource value used by the container instance, and the collection date and time.

[0198] After the PaaS platform is started, the data collec...

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 present invention provides a container scheduling processing method and device, wherein the method includes: receiving a request message for creating a new container instance; obtaining the minimum resource value and the maximum resource value of resources required for creating the container instance according to the request message ; In the case that the amount of idle resources of the computing node is greater than the minimum resource value and less than the maximum resource value, release idle resources for the computing node by destroying the container instance; between the released idle resources and the idle resources In the case where the sum of the amounts is greater than the maximum resource value, the container instance is created on the computing node, which solves the problem that the PaaS platform in the related art fails to make full use of idle resources when the amount of idle resources is between the request and the limit. The problem of computing nodes is to create container instances on computing nodes whose idle resources are between the request and limit.

Description

technical field [0001] The present invention relates to the field of cloud computing, and in particular, to a container scheduling processing method and device. Background technique [0002] In the Platform as a Service (Platform as a Service) platform, there are requirements for resources (CPU, RAM) when deploying docker containers, which generally include two types of values: request and limit, that is, the minimum required resources and the maximum resource usage limit . In order to ensure the normal operation of the docker container, the PaaS platform often selects computing nodes with idle resources greater than or equal to the limit when scheduling it. It is a waste for nodes. request is the minimum resource value required by the container instance, which is the minimum resource value required at runtime, and limit is the maximum resource value allocated by the system to the container instance, that is, the maximum resource that the container instance can use. Numeri...

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): H04L47/10H04L47/525H04L47/2425
CPCH04L47/2425H04L47/29H04L47/525
Inventor 董劲
Owner NANJING ZHONGXING SOFTWARE