Comparing REST, SOAP, Socket and gRPC in computation offloading of mobile applications: An energy cost analysis

Carolina Luiza Chamas, Daniel Cordeiro, M. Eler
{"title":"Comparing REST, SOAP, Socket and gRPC in computation offloading of mobile applications: An energy cost analysis","authors":"Carolina Luiza Chamas, Daniel Cordeiro, M. Eler","doi":"10.1109/LATINCOM.2017.8240185","DOIUrl":null,"url":null,"abstract":"There has been a high concern regarding the energy saving on mobile devices recently, for mobile devices have been performing increasingly complex tasks over time. The computation offloading is one of the most popular techniques used by developers as an effective way of saving energy on mobile devices, which consists on executing complex tasks in external servers with different purposes including save energy. Deciding towards offloading certain tasks requires to understand the influence of the amount of data, amount of computation, and the network profile. Several studies have investigated the influence of different wireless flavours, such as 3G, 4G and wifi, but no study has investigated the influence of the communication choices on the energy cost. Therefore, in this paper, we present an experiment we conducted to evaluate the energy consumption of different communication protocols and architectural styles, namely REST, SOAP, Socket and gRPC, when executing algorithms of different complexities and different input sizes and types. Results show that local execution is more economic with less complex algorithms and small input data. When it comes to remote execution, REST is the most economic choice followed by Socket. Moreover, our data show that computation offloading can save up to 10 time as much energy when compared to local execution for some executions configurations.","PeriodicalId":190644,"journal":{"name":"2017 IEEE 9th Latin-American Conference on Communications (LATINCOM)","volume":"33 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"12","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE 9th Latin-American Conference on Communications (LATINCOM)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/LATINCOM.2017.8240185","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 12

Abstract

There has been a high concern regarding the energy saving on mobile devices recently, for mobile devices have been performing increasingly complex tasks over time. The computation offloading is one of the most popular techniques used by developers as an effective way of saving energy on mobile devices, which consists on executing complex tasks in external servers with different purposes including save energy. Deciding towards offloading certain tasks requires to understand the influence of the amount of data, amount of computation, and the network profile. Several studies have investigated the influence of different wireless flavours, such as 3G, 4G and wifi, but no study has investigated the influence of the communication choices on the energy cost. Therefore, in this paper, we present an experiment we conducted to evaluate the energy consumption of different communication protocols and architectural styles, namely REST, SOAP, Socket and gRPC, when executing algorithms of different complexities and different input sizes and types. Results show that local execution is more economic with less complex algorithms and small input data. When it comes to remote execution, REST is the most economic choice followed by Socket. Moreover, our data show that computation offloading can save up to 10 time as much energy when compared to local execution for some executions configurations.
比较REST, SOAP, Socket和gRPC在移动应用程序的计算卸载:能源成本分析
随着时间的推移,移动设备执行的任务越来越复杂,移动设备的节能问题最近受到了人们的高度关注。计算卸载是开发人员在移动设备上使用的最流行的技术之一,它是一种有效的节能方法,它包括在具有不同目的的外部服务器上执行复杂的任务,包括节能。决定是否卸载某些任务需要了解数据量、计算量和网络配置文件的影响。有几项研究调查了3G、4G和wifi等不同无线技术的影响,但没有一项研究调查了通信选择对能源成本的影响。因此,在本文中,我们进行了一项实验,以评估不同通信协议和架构风格,即REST, SOAP, Socket和gRPC,在执行不同复杂性和不同输入大小和类型的算法时的能耗。结果表明,局部执行具有较低的算法复杂度和较小的输入数据量。当涉及到远程执行时,REST是最经济的选择,其次是Socket。此外,我们的数据显示,对于某些执行配置,与本地执行相比,计算卸载可以节省多达10倍的能量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信