Video Streaming Platform Resource Prediction via Training Workflows

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Clients face challenges in determining the appropriate computing resources needed for video processing in cloud-based systems, often overestimating requirements due to insufficient understanding of the relationship between media content, processing operations, and necessary processing power, leading to inefficient resource allocation.

Innovation Solution

A method is implemented to optimize resource allocation by creating a task graph for each media workflow, assigning workers, collecting performance data, and generating a platform performance profile to predict resource requirements, allowing for efficient allocation of resources based on actual needs.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If clients allocate computing resources based on worst-case scenario estimates, then reliability of video processing is improved, but resource utilization efficiency deteriorates

Engineering Contradiction:
Improvevideo processing reliabilityVSAvoidresource utilization efficiency
Core Design Contradiction:
ReliabilityVSLoss of energy

Solution Approach 1:

The system performs preliminary actions by creating training workflows that execute the same media processing tasks beforehand. These training runs collect actual performance data from workers, which is then used to build accurate performance profiles. This preliminary characterization eliminates the need for worst-case estimates, allowing clients to allocate resources based on measured actual performance while maintaining reliability.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system implements feedback mechanisms where training workflows execute on workers and collect actual performance data. This data feeds back into building performance profiles that accurately reflect real resource consumption. The feedback loop replaces speculative worst-case allocation with data-driven resource estimation, improving utilization efficiency while ensuring sufficient resources are allocated based on actual needs.

Inventive Principle:
Principle #23Feedback

2Reliability

If clients allocate more computing resources to ensure sufficient capacity, then video processing quality is improved, but cost increases

Engineering Contradiction:
Improvevideo processing qualityVSAvoidcomputing resource quantity
Core Design Contradiction:
ReliabilityVSQuantity of substance

Solution Approach 1:

The system replaces the mechanical approach of over-provisioning resources with a computational characterization system. Instead of allocating extra resources as a safety margin, the system uses training workflows to measure actual performance and build predictive models. This substitution allows precise resource allocation based on actual needs rather than conservative estimates, reducing the quantity of computing resources required while maintaining processing quality.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The system changes the parameter of resource allocation from fixed worst-case estimates to dynamic predictions based on performance profiles. By characterizing actual resource consumption through training runs and storing these as performance parameters, the system enables accurate resource allocation that matches actual needs, reducing the quantity of computing resources while ensuring sufficient capacity for quality processing.

Inventive Principle:
Principle #35Parameter changes

3Ease of operation

If clients use intuitive understanding of processing requirements, then ease of configuration is improved, but measurement precision of resource needs deteriorates

Engineering Contradiction:
Improveconfiguration easeVSAvoidresource requirement prediction accuracy
Core Design Contradiction:
Ease of operationVSMeasurement precision

Solution Approach 1:

The system implements self-service by automatically performing resource characterization through training workflows. Instead of requiring clients to manually estimate or configure resource needs, the system autonomously executes training tasks, collects performance data, and builds accurate performance profiles. This self-characterization maintains ease of configuration for clients while dramatically improving the precision of resource requirement measurements through actual empirical data.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

The system performs preliminary characterization actions by executing training workflows that mirror actual processing tasks. These preliminary runs automatically gather performance metrics and build accurate resource requirement models before clients need to allocate resources. This preliminary measurement phase maintains operational simplicity while achieving high measurement precision through actual performance data rather than intuitive estimates.

Inventive Principle:
Principle #10Preliminary action

Data Source

PatentUS9407944B1Resource allocation optimization for cloud-based video processing
Publication Date: 2016.08.02 ISTREAMPLANET CO LLC
  • US9407944B1 patent drawing
  • US9407944B1 patent drawing
  • US9407944B1 patent drawing

AI summary

A method executed by an electronic device to optimize resource utilization while processing media workflows by a video streaming platform is disclosed. In one embodiment, a request to initiate a set of training sessions is received, and for each training session, a set of training workflows to be processed is initiated and a task graph for each training workflow is created. Then a worker of the video streaming platform is assigned to each training session. The raw performance data from each assigned worker is then collected, and a platform performance profile is generated based on the raw performance data from the each assigned worker. The platform performance profile is used to predict resource requirements of media workflows to be processed by the video streaming platform. A system to perform the method and a storage medium storing instructions to perform the method are disclosed too.