journal article·2022-05-21Open access

Investigation of Performance and Configuration of a Selected IoT System—Middleware Deployment Benchmarking and Recommendations

Robert Kałaska, Paweł Czarnul

Applied Sciences· Volume 12· Issue 10

Abstract

Nowadays Internet of Things is gaining more and more focus all over the world. As a concept it gives many opportunities for applications for society and it is expected that the number of software services deployed in this area will still grow fast. Especially important in this context are properties connected with deployment such as portability, scalability and balance between software requirements and hardware capabilities. In this article, we present results of practical tests with multiple clients representing sensors sending notifications to an IoT middleware—DeviceHive. Firstly, we investigate performance using two deployment configurations—containerized and bare-metal showing small overhead of the former under different loads by various numbers of IoT clients. We present scaling of the middleware on the server side using various numbers of cores as well as HyperThreading for all aforementioned configurations. Furthermore, we also investigated how containarization affects performance when the system is scaled with various numbers of nodes each using a predefined number of cores, considering memory usage of various configurations. The latter could be found useful when assigning cores to Docker nodes in cloud environments.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: IoT and Edge/Fog Computing · Cloud Computing and Resource Management · Software System Performance and Reliability

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Faculty of Electronics, Telecommunications and Informatics, Gdańsk University of Technology, Narutowicza 11/12, 80-392 Gdańsk, Poland

References (44)

