Optimal Distributed MQTT Broker and Services Placement for SDN-Edge Based Smart City Architecture

Sensors (Basel). 2022 Apr 30;22(9):3431. doi: 10.3390/s22093431.

Abstract

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.

Keywords: container placement; distributed MQTT; edge computing; internet of things (IoT); smart city; software-defined networking.