Concurrency and Computation: Practice and Experience

A Reproducible Predictive Autoscaling Evaluation for Polyglot Kubernetes Microservices Using Residual Recurrent Forecasting

Abdurrahman Osman, Berker Baydan, Ahmet Haşim Yurttakal

Computational

Key points

From the paper's conclusion
  • Overall, the results indicate that the observed advantage over HPA is associated with the complete controller design rather than learned forecasting alone, while predictor choice can still affect performance under some workload conditions.

Abstract

Predictive autoscaling is intended to reduce the delay inherent in reactive resource control, but improvements over the Kubernetes horizontal pod autoscaler (HPA) may arise from differences in scaling signal, capacity estimation, and control policy rather than from forecasting alone. This study examines that distinction on an eight‐service polyglot Kubernetes application implemented in Go, Java/Spring Boot, and Node.js. Residual long short‐term memory (LSTM) and gated recurrent unit (GRU) forecasters are compared with policy‐matched naive persistence and linear extrapolation controllers that use the same telemetry, capacity parameters, decision interval, replica bounds, and cooldown rules. HPA, Static, and Prophet are included as additional references. The evaluation comprises 160 benchmark runs across saturation, burst, ramp, and subsaturation workloads. Under the 400‐VU subsaturation workload, GRU and LSTM reduce client p95 latency by 15.8% and 15.1% relative to HPA, respectively, without a detectable increase in replica‐hours, although both operate at higher CPU utilization. Under 1000‐VU saturation, latency comparisons are confounded by timeout truncation, while GRU and LSTM use 17.5% and 15.4% fewer replica‐hours than HPA. No significant advantage is detected for GRU over naive persistence, whereas GRU outperforms linear extrapolation on client p95 and median latency. The policy‐matched controllers also exhibit similar first‐scale timing. Overall, the results indicate that the observed advantage over HPA is associated with the complete controller design rather than learned forecasting alone, while predictor choice can still affect performance under some workload conditions.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

A Reproducible Predictive Autoscaling Evaluation for Polyglot Kubernetes Microservices Using Residual Recurrent Forecasting — Science Skim