MQTT, one of the most popular protocols for the IoT, works according to a publish/subscribe pattern in which multiple clients connect to a single broker, generally hosted in the cloud. However, such a centralised approach does not scale well considering the massive numbers of IoT devices forecasted in the next future, thus calling for distributed solutions in which multiple brokers cooperate together. Indeed, distributed brokers can be moved from traditional cloud-based infrastructure to the edge of the network (as it is envisioned by the upcoming MEC technology of 5G cellular networks), with clear improvements in terms of latency, for example. This paper proposes MQTT-ST, a protocol able to create such a distributed architecture of brokers, organised through a spanning tree. The protocol uses in-band signalling (i.e., reuses MQTT primitives for the control messages) and allows for full message replication among brokers, as well as robustness against failures. We tested MQTT-ST in different experimental scenarios and we released it as open-source project to allow for reproducible research.

MQTT-ST: A Spanning Tree Protocol for Distributed MQTT Brokers

Longo E.;Redondi A. E. C.;Cesana M.;
2020

Abstract

MQTT, one of the most popular protocols for the IoT, works according to a publish/subscribe pattern in which multiple clients connect to a single broker, generally hosted in the cloud. However, such a centralised approach does not scale well considering the massive numbers of IoT devices forecasted in the next future, thus calling for distributed solutions in which multiple brokers cooperate together. Indeed, distributed brokers can be moved from traditional cloud-based infrastructure to the edge of the network (as it is envisioned by the upcoming MEC technology of 5G cellular networks), with clear improvements in terms of latency, for example. This paper proposes MQTT-ST, a protocol able to create such a distributed architecture of brokers, organised through a spanning tree. The protocol uses in-band signalling (i.e., reuses MQTT primitives for the control messages) and allows for full message replication among brokers, as well as robustness against failures. We tested MQTT-ST in different experimental scenarios and we released it as open-source project to allow for reproducible research.
IEEE International Conference on Communications
978-1-7281-5089-5
distributed pub/sub
Mobile Edge Computing
MQTT
File in questo prodotto:
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: http://hdl.handle.net/11311/1146601
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 12
  • ???jsp.display-item.citation.isi??? 1
social impact