Microservice Autoscaling With Fine-Grained DVFS in Dynamic Multi-Edge Collaboration via Deep Reinforcement Learning

Authors:

Abstract
Microservice architecture has become the mainstream approach for low-latency and robust edge scenarios. In practice, service demands exhibit high temporal variability and concurrency, making efficient autoscaling significantly critical. However, existing research on autoscaling adopts coarse-grained service models that treat instance adjustment and request routing in isolation. This simplification neglects the intricate interdependencies among services, thus undermining the efficacy of autoscaling. In addition, many current autoscaling models do not simultaneously account for autoscaling and dynamic voltage and frequency scaling (DVFS), making it difficult to achieve an effective balance between performance and energy consumption. To overcome these challenges, this paper proposes an autoscaling algorithm that synergistically combines deep reinforcement learning with DVFS. First, we build a multi-instance performance model grounded in queuing theory, formulating microservice autoscaling as an optimization that minimizes both latency and energy consumption. Second, we present the Reinforcement Learning and DVFS Joint Optimization Autoscaling Algorithm (RLDA), which observes system state changes and scales microservice instances in real time while jointly optimizing DVFS. Third, to balance latency and energy consumption, we design the Latency-Constrained Greedy Frequency Scaling Algorithm (LGFS), which adjusts server operating voltage based on deployment scheme. Extensive simulation results demonstrate that under the Twitter traffic pattern, our algorithm achieves comprehensive performance improvements in energy consumption and latency of 37%, 25%, and 29% compared to DRL, ProScale, and PPA, respectively. Under the World Cup traffic pattern, the gains are 33%, 28%, and 23%, respectively.
Funding Information
  • National Natural Science Foundation of China (U25A20435)
  • Key Research and Development Program of Hubei Province (2025BAB051)

This publication has 78 references indexed in Scilit: