Containerizing the PowerAPI Architecture to Estimate Energy Consumption of Software Applications
Daniel Guamán, Alejandra Barco-Blanca, Vanessa Rodríguez-Horcajo, Jennifer Pérez
2025
Abstract
The widespread adoption of cloud architectures and the use of information technologies have a significant impact on software sustainability, particularly in terms of energy consumption. PowerAPI is a toolkit designed to estimate the energy consumption of software applications. It integrates hardware performance counters (HWPC) and SmartWatts formulas to analyze energy usage at different abstraction levels, providing enough accurate estimation metrics to drive an energy-efficient software design. However, its configuration deployment may be complex. In this work, we aim to extend its use by facilitating its deployment. To that end, we present a study that explores the containerization of PowerAPI in two different measurement contexts. From the results of this study, a middleware solution to estimate the energy consumption of software applications, called PowerAPIDocker-Cloud, has been constructed. PowerAPIDocker-Cloud implements a scalable and reproducible energy consumption monitoring process in two different contexts: (i) Java Model-View-Controller (MVC) desktop monolithic applications and (ii) containerized microservices MVC applications written in different programming languages. The experimentation carried out during the study demonstrates the feasible measurement of 29 applications in the first context and 4 applications in the second context. The set of experiments show that PowerAPIDocker-Cloud is a reusable mechanism to easily and effectively estimate the energy consumption of MVC software applications using PowerAPI. In addition, the experiments contribute insights into how to design energy-efficient architectures and to identify resource-efficient programming techniques that can contribute to reduce the environmental impact of MVC software applications in containerized environments.
DownloadPaper Citation
in Harvard Style
Guamán D., Barco-Blanca A., Rodríguez-Horcajo V. and Pérez J. (2025). Containerizing the PowerAPI Architecture to Estimate Energy Consumption of Software Applications. In Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT; ISBN 978-989-758-757-3, SciTePress, pages 327-335. DOI: 10.5220/0013560100003964
in Bibtex Style
@conference{icsoft25,
author={Daniel Guamán and Alejandra Barco-Blanca and Vanessa Rodríguez-Horcajo and Jennifer Pérez},
title={Containerizing the PowerAPI Architecture to Estimate Energy Consumption of Software Applications},
booktitle={Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT},
year={2025},
pages={327-335},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0013560100003964},
isbn={978-989-758-757-3},
}
in EndNote Style
TY - CONF
JO - Proceedings of the 20th International Conference on Software Technologies - Volume 1: ICSOFT
TI - Containerizing the PowerAPI Architecture to Estimate Energy Consumption of Software Applications
SN - 978-989-758-757-3
AU - Guamán D.
AU - Barco-Blanca A.
AU - Rodríguez-Horcajo V.
AU - Pérez J.
PY - 2025
SP - 327
EP - 335
DO - 10.5220/0013560100003964
PB - SciTePress