Container life cycle management method and device, container function calculation method and device and storage medium

A life cycle and management method technology, applied in the field of container life cycle management, function computing method, equipment and storage media, can solve problems such as affecting user experience, impairing the efficiency of function logic execution, rigid container life cycle management scheme, etc. Improve execution efficiency and avoid the effect of cold start

Pending Publication Date: 2022-05-13
ALIBABA (CHINA) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Although FaaS can provide users with a convenient way, because the execution of function logic depends on container support, and the current container life cycle management solution is relatively rigid, therefore, the execution of function

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 life cycle management method and device, container function calculation method and device and storage medium
  • Container life cycle management method and device, container function calculation method and device and storage medium
  • Container life cycle management method and device, container function calculation method and device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with specific embodiments of the present application and corresponding drawings. Apparently, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0030] At present, the container life cycle management scheme is relatively rigid. Therefore, the execution of function logic often needs to wait for the container to start. There is a large amount of cold start delay, which seriously damages the execution efficiency of function logic. In order to improve these technical problems, in some embodiments ...

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 provides a container life cycle management method and device, a function calculation method and device and a storage medium. A started container on a target host can be monitored; calculating the use heat of each started container in real time; according to the use heat, the sequence of the started containers on the target host is maintained in real time; and based on the sorting of the started containers, controlling the target container of which the sorting position meets a preset requirement to reside until the target container does not meet the preset requirement due to the change of the sorting position. Therefore, the life cycle of the container does not rigidly follow the fixed threshold duration any more, but the container which is more likely to be used and the function logic data associated with the container can be controlled to reside for longer time according to the cache thought, so that the probability of executing the function in a hot start mode is effectively improved, and cold start is reduced or even avoided; the delay of the hot start is far lower than that of the cold start, so that the execution efficiency of the function can be effectively improved on the whole.

Description

technical field [0001] The present application relates to the technical field of cloud computing, in particular to the life cycle management of containers, function computing methods, devices and storage media. Background technique [0002] FaaS (Function-as-a-Service, function as a service or function computing service) provides developers with a convenient way to execute the function logic they write. In this way, developers only need to focus on their logic implementation, while other tasks such as cluster management, resource configuration and virtualization technology are taken care of by the cloud provider. [0003] Although FaaS can provide users with a convenient way, since the execution of function logic depends on container support, and the current container lifecycle management solution is relatively rigid, the execution of function logic often needs to wait for the container to start. In this way, the startup delay of the container will damage the execution effi...

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/455
CPCG06F9/45558G06F2009/45575
Inventor 王骜徐亦达常率王宏琦杨皓然
Owner ALIBABA (CHINA) CO LTD
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