Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 29 July 2022

A New Approach to a Self-Organizing Federation of MQTT Brokers

Nicolas Kolling Ribas1 & Marco Aurélio Spohn1

Journal of Computer Science, Volume 18, Issue 7, pp. 687–694 · doi.org/10.3844/jcssp.2022.687.694

6,156 accesses3,657 downloads3 citations (Crossref)Metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
A New Approach to a Self-Organizing Federation of MQTT BrokersJournal of Computer Science · Volume 18, Issue 7 · pp. 687–694 · CC BY 4.0Download