Cloud Function Warm Start Using Dynamic Hold Time

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The invocation of cloud-hosted functions in serverless architectures is hindered by significant latency due to the time-consuming process of provisioning containers and loading function images, which increases the delay between receiving a request and returning a result.

Innovation Solution

A warm start technique is employed where cloud-hosted functions are instantiated ahead of time based on a dynamically determined hold time, using function graphs to manage and coordinate the execution of these functions, reducing latency by having them ready for immediate execution upon request.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If cloud-hosted functions are instantiated on-demand when triggered, then resource utilization is optimized and cost is reduced, but latency increases due to container creation and image loading

Engineering Contradiction:
ImprovelatencyVSAvoidresource utilization
Core Design Contradiction:
Loss of timeVSUse of energy by moving object

Solution Approach 1:

The system performs preliminary instantiation of cloud-hosted functions by activating the function graph and instantiating functions associated with future states before they are actually triggered. This advance preparation eliminates the latency of container creation and image loading when the function is needed, while allowing the system to tear down unused instances to maintain resource efficiency.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system dynamically adjusts the instantiation state of cloud-hosted functions based on predicted execution timing. Functions are instantiated in advance if their associated states are predicted to be triggered soon, and torn down if not expected to be triggered. This dynamic approach balances latency reduction with resource utilization optimization.

Inventive Principle:
Principle #15Dynamics

2Speed

If cloud-hosted functions are pre-instantiated to reduce latency, then response time improves, but resource consumption increases

Engineering Contradiction:
Improveresponse timeVSAvoidresource consumption
Core Design Contradiction:
SpeedVSQuantity of substance

Solution Approach 1:

The system selectively pre-instantiates only those cloud-hosted functions whose associated states are predicted to be triggered in the future, rather than pre-instantiating all functions. This targeted approach reduces response time for predicted functions while minimizing unnecessary resource consumption for functions that won't be executed.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system changes the instantiation parameter of cloud-hosted functions dynamically based on prediction outcomes. Functions transition between instantiated and torn-down states depending on whether their associated states are predicted to be triggered, allowing the system to optimize the balance between response time and resource consumption.

Inventive Principle:
Principle #35Parameter changes

3Loss of time

If the function graph is activated to enable warm start, then latency is reduced through pre-instantiation, but system complexity increases

Engineering Contradiction:
ImprovelatencyVSAvoidsystem complexity
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

The function graph serves multiple purposes: it defines the execution flow of cloud-hosted functions, enables prediction of future state triggering, and coordinates the warm start instantiation process. This multi-functionality reduces the need for separate prediction and coordination systems, thereby limiting the increase in system complexity while achieving latency reduction.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentEP3848805B1Warm start technique for cloud-hosted functions
Publication Date: 2026.05.13 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • EP3848805B1 patent drawingFigure 1A
  • EP3848805B1 patent drawingFigure 1B
  • EP3848805B1 patent drawingFigure 2

AI summary

A system, computer-implemented method, and/or non-transitory computer-readable media may provide a warm start technique for cloud-hosted functions. This warm start technique may reduce latency associated with a time to execution of a cloud-hosted function, such as by determining a cloud-hosted function associated with an activated function graph and instantiating the cloud-hosted function ahead of its execution in association with the activated function graph (e.g. in anticipation of a later requested execution of the cloud-hosted function), and/or maintaining an already instantiated cloud-hosted function for a hold time that is dynamically determined for the cloud-hosted function (in anticipation of a later requested execution of the cloud-hosted function being made during that hold time).