Integrated Horizontal and Vertical Autoscaling for Microservices

This direction is split into other directions: hybrid resource scaling. Its last version stays readable and citable here.

Version 1 of 116 papers23 conceptsfrozen 2026-10-04

In cloud computing, "elasticity" is the ability to match resource supply with fluctuating demand. Traditionally, systems scale in one of two ways: horizontally (adding more replicas of a service) or vertically (giving an existing replica more CPU or RAM).

While horizontal scaling is the industry standard for handling massive traffic, it suffers from a "cold start" problem: provisioning a new virtual machine or container takes time, often leaving users with high latency during the lag. Vertical scaling is nearly instantaneous but is physically capped by the capacity of the host machine. Recent research has converged on a unified approach: Hybrid Autoscaling, which coordinates these two axes to achieve fine-grained, low-latency resource management.

The Latency-Capacity Tradeoff

The core intuition behind hybrid scaling is a division of labor based on response time. Vertical scaling acts as a "shock absorber" for transient spikes, while horizontal scaling provides the "structural support" for sustained load.

As Linfeng Wen, Minxian Xu, and colleagues demonstrate in StatuScale, vertical adjustments are ideal for managing fine-grained fluctuations because they don't require the overhead of booting new instances. However, if a workload continues to grow, the system eventually hits a "bin-packing" limit where a host can no longer grow vertically. At this point, the system must trigger a horizontal expansion.

By coordinating these, researchers like Harold Ship and Asser Tantawi have shown that modeling serverless applications as fluid flows—and optimizing both axes simultaneously—can improve response times by over 300% compared to instance-only scaling (Optimizing simultaneous autoscaling for serverless cloud computing).

Hierarchical Intelligence

Modern microservices are not isolated; they exist in complex dependency graphs. A spike in a "frontend" service might be caused by a bottleneck in a "database" service three layers deep.

To handle this complexity, researchers are moving away from simple threshold-based rules (e.g., "if CPU > 80%, add a node") toward graph-based and reinforcement learning models. Hui Ma and Rajkumar Buyya proposed HGraphScale, which uses a Hierarchical Graph Neural Network to capture dependencies between containers and physical hardware. This allows the system to make "locality-aware" decisions: it prioritizes low-overhead vertical scaling when a host has spare capacity and only incurs the cost of horizontal expansion when physical limits are reached.

Similarly, Siqiao Xue and the team at Ant Group utilize Meta-Reinforcement Learning to predictively scale resources (A Meta Reinforcement Learning Approach for Predictive Autoscaling in the Cloud). By integrating vertical limits (CPU/RAM quotas) into the learning loop, they achieve much tighter resource utilization than frameworks that only adjust instance counts.

Efficiency and Sustainability

Beyond performance, hybrid scaling is a critical tool for "Green AI" and sustainable data centers. When a system only scales horizontally, it often leaves "stranded resources"—small fragments of CPU or memory on various nodes that are too small to host a new instance but represent wasted energy.

Shiyu Wang and Xiaoming Shi developed Full Scaling Automation (FSA), which uses multi-scale forecasting to coordinate these adjustments. By optimizing the "density" of resources within instances alongside the total count, they demonstrated massive reductions in carbon emissions during high-traffic events like shopping festivals.

This granular control extends even to specialized hardware. Jianfeng Gu and Michael Gerndt introduced HAS-GPU, which applies hybrid scaling to GPU resources. By dynamically adjusting GPU time quotas (vertical) and replica counts (horizontal), they reduced function costs by over 10x while maintaining strict service level objectives.

The Path Forward: Proactive Coordination

The frontier of this research lies in robustly combining proactive (prediction-based) and reactive (feedback-based) scaling. As noted in the survey by Minxian Xu et al., the industry is shifting toward "status-aware" systems that can detect when a prediction model is failing and fall back to safe, reactive control theory (Auto-scaling Approaches for Microservice Applications: A Survey and Taxonomy).

Frameworks like OptScaler by Wei Lu and colleagues represent this synthesis, using Model Predictive Control to ensure that even as we push for finer-grained vertical control, the system remains stable under the inherent uncertainty of cloud traffic.

Papers in this version

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_integrated_horizontal_and_vertical_autos_03acbdf3,
  title = {Integrated Horizontal and Vertical Autoscaling for Microservices},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/integrated-horizontal-and-vertical-autoscaling-for-microservices/rdr_03acbdf3196e43dab4509117edd0f9f2},
  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_integrated_horizontal_and_vertical_autos_03acbdf3_v1,
  title = {Integrated Horizontal and Vertical Autoscaling for Microservices},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/integrated-horizontal-and-vertical-autoscaling-for-microservices/rdr_03acbdf3196e43dab4509117edd0f9f2/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-24},
}