A New Approach to a Self-Organizing Federation of MQTT Brokers
Nicolas Kolling Ribas1 & Marco Aurélio Spohn1 Show affiliations
- Department of Computer Science, Federal University of Fronteira Sul, Brazil
Journal of Computer Science, Volume 18, Issue 7, pp. 687–694 · doi.org/10.3844/jcssp.2022.687.694
Abstract
In the Publish/Subscribe (PS) communication paradigm clients producing content (i.e., publishers) send it to a broker, which relays the content to consumers (i.e., subscribers). Communication can happen asynchronously, leaving all the hurdles to the server/broker. MQ Telemetry Transport (MQTT) is the most used P/S protocol in designing IoT applications. The usual MQTT scenario comprises a single broker, making it a potential bottleneck and a single point of failure. Clustering of brokers is the typical approach for scaling MQTT, usually restricting deployment to a single administrative domain. The federation of autonomous brokers is a more flexible approach for scaling the MQTT protocol, with just one representative self-organizing protocol at the moment. We present a new variant for such protocol, providing a well-structured mechanism for building and orchestrating the federation of brokers. The main contribution of this study is to offer a feasible solution for deploying the MQTT federation without requiring critical changes to regular clients. By following the topic naming conventions, clients are unaware they rely on a federation of brokers. To provide a glimpse of our solution in action, a case study demonstrates that the protocol can easily provide flexible reliability with low complexity.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Ribas, N. K. & Spohn, M. A. (2022). A New Approach to a Self-Organizing Federation of MQTT Brokers. Journal of Computer Science, 18(7), 687–694. https://doi.org/10.3844/jcssp.2022.687.694
- Licence
- CC BY 4.0
- Issue
- Volume 18, Issue 7
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
