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

Container resource configuration method and device, equipment and storage medium

A resource configuration and container technology, applied in the computer field, can solve problems such as wasting resources, increasing server costs, and loss of performance problems, and achieves the effects of taking into account performance assurance, optimizing resource utilization, and resolving performance conflicts

Pending Publication Date: 2020-10-02
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In the process of implementing the present invention, the inventors have found that there are at least the following problems in the prior art: First, although the container resource configuration based on the maximum value can guarantee performance, it is not suitable for containers and services with very dynamic loads and requirements, such as Internet services and Online services often do not require maximum resources, so a lot of resources will be wasted and server costs will be increased
Second, although percentile-based container resource configuration can save resources to a certain extent, it cannot guarantee to meet all load and resource requirements of requests, which will lead to certain performance conflicts. For important online services, such as e-commerce business, even a 1% performance problem can cost a lot
Third, due to immature technology, dynamic container resource allocation has stability and accuracy problems, so it cannot be applied on a large scale at present.

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 resource configuration method and device, equipment and storage medium
  • Container resource configuration method and device, equipment and storage medium
  • Container resource configuration method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0032] The container resource configuration method provided in this embodiment is applicable to server or server cluster resource allocation in a data center. The method can be executed by a device for configuring container resources, which can be implemented by software and / or hardware, and which can be integrated in devices based on container technology architecture, such as personal computers, servers, server clusters or smart device clusters, etc. . see figure 1 , the method of this embodiment specifically includes the following steps:

[0033] S110. Obtain the maximum resource configuration value of the target container, and determine the target private resource and target backup resource of the target container according to the maximum resource configuration value and the target percentile.

[0034] Wherein, the target container is a container of resources to be configured, which may be one container or multiple containers. The target container can be a newly created ...

Embodiment 2

[0049] In this embodiment, on the basis of the first embodiment above, the step of "generating the target percentile" is added. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see figure 2 , the container resource configuration method provided in this embodiment includes:

[0050] S210. Obtain the maximum resource configuration value of the target container.

[0051] S220. Determine the target resource usage time series data and initial percentile corresponding to the target container.

[0052] Wherein, the time-series data of target resource usage is the historical resource usage data obtained when the target container or a similar container of the target container (when the target container is newly built) configures resources based on the percentile container resource configuration method. The initial percentile refers to the percentile based on which the target container or its peers perform ...

Embodiment 3

[0071] In this embodiment, on the basis of the first embodiment above, "determine the shared backup resource corresponding to the target container based on the target backup resource and the remaining backup resources of at least one container other than the target container in the physical machine corresponding to the target container" optimized further. The explanations of terms that are the same as or corresponding to the above-mentioned embodiments will not be repeated here. see Figure 3a , the container resource configuration method provided in this embodiment includes:

[0072] S310. Obtain the maximum resource configuration value of the target container, and determine the target private resource and target backup resource of the target container according to the maximum resource configuration value and the target percentile.

[0073] S320. According to the historical resource usage time series data corresponding to the target container and each remaining container, d...

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 embodiment of the invention discloses a container resource allocation method and device, equipment and a storage medium. The method comprises the steps of obtaining a resource allocation maximum value of a target container, and determining a target private resource and a target standby resource of the target container according to the resource allocation maximum value and a target percentage;determining a shared standby resource corresponding to the target container according to the target standby resource and other standby resources of at least one other container except the target container in a physical machine corresponding to the target container; and configuring resources of the target container according to the target private resources and the shared standby resources. According to the technical scheme, container resources are configured more reasonably, and resources are saved while performance guarantee is provided to a greater extent.

Description

technical field [0001] Embodiments of the present invention relate to computer technology, and in particular to a container resource configuration method, device, device and storage medium. Background technique [0002] Data centers for platforms such as Internet services, e-commerce services, public clouds, private clouds, and the Internet of Things usually run on servers or server clusters (called physical machines). Currently, the standard architecture of physical machines mostly uses container and microservice technologies. To achieve server resource sharing. On a container platform, a physical machine can run multiple isolated and independent containers; a business or application is divided into multiple logically independent microservices, and microservice instances run in containers. [0003] In order to meet service performance and optimize resource utilization, it is necessary to allocate resources of appropriate size to the container, such as central processing un...

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): G06F9/50
CPCG06F9/5011G06F9/5016G06F9/5027G06F9/505
Inventor 李旻陈源刘海锋刘风才樊建刚鲍光亚彭安单华松
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH 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