A Lean Simulation Framework for Stress Testing IoT Cloud Systems

被引:1
作者
Li, Jia [1 ]
Moeini, Behrad [1 ]
Nejati, Shiva [1 ]
Sabetzadeh, Mehrdad [1 ]
McCallen, Michael [1 ,2 ]
机构
[1] Univ Ottawa, Ottawa, ON K1N 6N5, Canada
[2] Cheetah Networks, Ottawa, ON K2K 3G4, Canada
基金
加拿大自然科学与工程研究理事会;
关键词
Simulation-based testing; stress testing; IoT cloud; model-driven engineering; Xtext; MOBILE IOT; FOG; INTERNET; TOOLKIT; THINGS; EDGE;
D O I
10.1109/TSE.2024.3402157
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The Internet of Things (IoT) connects a plethora of smart devices globally across various applications like smart cities, autonomous vehicles, and health monitoring. Simulation plays a key role in the testing of IoT systems, noting that field testing of a complete IoT product may be infeasible or prohibitively expensive. This paper addresses a specific yet important need in simulation-based testing for IoT: Stress testing of cloud systems that are increasingly employed in IoT applications. Existing stress testing solutions for IoT demand significant computational resources, making them ill-suited and costly. We propose a lean simulation framework designed for IoT cloud stress testing. The framework enables efficient simulation of a large array of IoT and edge devices that communicate with the cloud. To facilitate simulation construction for practitioners, we develop a domain-specific language (DSL), named IoTECS, for generating simulators from model-based specifications. We provide the syntax and semantics of IoTECS and implement IoTECS using Xtext and Xtend. We assess simulators generated from IoTECS specifications for stress testing two real-world systems: a cloud-based IoT monitoring system developed by our industry partner and an IoT-connected vehicle system. Our empirical results indicate that simulators created using IoTECS: (1) achieve best performance when configured with Docker containerization; (2) effectively assess the service capacity of our case-study systems, and (3) outperform industrial stress-testing baseline tools, JMeter and Locust, by a factor of 3.5 in terms of the number of IoT and edge devices they can simulate using identical hardware resources. To gain initial insights about the usefulness of IoTECS in practice, we interviewed two engineers from our industry partner who have firsthand experience with IoTECS. Feedback from these interviews suggests that IoTECS is effective in stress testing IoT cloud systems, saving significant time and effort.
引用
收藏
页码:1827 / 1851
页数:25
相关论文
共 76 条
[1]  
Åkesson A, 2019, INT CONF PERVAS COMP, P132, DOI [10.1109/percomw.2019.8730786, 10.1109/PERCOMW.2019.8730786]
[2]   Deployment and communication patterns in microservice architectures: A systematic literature review [J].
Aksakalli, Isil Karabey ;
Celik, Turgay ;
Can, Ahmet Burak ;
Tekinerdogan, Bedir .
JOURNAL OF SYSTEMS AND SOFTWARE, 2021, 180
[3]   Towards User-centric DSLs to Manage IoT Systems [J].
Amrani, Moussa ;
Gilson, Fabian ;
Debieche, Abdelmounaim ;
Englebert, Vincent .
MODELSWARD: PROCEEDINGS OF THE 5TH INTERNATIONAL CONFERENCE ON MODEL-DRIVEN ENGINEERING AND SOFTWARE DEVELOPMENT, 2017, :569-576
[4]  
[Anonymous], Xtend v2.25.0
[5]  
[Anonymous], Wireshark v3.6.0
[6]  
[Anonymous], APACHE JMETER
[7]  
[Anonymous], Ns-3.35
[8]  
[Anonymous], About Us
[9]  
[Anonymous], Omnet++
[10]  
[Anonymous], Xtext v2.25.0