arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.11542cs.SE
收藏

一个用于压力测试物联网云系统的精简仿真框架

A Lean Simulation Framework for Stress Testing IoT Cloud Systems

Jia Li, Behrad Moeini, Shiva Nejati, Mehrdad Sabetzadeh, Michael McCallen

AI总结:

本文提出了一个用于物联网云系统压力测试的精简仿真框架及配套领域特定语言IoTECS,能高效模拟大量设备,性能优于JMeter和Locust 3.5倍,并获工业界认可。

摘要:

物联网在全球范围内连接了大量智能设备,应用于智慧城市、自动驾驶汽车和健康监测等多个领域。仿真在物联网系统测试中发挥着关键作用,因为对完整的物联网产品进行现场测试可能不可行或成本过高。本文探讨了物联网基于仿真的测试中一个特定但重要的需求:云系统的压力测试。现有的物联网压力测试解决方案需要大量计算资源,导致其不适用且成本高昂。我们提出了一个专为物联网云压力测试设计的精简仿真框架,该框架能够高效仿真大量与云通信的物联网和边缘设备。为了方便从业者构建仿真,我们开发了一种名为IoTECS的领域特定语言(DSL),用于从基于模型的规范生成仿真器。我们提供了IoTECS的语法和语义,并使用Xtext和Xtend实现了IoTECS。我们评估了由IoTECS规范生成的仿真器在压力测试两个真实系统中的表现:一个基于云的物联网监控系统和一个物联网联网汽车系统。实证结果表明,使用IoTECS创建的仿真器:(1)在配置Docker容器化时达到最佳性能;(2)有效评估了我们案例研究系统的服务能力;(3)在相同硬件资源下,能够模拟的物联网和边缘设备数量是工业压力测试基准工具JMeter和Locust的3.5倍。为了初步了解IoTECS在实践中的有用性,我们采访了来自行业合作伙伴的两名具有IoTECS一手经验的工程师。访谈反馈表明,IoTECS在压力测试物联网云系统方面非常有效,节省了大量时间和精力。

英文摘要:

The Internet of Things 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. 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 which 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 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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