Research Article Open Access

Self-Managed Federation of MQTT Brokers with Dynamic Topology Control

Bruno Bevilaqua1 and Marco Aurélio Spohn1
  • 1 Department of Computer Science, Federal University of Fronteira Sul, Brazil

Abstract

The Message Queuing Telemetry Transport (MQTT) protocol is most used in Internet of Things (IoT) applications. The protocol implements the Publish/Subscribe (P/S) communication model. Publishers are entities providing data to a server (broker), and subscribers are those showing interest in such data. The standard MQTT scenario relies on a single broker, a potential bottleneck, and a single point of failure. The best way to scale MQTT systems is through horizontal approaches like clustering and federation. In particular, this study focuses on improving the capabilities of a self-managed federation of brokers. We present the first solution to address the dynamic management of an overlay network for the federation of autonomous brokers. The system provides the primary mechanisms for building and self-healing the federation network. We develop a new variant for the original federation protocol integrating the dynamic topology management. We present a case study as a proof of concept, showing that all designed features work as expected.

Journal of Computer Science
Volume 19 No. 11, 2023, 1398-1409

DOI: https://doi.org/10.3844/jcssp.2023.1398.1409

Submitted On: 17 March 2023 Published On: 18 October 2023

How to Cite: Bevilaqua, B. & Spohn, M. A. (2023). Self-Managed Federation of MQTT Brokers with Dynamic Topology Control. Journal of Computer Science, 19(11), 1398-1409. https://doi.org/10.3844/jcssp.2023.1398.1409

  • 1,294 Views
  • 641 Downloads
  • 0 Citations

Download

Keywords

  • Publish/Subscribe Communication
  • MQTT
  • Federation of MQTT Brokers
  • Network Topology Management