skip to main content
10.1145/3539637.3557001acmconferencesArticle/Chapter ViewAbstractPublication PageswebmediaConference Proceedingsconference-collections
research-article

Multi-Language Offloading Service: An Android Service Aimed at Mitigating the Network Consumption During Computation Offloading

Authors Info & Claims
Published:07 November 2022Publication History

ABSTRACT

Computation offloading has been proposed as an efficient technique to mitigate the computational and energy restrictions associated with mobile devices. Previous work has shown that network latency is a challenge for offloading solutions. In the last years, we have seen continuous improvement in mobile device hardware and studies that have pointed to Java’s poor performance compared to other programming languages. This paper proposes a new Android service, called the Multi-Language Offloading Service, that exploits these two aspects to reduce network consumption and indirectly mitigate the latency problem in an offloading scenario. This service scans the local network searching for binaries of server processes, and executes them on the mobile device itself to handle the requests of the client application locally, without depending on the network. We perform tests with real devices and a Java benchmark application that communicates with Rust server processes via the Apache Thrift framework. The results indicate that, when processing tasks that handle large amounts of data, the service reduces up to forty times the network consumption, 86% the task response time, and 25% the energy use of the mobile device.

References

  1. Mateus Araújo, Marcio E F Maia, Paulo A. L. Rego, and Jose N De Souza. 2020. Performance analysis of computational offloading on embedded platforms using the gRPC framework. In 8th International Workshop on ADVANCEs in ICT Infrastructures and Services (ADVANCE 2020). 1–8.Google ScholarGoogle Scholar
  2. Marco Couto, Rui Pereira, Francisco Ribeiro, Rui Rua, and João Saraiva. 2017. Towards a Green Ranking for Programming Languages. In Proceedings of the 21st Brazilian Symposium on Programming Languages (Fortaleza, CE, Brazil) (SBLP 2017). Association for Computing Machinery, New York, NY, USA, Article 7, 8 pages. https://doi.org/10.1145/3125374.3125382Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Filipe F. S. B. de Matos, Paulo A. L. Rego, and Fernando A. M. Trinta. 2021. An Empirical Study about the Adoption of Multi-language Technique in Computation Offloading in a Mobile Cloud Computing Scenario. In Proceedings of the 11th International Conference on Cloud Computing and Services Science - CLOSER,. INSTICC, SciTePress, 207–214. https://doi.org/10.5220/0010437802070214Google ScholarGoogle Scholar
  4. Gabriel B. Dos Santos, Fernando A. M. Trinta, Paulo A. L. Rego, Francisco A. Silva, and José N. De Souza. 2018. Performance and Energy Consumption Evaluation of Computation Offloading Using CAOS D2D. In 2018 IEEE Global Communications Conference (GLOBECOM). 1–7. https://doi.org/10.1109/GLOCOM.2018.8647732Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Samsung for Business. 2021. Your phone is now more powerful than your PC. Disponível em: https://insights.samsung.com/2021/08/19/your-phone-is-now-more-powerful-than-your-pc-3/. Acessado em: 04-06-2022.Google ScholarGoogle Scholar
  6. Stefanos Georgiou, Maria Kechagia, Panos Louridas, and Diomidis Spinellis. 2018. What are Your Programming Language’s Energy-Delay Implications?. In 2018 IEEE/ACM 15th International Conference on Mining Software Repositories (MSR). 303–313.Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Stefanos Georgiou and Diomidis Spinellis. 2019. Energy-Delay investigation of Remote Inter-Process communication technologies. Journal of Systems and Software (Dec. 2019). https://doi.org/10.1016/j.jss.2019.110506Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. G.H. Golub and C.F. Van Loan. 2013. Matrix Computations. Johns Hopkins University Press. https://books.google.com.br/books?id=X5YfsuCWpxMCGoogle ScholarGoogle Scholar
  9. Francisco A. A. Gomes, Paulo A. L. Rego, Lincoln Rocha, José N. de Souza, and Fernando Trinta. 2017. CAOS: A Context Acquisition and Offloading System. In 2017 IEEE 41st Annual Computer Software and Applications Conference (COMPSAC), Vol. 1. 957–966. https://doi.org/10.1109/COMPSAC.2017.80Google ScholarGoogle Scholar
  10. Xin Guo, Chongwu Dong, and Wushao Wen. 2021. Dynamic Computation Offloading Strategy with DNN Partitioning in D2D Multi-Hop Networks. In 2021 9th International Conference on Communications and Broadband Networking(Shanghai, China) (ICCBN 2021). Association for Computing Machinery, New York, NY, USA, 172–178. https://doi.org/10.1145/3456415.3457224Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Matias Hirsch, Cristian Mateos, Alejandro Zunino, Tim A Majchrzak, Tor-Morten Grønli, and Hermann Kaindl. 2021. A simulation-based performance evaluation of heuristics for dew computing. 54th Hawaii International Conference on System Sciences (2021). http://hdl.handle.net/10125/71489Google ScholarGoogle ScholarCross RefCross Ref
  12. Sebastian Nanz and Carlo A. Furia. 2015. A Comparative Study of Programming Languages in Rosetta Code. In 2015 IEEE/ACM 37th IEEE International Conference on Software Engineering, Vol. 1. 778–788. https://doi.org/10.1109/ICSE.2015.90Google ScholarGoogle ScholarCross RefCross Ref
  13. Quang-Huy Nguyen and Falko Dressler. 2020. A Smartphone Perspective on Computation Offloading – A Survey. Elsevier Computer Communications 159 (6 2020), 133–154. https://doi.org/10.1016/j.comcom.2020.05.001Google ScholarGoogle ScholarCross RefCross Ref
  14. Wellington Oliveira, Renato Oliveira, and Fernando Castor. 2017. A study on the energy consumption of Android app development approaches. In Proceedings of the 14th International Conference on Mining Software Repositories, MSR 2017, Buenos Aires, Argentina, May 20-28, 2017. IEEE Computer Society, 42–52. https://doi.org/10.1109/MSR.2017.66Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Mittal K. Pedhadiya, Rakesh Kumar Jha, and Hetal G. Bhatt. 2019. Device to device communication: A survey. Journal of Network and Computer Applications 129 (2019), 71–89. https://doi.org/10.1016/j.jnca.2018.10.012Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Rui Pereira, Marco Couto, Francisco Ribeiro, Rui Rua, Jácome Cunha, João Paulo Fernandes, and João Saraiva. 2021. Ranking programming languages by energy efficiency. Science of Computer Programming 205 (2021), 102609. https://doi.org/10.1016/j.scico.2021.102609Google ScholarGoogle ScholarCross RefCross Ref
  17. Helder. Vasconcelos. 2016. Asynchronous Android Programming(2nd ed.). Packt Publishing.Google ScholarGoogle Scholar
  18. Jianyu Wang, Jianli Pan, Flavio Esposito, Prasad Calyam, Zhicheng Yang, and Prasant Mohapatra. 2019. Edge Cloud Offloading Algorithms: Issues, Methods, and Perspectives. ACM Comput. Surv. 52, 1, Article 2 (feb 2019), 23 pages. https://doi.org/10.1145/3284387Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Multi-Language Offloading Service: An Android Service Aimed at Mitigating the Network Consumption During Computation Offloading

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        WebMedia '22: Proceedings of the Brazilian Symposium on Multimedia and the Web
        November 2022
        389 pages
        ISBN:9781450394093
        DOI:10.1145/3539637

        Copyright © 2022 ACM

        Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 7 November 2022

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

        Acceptance Rates

        Overall Acceptance Rate270of873submissions,31%
      • Article Metrics

        • Downloads (Last 12 months)20
        • Downloads (Last 6 weeks)0

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader

      HTML Format

      View this article in HTML Format .

      View HTML Format