Abstract
Data centers are a cornerstone of the modern digital economy but represent a significant environmental challenge, accounting for over 3% of global greenhouse gas emissions. A primary driver of this footprint is resource over-provisioning—maintaining underutilized "zombie" servers to buffer against traffic spikes. This paper introduces Full Scaling Automation (FSA), an AI-driven framework developed by researchers at Ant Group. FSA optimizes cloud resource allocation by combining multi-scale time-series forecasting with Bayesian uncertainty modeling. By accurately predicting workload fluctuations and managing the inherent noise in CPU utilization, FSA significantly reduces energy consumption and carbon emissions without compromising service stability. Real-world deployment during the 2022 "Double 11" shopping festival resulted in a reduction of 947 tons of CO2 emissions, demonstrating the system's efficacy at an industrial scale.
Introduction
As global demand for cloud computing grows, the sustainability of data centers has become a critical concern. Traditional "autoscaling" solutions—which dynamically add or remove virtual containers (Pods) based on demand—often struggle with the complexity of real-world workloads. These workloads exhibit messy, multi-scale periodicities (daily, weekly, and seasonal) and a non-linear relationship between requests per second (RPS) and CPU utilization. To avoid service interruptions, operators frequently maintain low CPU utilization, leading to massive electricity waste.
To address these challenges, the Full Scaling Automation (FSA) framework was developed to provide a robust, end-to-end solution for resource management. FSA treats carbon reduction as a primary objective alongside performance and cost, bridging the gap between operational efficiency and environmental sustainability.
The FSA Framework
The FSA framework is divided into two primary modules: Workload Forecasting and Scaling Decision.
Multi-scale Workload Forecasting
Standard forecasting models often fail to capture long-term periodic cycles while simultaneously reacting to short-term trends. FSA addresses this by utilizing a "Multi-scale Time Series Representation." The system employs contrastive learning across two dimensions:
- Time Domain: To identify immediate trends and shifts.
- Frequency Domain: To capture periodic cycles, such as weekly or seasonal spikes.
This long-term "memory" is stored in a database and fused with a "nearby observation" window using a self-attention mechanism. This allows the model to predict future traffic with high precision by contextualizing current observations within historical patterns.
Task-conditioned Bayesian Neural Regression
Once a workload is predicted, the system must determine the optimal number of Pods required. This is complicated by the fact that different microservices—ranging from web services to AI inference—have unique resource consumption profiles.
Rather than training thousands of individual models, FSA utilizes a hypernetwork. This hypernetwork takes a "task embedding" unique to each of the 3,000+ microservices and uses it to customize a regression model on the fly. This unified approach allows the system to scale across massive infrastructure while maintaining service-specific accuracy.
Uncertainty Estimation and Risk Management
Scaling decisions are inherently risky; under-provisioning can lead to service crashes. FSA incorporates Bayesian methods to provide a range of possible outcomes (upper and lower bounds) rather than a single deterministic value. This "decision range" allows the system to balance the "maximum benefit" of power savings against the "minimum risk" required to maintain Service Level Objectives (SLOs). Operators can tune the aggressiveness of the scaling based on the criticality of the specific service.
Experimental Results
The researchers evaluated FSA using massive, real-world industrial datasets from Ant Group, encompassing 10-minute frequency data from 3,000 online microservices.
Performance Benchmarks
FSA was benchmarked against state-of-the-art time-series models (including N-BEATS, Informer, and Autoformer) and industry-standard autoscalers like Google’s Autopilot. Key findings include:
- Forecasting Accuracy: FSA demonstrated a ~30% improvement in accuracy over vanilla deep learning models for high-frequency workload data.
- Resource Efficiency: FSA achieved the lowest Relative Resource Consumption (RRC), using significantly fewer resources than rule-based systems or Autopilot while maintaining identical SLOs.
Real-World Impact
The most significant validation of FSA occurred during the 2022 "Double 11" (Singles' Day) shopping festival. During this period of extreme traffic volatility, FSA was credited with saving 1,538,000 kWh of electricity, which translates to a reduction of 947 tons of carbon dioxide emissions.
Conclusion and Future Work
Full Scaling Automation represents a significant step forward in the development of green data centers. By moving beyond raw data to learned representations and utilizing hypernetworks for scalability, FSA provides a practical path to reducing the environmental impact of large-scale cloud infrastructure.
Future research will explore the integration of vertical scaling (adjusting CPU/RAM limits within Pods) and "cross-silo" optimization. The latter would coordinate scaling decisions across different geographical regions to align resource consumption with the availability of local renewable energy, such as solar or wind power, further enhancing the sustainability of global digital operations.
Summary updated