A Comprehensive Experimentation Framework for Energy-Efficient Design of Cloud-Native Applications
Sebastian Werner, Maria C. Borges, Karl Wolf, Stefan Tai
TL;DR
The paper addresses the challenge of measuring energy efficiency in cloud-native applications across multiple cloud layers, where traditional metrics like CPU utilization are insufficient. It introduces CLUE, an automated, extensible experimentation framework that combines a cross-layer metric suite with an architecture-centric experiment design to compare design alternatives. The authors demonstrate CLUE on the TeaStore benchmark, evaluating five variants (e.g., Monolith, Serverless, Service Reduction, Runtime Improvement) to reveal how tactics impact energy, cost, latency, and reliability, with results showing both expected and surprising effects depending on workload. CLUE enables early, actionable feedback for developers and supports integration into CI/CD pipelines, though the study notes measurement limitations and calls for broader tooling and architecture coverage to generalize the findings across cloud environments. The work advances practical energy-aware software design for cloud-native systems by providing a unified framework to assess trade-offs across layers and deployment paradigms.
Abstract
Current approaches to designing energy-efficient applications typically rely on measuring individual components using readily available local metrics, like CPU utilization. However, these metrics fall short when applied to cloud-native applications, which operate within the multi-tenant, shared environments of distributed cloud providers. Assessing and optimizing the energy efficiency of cloud-native applications requires consideration of the complex, layered nature of modern cloud stacks. To address this need, we present a comprehensive, automated, and extensible experimentation framework that enables developers to measure energy efficiency across all relevant layers of a cloud-based application and evaluate associated quality trade-offs. Our framework integrates a suite of service quality and sustainability metrics, providing compatibility with any Kubernetes-based application. We demonstrate the feasibility and effectiveness of this approach through initial experimental results, comparing architectural design alternatives for a widely used open-source cloud-native application.
