Raza Syed M, Jeong Jaeyeop, Kim Moonseong, Kang Byungseok, Choo Hyunseung
Department of Electrical and Computer Engineering, Sungkyunkwan University, Suwon 16419, Korea.
Department of Computer Science and Engineering, Sungkyunkwan University, Suwon 16419, Korea.
Sensors (Basel). 2021 Feb 16;21(4):1378. doi: 10.3390/s21041378.
Containers virtually package a piece of software and share the host Operating System (OS) upon deployment. This makes them notably light weight and suitable for dynamic service deployment at the network edge and Internet of Things (IoT) devices for reduced latency and energy consumption. Data collection, computation, and now intelligence is included in variety of IoT devices which have very tight latency and energy consumption conditions. Recent studies satisfy latency condition through containerized services deployment on IoT devices and gateways. They fail to account for the limited energy and computing resources of these devices which limit the scalability and concurrent services deployment. This paper aims to establish guidelines and identify critical factors for containerized services deployment on resource constrained IoT devices. For this purpose, two container orchestration tools (i.e., Docker Swarm and Kubernetes) are tested and compared on a baseline IoT gateways testbed. Experiments use Deep Learning driven data analytics and Intrusion Detection System services, and evaluate the time it takes to prepare and deploy a container (creation time), Central Processing Unit (CPU) utilization for concurrent containers deployment, memory usage under different traffic loads, and energy consumption. The results indicate that container creation time and memory usage are decisive factors for containerized micro service architecture.
容器实际上封装了一段软件,并在部署时共享主机操作系统(OS)。这使得它们显著轻量化,适合在网络边缘和物联网(IoT)设备上进行动态服务部署,以降低延迟和能耗。数据收集、计算以及现在的智能功能都包含在各种具有非常严格的延迟和能耗条件的物联网设备中。最近的研究通过在物联网设备和网关上部署容器化服务来满足延迟条件。但他们没有考虑到这些设备有限的能源和计算资源,而这些资源限制了可扩展性和并发服务部署。本文旨在为在资源受限的物联网设备上部署容器化服务建立指导方针并确定关键因素。为此,在一个基线物联网网关测试平台上对两种容器编排工具(即Docker Swarm和Kubernetes)进行了测试和比较。实验使用深度学习驱动的数据分析和入侵检测系统服务,并评估准备和部署一个容器所需的时间(创建时间)、并发容器部署时的中央处理器(CPU)利用率、不同流量负载下的内存使用情况以及能耗。结果表明,容器创建时间和内存使用情况是容器化微服务架构的决定性因素。