Coordinating Horizontal and Vertical Cloud Autoscaling

17 concepts13 papers1 proposal

Cloud applications face a relentless challenge: traffic is highly volatile, yet users expect instant responses. Traditionally, cloud platforms handle this volatility through horizontal scaling—adding or removing application replicas (containers or virtual machines).

However, horizontal scaling suffers from a fundamental "latency gap." Spinning up a new instance requires provisioning hardware, pulling container images, and initializing application state. This process can take anywhere from tens of seconds to several minutes. During a sudden traffic spike, this delay causes incoming requests to pile up in queues, leading to severe Service Level Objective (SLO) violations and cold-start latencies.

To bridge this latency gap, a powerful paradigm has emerged: hybrid multi-dimensional autoscaling. By coordinating horizontal scaling with vertical scaling (dynamically adjusting the resource limits of already-running instances) and pairing proactive prediction with reactive fallbacks, modern cloud infrastructure can achieve near-instantaneous resilience without sacrificing resource or energy efficiency.

Vertical Scaling as an Immediate Performance Buffer

The core intuition behind hybrid scaling is a division of labor based on time horizons. While horizontal scaling is slow, vertical scaling is nearly instantaneous. Adjusting local kernel parameters, cgroups, or hardware quotas takes only milliseconds.

When an unexpected traffic spike hits, the system does not wait for new instances to boot. Instead, it uses vertical scaling as an immediate performance buffer. As Anirban Bhattacharjee et al. demonstrate in BARISTA: Efficient and Scalable Serverless Serving System for Deep Learning Prediction Services, dynamically adjusting local compute cores serves as a low-latency defense mechanism to absorb immediate bursts, while horizontal scaling quietly manages long-term capacity in the background.

This mechanism is particularly vital for resource-heavy workloads like deep learning inference. In HAS-GPU: Efficient Hybrid Auto-scaling with Fine-Grained GPU Allocation for SLO-Aware Serverless Inferences, Jianfeng Gu et al. apply this principle to accelerators. By instantly adjusting GPU time quotas and streaming multiprocessor (SM) partitions on active instances, the system handles sudden load spikes without waiting for the slow cold-start times associated with provisioning new GPU-enabled workers.

Dual-Loop Control: Proactive Planning and Reactive Fallbacks

To maximize efficiency, systems cannot rely solely on reactive adjustments; they must plan ahead. However, relying purely on predictive machine learning models leaves infrastructure vulnerable to unexpected anomalies or prediction failures.

The solution is a dual-loop architecture that combines proactive and reactive control:

  1. The Proactive Loop: Uses time-series forecasting or reinforcement learning to anticipate cyclical traffic patterns and strategically provision horizontal capacity ahead of time.
  2. The Reactive Loop: Monitors real-time metrics (like queuing delays or CPU throttling) to trigger immediate vertical overrides when actual traffic deviates from the forecast.

Beomyeol Jeon et al. implement this dual-loop strategy in A House United Within Itself: SLO-Awareness for On-Premises Containerized ML Inference Clusters via Faro, showing that separating long-term strategic planning from short-term burst handling drastically reduces SLO violations. Similarly, Jashwant Raj Gunasekaran et al. show in Fifer: Tackling Resource Underutilization in the Serverless Era that pairing time-series forecasting with a reactive fallback triggered by queuing-delay thresholds strikes an optimal balance between high resource utilization and strict SLO compliance.

This dual-mode approach also provides a safety net for machine learning models. As highlighted by Linfeng Wen et al. in StatuScale: Status-aware and Elastic Scaling Strategy for Microservice Applications, when workload patterns become erratic and predictive models fail, the system can intelligently switch to a stable, control-theory-based reactive loop to mitigate resource waste and maintain performance. A similar robust fallback mechanism is detailed by Yunda Guo et al. in PASS: Predictive Auto-Scaling System for Large-scale Enterprise Web Applications, which pairs ensemble prediction models with a reactive queuing-theory scaler to handle unexpected web traffic events.

The Multi-Dimensional Coordination Challenge

While combining these scaling dimensions is intuitive, executing them in practice introduces a major challenge: controller conflict. If a predictive horizontal controller decides to scale in (remove instances) to save costs at the exact moment a reactive vertical controller tries to scale out (allocate more resources) to handle a transient blip, the two systems will work against each other.

Peng Liu et al. explicitly address these contradictions in Hybrid Elastic Scaling Strategy for Container Cloud based on Load Prediction and Reinforcement Learning, noting that a unified coordination strategy is required to balance resource efficiency against performance degradation risks.

To achieve this unified coordination, researchers have turned to holistic, multi-variable optimization frameworks:

Broadening the Definition of "Vertical" Scaling

As this research direction matures, the definition of vertical scaling has expanded beyond simply modifying hardware allocations like CPU shares or RAM limits. Modern systems treat any local, low-latency configuration change as a vertical scaling dimension.

For instance, Francisco Romero et al. introduce model-level vertical scaling in INFaaS: Automated Model-less Inference Serving. Instead of just altering hardware quotas, the system dynamically switches between different machine learning model variants (e.g., swapping a heavy, highly accurate model for a lighter, faster version) to instantly match fluctuating throughput demands.

In microservice environments, Zibo Wang et al. develop Autothrottle: A Practical Bi-Level Approach to Resource Management for SLO-Targeted Microservices, which uses fine-grained CPU throttling targets as a vertical control mechanism. This decouples application-level SLO monitoring from per-service control, allowing the system to safely harvest idle resources across complex dependency graphs.

Finally, this multi-dimensional flexibility is proving essential for environmental sustainability. In Carbon Containers: A System-level Facility for Managing Application-level Carbon Emissions, John Thiede et al. combine vertical resource scaling with live container migration to enforce strict carbon budgets. When the local power grid becomes carbon-intensive, the system vertically throttles the application's resource intensity or migrates it to a cleaner region, offering a highly flexible alternative to simply pausing execution.

By treating cloud elasticity not as a single lever, but as a coordinated symphony of fast vertical adjustments and deep horizontal capacity planning, modern infrastructure successfully breaks the historical trade-off between performance, cost, and energy efficiency.

Key Foundational Work

Fifer: Tackling Resource Underutilization in the Serverless Era (2020) — contributed 2 concept elements to this direction.
BARISTA: Efficient and Scalable Serverless Serving System for Deep Learning Prediction Services (2019) — contributed 1 concept elements to this direction.
History & citationVersion 1 · 2026-10-04

Current · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_hybrid_resource_scaling_ae3be444,
  title = {hybrid resource scaling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-resource-scaling/rdr_ae3be444f64b44e9b41c45cbd562a66d},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-24},
}

This exact version (version 1, frozen text):

@misc{lacuna_hybrid_resource_scaling_ae3be444_v1,
  title = {hybrid resource scaling},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/hybrid-resource-scaling/rdr_ae3be444f64b44e9b41c45cbd562a66d/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}
About

These directions overlap with this one through shared papers.

See something wrong? Report a mistake