that the choice of the adopted libraries justifies this
behavior. Regarding the metrics related to the net-
work, we observed that the network has a strong in-
fluence on multi-language offloading performance. In
extreme cases, 97% of the offloading time was dedi-
cated only to network operations.
Regarding the results of the mobile device’s en-
ergy consumption, we observed that, in general, en-
ergy consumption is proportional to the task pro-
cessing time. All multi-language solutions showed
lower energy consumption than processing tasks lo-
cally, except in the scenario with 0.3 MP images
in BenchImageGRPC, where remote processing per-
formed worse than local processing. In general, com-
piled languages obtained more significant gains with
MatrixGRPC (between 70% and 96%) and similar
gains with BenchImageGRPC (close to 76%).
As future work, we plan to expand the current
tests to new applications, particularly those that use
machine learning techniques (such as facial detection
apps). We also plan to conduct multi-language of-
floading experiments in D2D (Device-to-Device) sce-
narios by performing, through gRPC, computation of-
floading between Android and iOS smartphones. We
consider comparing the performance of gRPC with
other consolidated offloading frameworks from the
literature and other multi-language frameworks (for
example, Apache Thrift and Cap’n Proto). Finally, we
also intend to explore the native support that gRPC
offers to handle data streaming and evaluate its per-
formance in applications of this type.
ACKNOWLEDGEMENTS
The authors would like to thank The Cear
´
a State
Foundation for the Support of Scientific and Tech-
nological Development (FUNCAP) for the financial
support (6945087/2019) and the National Institute of
Science and Technology for Software Engineering
(INES).
REFERENCES
Ara
´
ujo, M., Maia, M. E. F., Rego, P. A. L., and De Souza,
J. N. (2020). Performance analysis of computational
offloading on embedded platforms using the gRPC
framework. In 8th International Workshop on AD-
VANCEs in ICT Infrastructures and Services (AD-
VANCE 2020), pages 1–8.
Chamas, C. L., Cordeiro, D., and Eler, M. M. (2017). Com-
paring rest, soap, socket and grpc in computation of-
floading of mobile applications: An energy cost analy-
sis. In IEEE 9th Latin-American Conference on Com-
munications (LATINCOM), pages 1–6.
Cisco (2020). Cisco annual internet report (2018–2023)
white paper. Available in: https://www.cisco.com/
c/en/us/solutions/collateral/executive-perspectives/
annual-internet-report/white-paper-c11-741490.
html. Access in: 11-02-2020.
Coulouris, G., Dollimore, J., Kindberg, T., and Blair, G.
(2011). Distributed Systems: Concepts and Design.
Addison-Wesley Publishing Company, 5th edition.
De, D. (2016). Mobile Cloud Computing: Architectures,
Algorithms and Applications. CRC Press, 1st edition.
Doli
´
nska, I., Jakubowski, M., and Masiukiewicz, A. (2017).
Interference comparison in wi-fi 2.4 ghz and 5 ghz
bands. In 2017 International Conference on Informa-
tion and Digital Technologies (IDT), pages 106–112.
Fernando, N., Loke, S., and Rahayu, W. (2013). Mobile
cloud computing: A survey. Future Generation Com-
puter Systems, 29:84–106.
Georgiou, S. and Spinellis, D. (2019). Energy-Delay In-
vestigation of Remote Inter-Process Communication
Technologies. Journal of Systems and Software.
Indrasiri, K. and Kuruppu, D. (2020). gRPC: Up and Run-
ning: Building Cloud Native Applications with Go
and Java for Docker and Kubernetes. O’Reilly Me-
dia, 1st edition.
Jain, R. (1991). The art of computer systems performance
analysis - techniques for experimental design, mea-
surement, simulation, and modeling. Wiley profes-
sional computing. Wiley.
Kumar, K., Liu, J., Lu, Y.-H., and Bhargava, B. (2013). A
survey of computation offloading for mobile systems.
Mobile Networks and Applications, 18.
Mastrangelo, C. (2018). Visualizing grpc language stacks.
Available in: https://grpc.io/blog/grpc-stacks/. Access
in: 11-02-2021.
O’Dea, S. (2021). Number of smartphones sold to end
users worldwide from 2007 to 2021. Available
in: https://www.statista.com/statistics/263437/global-
smartphone-sales-to-end-users-since-2007/. Access
in: 11-02-2021.
Rego, P. A., Costa, P. B., Coutinho, E. F., Rocha, L. S.,
Trinta, F. A., and Souza, J. N. d. (2017). Performing
computation offloading on multiple platforms. Com-
puter Communications, 105(C):1–13.
Sebesta, R. W. (2012). Concepts of Programming Lan-
guages. Pearson, 10th edition.
Silva, F. A., Zaicaner, G., Quesado, E., Dornelas, M., Silva,
B., and Maciel, P. (2016). Benchmark applications
used in mobile cloud computing research: a system-
atic mapping study. The Journal of Supercomputing,
72(4):1431–1452.
CLOSER 2021 - 11th International Conference on Cloud Computing and Services Science
214