Fawwaz Dzaky Zakiyal, Chung Sang-Hwa, Ahn Chang-Woo, Kim Won-Suk
Department of Computer Engineering, Pusan National University, Busan 46241, Korea.
Sensors (Basel). 2022 Apr 30;22(9):3431. doi: 10.3390/s22093431.
A smart city is an urban area that collects data from various devices to effectively manage urban resources. The smart city IoT infrastructure connects numerous devices to an Internet-protocol-based low-power wireless network, shares massive amounts of data, and facilitates the development of new services. Message queuing telemetry transport (MQTT), a lightweight exchange protocol for the IoT environment, uses a publish and subscribe structure via a centralized broker to share data. The extent of edge computing provides distributed and closer resources to the data source while maintaining low transmission costs. However, a centralized MQTT data broker is unsuitable for distributed edge resources and could result in high latency, traffic, and bottleneck risk. Therefore, we proposed a distributed MQTT broker optimized architecture. A distributed MQTT broker for edge resources could reduce network traffic and data delivery latency by only managing consumed topics in the network. We formulate an integer non-linear program to optimize container placement and avoid wasting edge computing resources. We compared our proposed architecture to the existing distributed MQTT middleware architecture with greedy and random container placement through extensive simulation. Our methods show better performance in lowering deployment failure ratio, power consumption, network usage, and synchronization overhead.
智慧城市是一个从各种设备收集数据以有效管理城市资源的城市区域。智慧城市物联网基础设施将众多设备连接到基于互联网协议的低功耗无线网络,共享大量数据,并促进新服务的开发。消息队列遥测传输(MQTT)是一种用于物联网环境的轻量级交换协议,它通过集中式代理使用发布和订阅结构来共享数据。边缘计算的范围在保持低传输成本的同时,为数据源提供了分布式且更接近的资源。然而,集中式MQTT数据代理不适用于分布式边缘资源,可能会导致高延迟、高流量和瓶颈风险。因此,我们提出了一种分布式MQTT代理优化架构。用于边缘资源的分布式MQTT代理仅通过管理网络中已使用的主题,就可以减少网络流量和数据传递延迟。我们制定了一个整数非线性规划来优化容器放置,避免浪费边缘计算资源。通过广泛的模拟,我们将提出的架构与具有贪婪和随机容器放置的现有分布式MQTT中间件架构进行了比较。我们的方法在降低部署失败率、功耗、网络使用和同步开销方面表现出更好的性能。