Reinforcement Learning for Serverless Function Chain Tuning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional serverless function frameworks ineffectively tune serverless functions by allocating computing resources and scaling individually, leading to increased latencies and inefficient resource use due to neglecting the performance of entire function groups.

Innovation Solution

Utilizing a reinforcement learning (RL) model to analyze metrics of serverless function chains and determine tuning factors that optimize resource allocation and scaling across groups of related functions, iteratively improving performance.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If serverless functions are tuned individually by modifying scaling and computing resources, then resource allocation is simplified, but overall system performance deteriorates due to bottlenecks in function chains

Engineering Contradiction:
Improvetuning complexityVSAvoidsystem performance
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The patent merges individual function tuning into group-level tuning by identifying functions that belong to the same function chain and applying coordinated scaling and resource allocation across the entire group. This resolves the contradiction by maintaining simple tuning operations while achieving better system-wide performance through collective optimization of related functions.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system implements feedback mechanisms that monitor performance metrics of function chains and use this information to dynamically adjust scaling and resource allocation decisions. This allows the tuning process to respond to actual system behavior, identifying bottlenecks and optimizing resource distribution across function groups to improve overall productivity while maintaining manageable complexity.

Inventive Principle:
Principle #23Feedback

2Ease of operation

If computing resources are allocated to individual serverless functions, then resource management is straightforward, but resource utilization efficiency deteriorates due to bottlenecks

Engineering Contradiction:
Improveresource management easeVSAvoidresource utilization efficiency
Core Design Contradiction:
Ease of operationVSLoss of energy

Solution Approach 1:

The patent combines resource allocation decisions for multiple functions into unified group-level allocations based on function chain relationships. This maintains operational simplicity while improving resource utilization efficiency by ensuring resources are distributed according to actual system bottlenecks rather than individual function needs in isolation.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system dynamically adjusts resource allocation based on monitored performance metrics and identified bottlenecks in function chains. This allows resource management to adapt to changing system conditions, improving utilization efficiency while maintaining ease of operation through automated decision-making that responds to real-time system state.

Inventive Principle:
Principle #15Dynamics

3Device complexity

If serverless functions are scaled individually, then scaling control is simple, but system latency increases due to uncoordinated scaling across function chains

Engineering Contradiction:
Improvescaling control complexityVSAvoidsystem latency
Core Design Contradiction:
Device complexityVSLoss of time

Solution Approach 1:

The patent merges individual function scaling into coordinated group scaling by identifying functions within the same chain and applying scaling decisions collectively. This maintains simple scaling control mechanisms while reducing system latency by ensuring that scaling actions are synchronized across related functions, preventing bottlenecks caused by uncoordinated scaling.

Inventive Principle:
Principle #5Merging (Combining)

Solution Approach 2:

The system dynamically coordinates scaling decisions across function groups based on performance monitoring and bottleneck identification. This allows the scaling control to adapt to system conditions, reducing latency by proactively scaling functions in the correct sequence and proportion while maintaining operational simplicity through automated coordination.

Inventive Principle:
Principle #15Dynamics

Data Source

PatentUS12432269B2Utilizing reinforcement learning for serverless function tuning
Publication Date: 2025.09.30 RED HAT LLC
  • US12432269B2 patent drawing
  • US12432269B2 patent drawing
  • US12432269B2 patent drawing

AI summary

One or more metrics associated with performance of a serverless function chain are received. The one or more metrics are used by a reinforcement learning (RL) model to tune the serverless function chain.