Show source-provided references
1. Dearle, A. (2007, January 23–25). Software Deployment, Past, Present and Future. Proceedings of the Future of Software Engineering (FOSE ’07), Minneapolis, MN, USA.10.1109/FOSE.2007.20 ↗
2. Shivakumar, S.K. (2015). Architecting High Performing, Scalable and Available Enterprise Web Applications, Morgan Kaufmann.10.1016/B978-0-12-802258-0.00001-9 ↗
3. Harkut, D.G., Kasat, K.N., and Shah, S.A. (2019). Cloud Application Portability: Issues and Developments. Cloud Computing, IntechOpen. Chapter 4.
4. Czarnul, P., Gołaszewski, G., Jereczek, G., and Maciejewski, M. (2020, January 5–8). Development and benchmarking a parallel Data AcQuisition framework using MPI with hash and hash+tree structures in a cluster environment. Proceedings of the 2020 19th International Symposium on Parallel and Distributed Computing (ISPDC), Warsaw, Poland.10.1109/ISPDC51135.2020.00031 ↗
5. Docker [Software engineering]10.1109/MS.2015.62 ↗
6. Performance Evaluation of Docker Container and Virtual Machine10.1016/j.procs.2020.04.152 ↗
7. Beserra, D., Moreno, E.D., Endo, P.T., Barreto, J., Sadok, D., and Fernandes, S. (2015, January 8–10). Performance Analysis of LXC for HPC Environments. Proceedings of the 2015 Ninth International Conference on Complex, Intelligent, and Software Intensive Systems, Santa Catarina, Brazil.10.1109/CISIS.2015.53 ↗
8. Beserra, D., Pinheiro, M.K., Souveyet, C., Steffenel, L.A., and Moreno, E.D. (2017, January 27–29). Performance Evaluation of OS-Level Virtualization Solutions for HPC Purposes on SoC-Based Systems. Proceedings of the 2017 IEEE 31st International Conference on Advanced Information Networking and Applications (AINA), Taipei, Taiwan.10.1109/AINA.2017.73 ↗
9. Containers for Virtualization: An Overview10.2478/acss-2018-0003 ↗
10. Docker Containers Usage in the Internet of Things: A Survey
11. Orchestration of Microservices for IoT Using Docker and Edge Computing10.1109/MCOM.2018.1701233 ↗
12. Ismail, B.I., Mostajeran Goortani, E., Ab Karim, M.B., Ming Tat, W., Setapa, S., Luke, J.Y., and Hong Hoe, O. (2015, January 24–26). Evaluation of Docker as Edge computing platform. Proceedings of the 2015 IEEE Conference on Open Systems (ICOS), Melaka, Malaysia.10.1109/ICOS.2015.7377291 ↗
13. Measure The IoT Framework Using Docker With Fog Computing
14. Virtualization Costs: Benchmarking Containers and Virtual Machines Against Bare-Metal10.1007/s42979-021-00781-8 ↗
15. von Leon, D., Miori, L., Sanin, J., El Ioini, N., Helmer, S., and Pahl, C. (2019). A Lightweight Container Middleware for Edge Cloud Architectures. Fog and Edge Computing, John Wiley & Sons, Ltd.. Chapter 7.10.1002/9781119525080.ch7 ↗
16. Agarwal, P., and Alam, M. (2019). Investigating IoT Middleware Platforms for Smart Application Development. arXiv.10.1007/978-981-15-2545-2_21 ↗
17. Ismail, A.A., Hamza, H.S., and Kotb, A.M. (2018, January 5–7). Performance Evaluation of Open Source IoT Platforms. Proceedings of the 2018 IEEE Global Conference on Internet of Things (GCIoT), Alexandria, Egypt.10.1109/GCIoT.2018.8620130 ↗
18. Performance evaluation of IoT middleware10.1016/j.jnca.2018.02.013 ↗
19. Reliability modelling and sensitivity analysis of IoT based flood alerting system10.1108/JQME-01-2020-0001 ↗
20. Ur-Rehman, A., Gondal, I., Kamruzzaman, J., and Jolfaei, A. (2022). Sensitivity Analysis for Vulnerability Mitigation in Hybrid Networks. Electronics, 11.10.3390/electronics11020238 ↗
21. Performance analysis of multi services on container Docker, LXC, and LXD10.11591/eei.v9i5.1953 ↗
22. Felter, W., Ferreira, A., Rajamony, R., and Rubio, J. (2015, January 29–31). An updated performance comparison of virtual machines and Linux containers. Proceedings of the 2015 IEEE International Symposium on Performance Analysis of Systems and Software (ISPASS), Philadelphia, PA, USA.10.1109/ISPASS.2015.7095802 ↗
23. Design and implementation of a container-based virtual client architecture for interactive digital signage systems10.1177/1550147717717864 ↗
24. Noor, S., Koehler, B., Steenson, A., Caballero, J., Ellenberger, D., and Heilman, L. (2020). IoTDoc: A Docker-Container Based Architecture of IoT-Enabled Cloud System. Big Data, Cloud Computing, and Data Science Engineering, Springer International Publishing.10.1007/978-3-030-24405-7_4 ↗
25. Islam, J., Harjula, E., Kumar, T., Karhula, P., and Ylianttila, M. (2019, January 28–30). Docker Enabled Virtualized Nanoservices for Local IoT Edge Networks. Proceedings of the 2019 IEEE Conference on Standards for Communications and Networking (CSCN), Granada, Spain.10.1109/CSCN.2019.8931321 ↗
26. Container Based Resource Management for Data Processing on IoT Gateways10.1016/j.procs.2019.08.034 ↗
27. Evaluating Performance of Containerized IoT Services for Clustered Devices at the Network Edge10.1109/JIOT.2017.2714638 ↗
28. Morabito, R. (2016, January 10–14). A performance evaluation of container technologies on Internet of Things devices. Proceedings of the 2016 IEEE Conference on Computer Communications Workshops (INFOCOM WKSHPS), San Francisco, CA, USA.10.1109/INFCOMW.2016.7562228 ↗
29. Ruchika (2016). Evaluation of Docker for IoT Application. Int. J. Recent Innov. Trends Comput. Commun., 4, 624–628.
30. Chung, M.T., Quang-Hung, N., Nguyen, M.T., and Thoai, N. (2016, January 27–29). Using Docker in high performance computing applications. Proceedings of the 2016 IEEE Sixth International Conference on Communications and Electronics (ICCE), Ha-Long, Vietnam.10.1109/CCE.2016.7562612 ↗
31. Saha, P., Beltre, A., Uminski, P., and Govindaraju, M. (2019). Evaluation of Docker Containers for Scientific Workloads in the Cloud. arXiv.10.1145/3219104.3229280 ↗
32. Rezende Alles, G., Carissimi, A., and Mello Schnorr, L. (2018, January 1–3). Assessing the Computation and Communication Overhead of Linux Containers for HPC Applications. Proceedings of the 2018 Symposium on High Performance Computing Systems (WSCAD), Sao Paulo, Brazil.10.1109/WSCAD.2018.00027 ↗
33. Kałaska, R., and Czarnul, P. (2021, January 1–2). Benchmarking Scalability and Security Configuration Impact for A Distributed Sensors-Server IOT Use Case. Proceedings of the 37th IBIMA Conference, Cordoba, Spain.
34. Shopov, M.P. (June, January 30). An M2M solution for smart metering in electrical power systems. Proceedings of the 2016 39th International Convention on Information and Communication Technology, Electronics and Microelectronics (MIPRO), Opatija, Croatia.10.1109/MIPRO.2016.7522311 ↗
35. Lyaskov, M., Spasov, G., and Petrova, G. (2017, January 13–15). A practical implementation of smart home energy data storage and control application based on cloud services. Proceedings of the 2017 XXVI International Scientific Conference Electronics (ET), Sozopol, Bulgaria.10.1109/ET.2017.8124387 ↗
36. (2022, April 26). Microservices Adoption in 2020. Available online: https://www.oreilly.com/radar/microservices-adoption-in-2020/.
37. (2022, April 26). SiteWhere Documentation. Available online: https://sitewhere.io/docs/2.1.0/platform/.
38. (2022, April 26). ThingsBoard Documentation. Available online: https://thingsboard.io/docs/getting-started-guides/helloworld/.
39. (2022, April 26). DeviceHive Documentation. Available online: https://github.com/devicehive/devicehive-java-server/wiki/Getting-started.
40. Czarnul, P. (2018). Parallel Programming for Modern High Performance Computing Systems, Chapman and Hall/CRC Press/Taylor & Francis.10.1201/b22395 ↗
41. Czarnul, P. (2021). Assessment of OpenMP Master–Slave Implementations for Selected Irregular Parallel Applications. Electronics, 10.10.3390/electronics10101188 ↗
42. (2022, February 10). Amir Radwat. Testing the Performance of NGINX and NGINX PlusWeb Servers. Available online: https://www.nginx.com/blog/testing-the-performance-of-nginx-and-nginx-plus-web-servers/.
43. (2022, April 26). DeviceHive Homepage. Available online: https://devicehive.com.
44. Krzywaniak, A., Czarnul, P., and Proficz, J. (2019, January 15–19). Extended investigation of performance-energy trade-offs under power capping in HPC environments. Proceedings of the 17th International Conference on High Performance Computing & Simulation, HPCS 2019, Dublin, Ireland.10.1109/HPCS48598.2019.9188149 ↗