Green or Fast? Learning to Balance Cold Starts and Idle Carbon in Serverless Computing

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Sun, Bowen, Antonopoulos, Christos D., Smirni, Evgenia, Ren, Bin, Bellas, Nikolaos, Lalis, Spyros
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915823145189376
author Sun, Bowen
Antonopoulos, Christos D.
Smirni, Evgenia
Ren, Bin
Bellas, Nikolaos
Lalis, Spyros
author_facet Sun, Bowen
Antonopoulos, Christos D.
Smirni, Evgenia
Ren, Bin
Bellas, Nikolaos
Lalis, Spyros
contents Serverless computing simplifies cloud deployment but introduces new challenges in managing service latency and carbon emissions. Reducing cold-start latency requires retaining warm function instances, while minimizing carbon emissions favors reclaiming idle resources. This balance is further complicated by time-varying grid carbon intensity and varying workload patterns, under which static keep-alive policies are inefficient. We present LACE-RL, a latency-aware and carbon-efficient management framework that formulates serverless pod retention as a sequential decision problem. LACE-RL uses deep reinforcement learning to dynamically tune keep-alive durations, jointly modeling cold-start probability, function-specific latency costs, and real-time carbon intensity. Using the Huawei Public Cloud Trace, we show that LACE-RL reduces cold starts by 51.69% and idle keep-alive carbon emissions by 77.08% compared to Huawei's static policy, while achieving better latency-carbon trade-offs than state-of-the-art heuristic and single-objective baselines, approaching Oracle performance.
format Preprint
id arxiv_https___arxiv_org_abs_2602_23935
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Green or Fast? Learning to Balance Cold Starts and Idle Carbon in Serverless Computing
Sun, Bowen
Antonopoulos, Christos D.
Smirni, Evgenia
Ren, Bin
Bellas, Nikolaos
Lalis, Spyros
Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Performance
Serverless computing simplifies cloud deployment but introduces new challenges in managing service latency and carbon emissions. Reducing cold-start latency requires retaining warm function instances, while minimizing carbon emissions favors reclaiming idle resources. This balance is further complicated by time-varying grid carbon intensity and varying workload patterns, under which static keep-alive policies are inefficient. We present LACE-RL, a latency-aware and carbon-efficient management framework that formulates serverless pod retention as a sequential decision problem. LACE-RL uses deep reinforcement learning to dynamically tune keep-alive durations, jointly modeling cold-start probability, function-specific latency costs, and real-time carbon intensity. Using the Huawei Public Cloud Trace, we show that LACE-RL reduces cold starts by 51.69% and idle keep-alive carbon emissions by 77.08% compared to Huawei's static policy, while achieving better latency-carbon trade-offs than state-of-the-art heuristic and single-objective baselines, approaching Oracle performance.
title Green or Fast? Learning to Balance Cold Starts and Idle Carbon in Serverless Computing
topic Distributed, Parallel, and Cluster Computing
Artificial Intelligence
Performance
url https://arxiv.org/abs/2602.23935