Abstract
The number of mobile devices is rapidly outgrowing the current world population, making them the most popular medium to communicate and share information. In addition, applications that enable communication and data sharing still heavily rely on centralized networks. We believe that this problem is mainly due to the lack of tools to help programmers develop and test applications with many devices in edge environments.
To help programmers develop and test such distributed applications, we propose EdgeEmu, an Android distributed emulation testbed for mobile applications. EdgeEmu supports a high number of Android emulators participating in a large network by allowing them to remotely participate in the emulation, thus removing the scalability bottleneck that current Android testing infrastructure has. EdgeEmu is, therefore, not limited to locally deployed emulators as opposed to the standard Android SDK.
To study the performance of EdgeEmu, extensive evaluation through different scenarios has been conducted. Results demonstrate that EdgeEmu outperforms the standard Android SDK by approximately 59.1% in terms of emulation startup time when ten Android emulators are used. Evaluations also show promising results for low latency and negligible overhead when sending messages to and from different emulators.
Supported by Department of Informatics, University of Oslo. Artifacts available in https://doi.org/10.5281/zenodo.7889579.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
Notes
- 1.
In our paper, the term edge network represents a special case of ad-hoc networks that targets mobile devices that are co-located and involved in social interactions.
References
W3Techs: GSMA intelligence. Accessed Feb 2023. https://www.gsmaintelligence.com
STATISTICA: Mobile internet usage worldwide - statistics and facts. Accessed Feb 2023. https://www.statista.com/topics/779/mobile-internet
Baek, S., Ahn, J., Kim, D.: Future business model for mobile cloud gaming: the case of South Korea and implications. IEEE Communications Magazine, pp. 1–7 (2023)
Kaisar, S., Kamruzzaman, J., Karmakar, G., Rashid, M,M.: Decentralized content sharing in mobile ad-hoc networks: a survey, Digital Communications and Networks (2022)
Wi-Fi Alliance: Portable Wi-Fi that goes with you anywhere. Accessed Feb 2023. https://www.wi-fi.org/discover-wi-fi/wi-fi-direct
Google: Android studio the official integrated development environment (ide) for android app development. Accessed Feb 2023. https://developer.android.com/studio
Google: Android standard development kit. Accessed Feb 2023. https://developer.android.com/studio
NS-2: The network simulator - NS-2. Accessed Feb 2023. https://nsnam.sourceforge.net/wiki/index.php/Main_Page
Wetherall, D.: OTcl - MIT object Tcl. Accessed Feb 2023. https://otcl-tclcl.sourceforge.net/otcl/
NS-3: ND-3 network simulator. Accessed Feb 2023. https://www.nsnam.org
Bajaj, L., Takai, M., Ahuja, R., Tang, K., Bagrodia, R., Gerla, M.: Glomosim: A scalable network simulation environment. UCLA computer science department technical report (1999)
OMNeT++: OMNeT++ discrete event simulator. Accessed Feb 2023. https://omnetpp.org
J-Sim: J-Sim network simulator. Accessed Feb 2023. https://www.kiv.zcu.cz/j-sim/
OPNET Optimum Network Performance: OPNET network simulator. Accessed Feb 2023. https://opnetprojects.com/opnet-network-simulator/
Chengetanai, G., O’Reilly, G.B.: Survey on simulation tools for wireless mobile ad hoc networks. In: IEEE International Conference on Electrical, Computer and Communication Technologies (2015)
Mallapur, S., Patil, S.: Survey on simulation tools for mobile ad-hoc networks. RACST - Int. J. Comput. Netw. Wirel. Commun. 2(2), 2250–3501 (2012)
Imran, M., Said, A.M., Hasbullah, H.: A survey of simulators, emulators and testbeds for wireless sensor networks. In: International Symposium on Information Technology (2010)
Enrico, C., Renzo, D.: The netwire emulator: a tool for teaching and understanding networks. SIGCSE Bull. 33(3), 153–156 (2001)
Markus, A., Kertesz, A.: A survey and taxonomy of simulation environments modelling fog computing. Simulation Modelling Practice and Theory, vol. 101, p. 102042, 2020, modeling and Simulation of Fog Computing. https://www.sciencedirect.com/science/article/pii/S1569190X1930173X
Zeng, Y., Chao, M., Stoleru, R.: EmuEdge: a hybrid emulator for reproducible and realistic edge computing experiments. In: 2019 IEEE International Conference on Fog Computing (ICFC), June 2019, pp. 153–164 (2019)
Calheiros, R.N., Ranjan, R., Beloglazov, A., De Rose, C.A.F., Buyya, R.: Cloudsim: A toolkit for modeling and simulation of cloud computing environments and evaluation of resource provisioning algorithms. Softw. Pract. Exper. 41(1), 23–50 (2011). https://doi.org/10.1002/spe.995
Sonmez, C., Ozgovde, A., Ersoy, C.: Edgecloudsim: An environment for performance evaluation of edge computing systems. In: Second International Conference on Fog and Mobile Edge Computing (FMEC), 2017, pp. 39–44 (2017)
Fiandrino, C., Capponi, A., Cacciatore, G., Kliazovich, D., Sorger, U., Bouvry, P., Kantarci, B., Granelli, F., Giordano, S.: Crowdsensim: a simulation platform for mobile crowdsensing in realistic urban environments. IEEE Access 5, 3490–3503 (2017)
Ganti, R.K., Ye, F., Lei, H.: Mobile crowdsensing: current state and future challenges. IEEE Commun. Mag. 49(11), 32–39 (2011)
Google: Monkeyrunner user guide. Accessed Feb 2023. https://developer.android.com/studio/test/monkeyrunner
JS Foundation: Appium automation for apps. Accessed Feb 2023. https://appium.io
Open Source: Expresso framwork. Accessed Feb 2023. https://developer.android.com/training/testing/espresso
RobotiumTech: Robotium user scenario testing for android. Accessed Feb 2023. https://github.com/RobotiumTech/robotium
Gunasekaran, S., Bargavi, V.: Survey on automation testing tools for mobile applications. Int. J. Adv. Eng. Res. Sci. 2(11), 2349–6495 (2015)
Bruno, R., Santos, N., Ferreira, P.: Termite: emulation testbed for encounter networks. In: Mobiquitous 2015 Proceedings of the 12th EAI International Conference on Mobile and Ubiquitous System: Computing, pp. 31–40 (2015)
Santos, N., Ferreira, P., Bruno, R.: Termite: Emulation testbed for encounter networks. Accessed Feb 2023. https://nuno-santos.github.io/termite/index.html
Android-x86: Android-x86 - run android on your PC. Accessed Feb 2023. https://www.android-x86.org/
Apache CloudStack: Apache CloudStack - open source cloud computing. Accessed Feb 2023. https://cloudstack.apache.org/
Open Source Cloud Computing Infrastructure. Accessed Feb 2023. https://www.openstack.org/
Google: Create and manage virtual devices. Accessed Feb 2023. https://developer.android.com/studio/run/managing-avds
Google: Set up android emulator networking. Accessed Feb 2023. https://developer.android.com/studio/run/emulator-networking
Pam: Java Mobile Applications Development, November 2021. https://www.webiotic.com/java-mobile-applications-development-what-you-need-to-know/
Google: Google maps platform documentation. Accessed Feb 2023. https://developers.google.com/maps/documentation
Coast, S.: OpenStreetMap Wiki. Accessed Feb 2023. https://wiki.openstreetmap.org/wiki/Main_Page
Google: Android API levels. Accessed Feb 2023. https://apilevels.com/
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 IFIP International Federation for Information Processing
About this paper
Cite this paper
Vijouyeh, L.N., Bruno, R., Ferreira, P. (2023). EdgeEmu - Emulator for Android Edge Devices. In: Patiño-Martínez, M., Paulo, J. (eds) Distributed Applications and Interoperable Systems. DAIS 2023. Lecture Notes in Computer Science, vol 13909. Springer, Cham. https://doi.org/10.1007/978-3-031-35260-7_7
Download citation
DOI: https://doi.org/10.1007/978-3-031-35260-7_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-35259-1
Online ISBN: 978-3-031-35260-7
eBook Packages: Computer ScienceComputer Science (R0)