Predictive Container Quantity Adjustment for Application Traffic

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing container resource allocation methods for applications fail to adjust container quantities in a timely manner, leading to potential application running faults and limitations due to post-adjustment based on traffic changes.

Innovation Solution

A method and apparatus for predicting future traffic and container quantity distribution using pre-trained models, allowing for timely adjustment of container quantities based on historical data, target utilization, and reinforcement learning to ensure optimal resource allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If post-adjustment is performed based on traffic change, then container quantity is adjusted according to actual traffic, but adjustment timing is delayed causing application running limitations or faults

Engineering Contradiction:
Improveapplication running statusVSAvoidadjustment timing
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies preliminary action by predicting future traffic trends using historical data and machine learning models before traffic changes actually occur. The system forecasts traffic patterns and proactively adjusts container quantities in advance, transforming the reactive post-adjustment approach into a proactive pre-adjustment strategy that prevents application running limitations and faults before they happen.

Inventive Principle:
Principle #10Preliminary action

2Productivity

If container quantity is increased to handle traffic increase, then application service capability is improved, but resource waste occurs when traffic decreases

Engineering Contradiction:
Improveapplication service capabilityVSAvoidresource waste
Core Design Contradiction:
ProductivityVSLoss of energy

Solution Approach 1:

The patent implements dynamics by establishing a dynamic container quantity adjustment mechanism that continuously adapts to changing traffic conditions. Using real-time traffic monitoring and predictive modeling, the system dynamically optimizes container quantities to match actual service demands, ensuring high productivity when traffic increases while minimizing resource waste when traffic decreases, thus achieving flexible and efficient resource allocation.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent applies feedback by implementing a closed-loop control system that continuously monitors actual traffic, compares it with predicted traffic, and adjusts container quantities accordingly. The system uses feedback from traffic patterns and application performance metrics to refine predictions and optimize container allocation, ensuring that resource allocation remains aligned with actual service needs and preventing both over-provisioning and under-provisioning.

Inventive Principle:
Principle #23Feedback

3Device complexity

If fixed container quantity is allocated, then resource allocation is simple, but application running faults occur when traffic fluctuates

Engineering Contradiction:
Improveresource allocation complexityVSAvoidapplication running status
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent applies parameter changes by transitioning from a static container quantity parameter to a dynamic parameter that changes based on traffic conditions. The system uses machine learning models to predict traffic parameters and adjusts container quantities accordingly, allowing the resource allocation system to adapt to traffic fluctuations while maintaining manageable complexity through automated prediction and adjustment mechanisms.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS12418581B2Container quantity adjustment for application
Publication Date: 2025.09.16 ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
  • US12418581B2 patent drawing
  • US12418581B2 patent drawing
  • US12418581B2 patent drawing

AI summary

Implementations of methods and apparatuses for container quantity adjustment are disclosed. In an implementation, a method includes: determining historical data of an application, predicting traffic distribution of the application within a predetermined duration based on the historical data by using a pre-trained traffic prediction model, predicting container quantity distribution of the application within the predetermined duration based on the traffic distribution and a predetermined target utilization of a container by using a pre-trained quantity prediction model, and adjusting a container quantity of the application at each of a plurality of predetermined moments within the predetermined duration based on the container quantity distribution.