Container Orchestration via Workload Forecasting
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current container orchestration tools face challenges in automatically scaling and migrating containers in microservice architectures, particularly in predicting future workload demands and optimizing container placement to reduce network latency, as they rely on static policies and lack intelligence for proactive scaling and migration.
Innovation Solution
A computer-implemented method that uses a trained forecasting model to predict the number of containers required for each microservice based on intra-node and inter-node features, assigning scaling labels and values to adjust container numbers and migrating containers between nodes to optimize performance and reduce latency, leveraging machine learning for automated orchestration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If container orchestration tools use static policies for scaling and migration, then device complexity is reduced and ease of operation is improved, but adaptability to future workload demands deteriorates and productivity decreases
Solution Approach 1:
The system performs preliminary actions by training a forecasting model on historical workload data to predict future container requirements. This predictive capability enables the orchestration system to proactively scale and migrate containers before workload demands arise, resolving the contradiction between static operational simplicity and dynamic adaptability to future workloads.
Solution Approach 2:
The system implements feedback mechanisms by continuously monitoring actual workload performance and comparing it with forecasted predictions. This feedback loop allows the forecasting model to be retrained and refined over time, improving adaptability to changing workload patterns while maintaining automated orchestration operations.
2Device complexity
If container orchestration tools rely on predefined constraints for scheduling, then device complexity is reduced, but manufacturing precision of container placement deteriorates and network latency increases
Solution Approach 1:
The forecasting model performs preliminary analysis of workload patterns and predicts optimal container placement locations before actual deployment. This predictive scheduling enables precise container placement that considers both resource constraints and performance optimization goals, resolving the contradiction between system simplicity and placement precision.
3Adaptability or versatility
If manual monitoring and adjustment of container numbers is performed, then adaptability to workload changes is improved, but loss of time for operational intervention increases and productivity decreases
Solution Approach 1:
The system implements self-service by automatically translating forecasting model predictions into container scaling and migration actions without requiring manual operational intervention. The orchestration system autonomously adjusts container numbers based on predicted workload demands, maintaining adaptability while eliminating time loss associated with manual monitoring and decision-making.
4Productivity
If forecasting model is trained on historical workload data, then adaptability to future demands is improved and productivity increases, but use of energy for data processing and model training increases
Solution Approach 1:
The system applies partial action by training the forecasting model on a representative subset of historical workload data rather than processing complete historical records continuously. This approach achieves sufficient predictive accuracy for effective orchestration decisions while minimizing the energy consumption associated with data processing and model training operations.
Data Source
AI summary
Performing container scaling and migration for container-based microservices is provided. A first set of features is extracted from each respective microservice of a plurality of different microservices. A number of containers required at a future point in time for each respective microservice of the plurality of different microservices is predicted using a trained forecasting model and the first set of features extracted from each respective microservice. A scaling label and a scaling value are assigned to each respective microservice of the plurality of different microservices based on a predicted change in a current number of containers corresponding to each respective microservice according to the number of containers required at the future point in time for each respective microservice. The current number of containers corresponding to each respective microservice of the plurality of different microservices is adjusted based on the scaling label and the scaling value assigned to each respective microservice.


