An Energy Efficiency Study of Web-Based Communication in Android Phones
Open Access
- 4 April 2019
- journal article
- research article
- Published by Wiley in Scientific Programming
- Vol. 2019, 1-19
Abstract
Currently, mobile devices are the most popular pervasive computing devices, and they are becoming the primary way for accessing Internet. Battery is a critical resource in such personal computing gadgets, network communications being one of the primary energy consuming activities in any mobile app. Indeed, as web-based communication is the most used explicitly or implicitly by mobile devices, HTTP-based traffic is the most power demanding one. So, mobile web developers should be aware of how much energy demands the different web-based communication alternatives. The goal of this paper is to measure and compare the energy consumption of three asynchronous HTTP-based methods in mobile devices in different browsers. Our experiments focus on three HTTP-based asynchronous communication models that allow a web server to push data to a client browser through a HTTP/1.1 interaction: Polling, Long Polling, and WebSockets. The resulted measurements are then analysed to get more accurate understanding of the impact of the selected method, and the mobile browser, in the energy consumption of the asynchronous HTTP-based communication. The utility of these experiments is to show developers what are the factors and settings that mostly influence the energy consumption when different web-based asynchronous communication methods are used, helping them to choose the most beneficial solution if possible. With this information, mobile web developers should be able to reduce the power consumption of the front-end of web applications for mobile devices, just selecting and configuring the best asynchronous method or mobile browser, improving the performance of HTTP-based communication in terms of energy demand.Keywords
Funding Information
- European Regional Development Fund (Magic P12-TIC1814, HADAS TIN2015-64841-R)
- European Regional Development Fund (Magic P12-TIC1814, HADAS TIN2015-64841-R)
- Universidad de Málaga (Magic P12-TIC1814, HADAS TIN2015-64841-R)
This publication has 11 references indexed in Scilit:
- On the impact of code smells on the energy consumption of mobile applicationsInformation and Software Technology, 2019
- How does docker affect energy consumption? Evaluating workloads in and out of Docker containersJournal of Systems and Software, 2018
- GreenScaler: training software energy models with automatic test generationEmpirical Software Engineering, 2018
- An exploratory study on assessing the energy impact of logging on Android applicationsEmpirical Software Engineering, 2017
- A Large-Scale, Long-Term Analysis of Mobile Device Usage CharacteristicsProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 2017
- Automated energy optimization of HTTP requests for mobile applications2016
- Studying the Energy Consumption in Mobile DevicesProcedia Computer Science, 2016
- Modeling, Profiling, and Debugging the Energy Consumption of Mobile DevicesACM Computing Surveys, 2015
- Communicating and Displaying Real-Time Data with WebSocketIEEE Internet Computing, 2012
- Impacts of data interchange formats on energy consumption and performance in smartphones2011