Energy Patterns for Web: An Exploratory Study

Pooja Rani*, Jonas Zellweger*, Veronika Kousadianos, Luis Cruz, Timo Kehrer, Alberto Bacchelli*

*Corresponding author for this work

Research output: Chapter in Book/Conference proceedings/Edited volumeConference contributionScientificpeer-review

Abstract

As the energy footprint generated by software is increasing at an alarming rate, understanding how to develop energy-efficient applications has become a necessity. Previous work has introduced catalogs of coding practices, also known as energy patterns. These patterns are yet limited to Mobile or third-party libraries. In this study, we focus on the Web domain-a main source of energy consumption. First we investigated whether and how Mobile energy patterns can be ported to this domain and found that 20 patterns could be ported. Then, we interviewed six expert web developers from different companies to challenge the ported patterns. Most developers expressed concerns for antipatterns, specifically with functional antipatterns, and were able to formulate guidelines to locate these patterns in the source code. Finally, to quantify the effect of Web energy patterns on energy consumption, we set up an automated pipeline to evaluate two ported patterns: 'Dynamic Retry Delay' (DRD) and 'Open Only When Necessary' (OOWN). With this, we found no evidence that the DRD pattern consumes less energy than its antipattern, while the opposite is true for OOWN. Data and Material: https://doi.org/10.5281/zenodo.8404487.

Original languageEnglish
Title of host publicationProceedings - 2024 ACM/IEEE 46th International Conference on Software Engineering
Subtitle of host publicationSoftware Engineering in Society, ICSE-SEIS 2024
PublisherIEEE
Pages12-22
Number of pages11
ISBN (Electronic)9798400704994
DOIs
Publication statusPublished - 2024
Event46th ACM/IEEE International Conference on Software Engineering: Software Engineering in Society, ICSE-SEIS 2024 - Lisbon, Portugal
Duration: 14 Apr 202420 Apr 2024

Publication series

NameProceedings - International Conference on Software Engineering
ISSN (Print)0270-5257

Conference

Conference46th ACM/IEEE International Conference on Software Engineering: Software Engineering in Society, ICSE-SEIS 2024
Country/TerritoryPortugal
CityLisbon
Period14/04/2420/04/24

Keywords

  • Coding Practices
  • Energy consumption
  • Energy patterns
  • Green Software Engineering
  • Software sustainability
  • Web applications

Fingerprint

Dive into the research topics of 'Energy Patterns for Web: An Exploratory Study'. Together they form a unique fingerprint.

Cite this