Chananya Ruenpitak, A. Phonphoem, Aphirak Jansang, Withawat Tangtrongpairoj, C. Jaikaeo
{"title":"Scalable Distributed Broker System for Very Large MQTT Networks","authors":"Chananya Ruenpitak, A. Phonphoem, Aphirak Jansang, Withawat Tangtrongpairoj, C. Jaikaeo","doi":"10.1109/jcsse54890.2022.9836246","DOIUrl":null,"url":null,"abstract":"MQTT is a publish/subscribe protocol whose usage is growing a lot in recent years, especially in the field of Internet of Things (IoT) and Wireless Sensor Networks (WSN). The protocol is based on a central broker entity, which limits the number of publishers and subscribers and is considered a single point of failure. When numerous clients connect and subscriptions change frequently, the load and physical resource on the broker increases significantly. In this work, we propose a distributed broker system for MQTT, where multiple brokers are interconnected in a scalable fashion. The brokers collaboratively maintain two separate domains for exactmatch and wildcard subscriptions. We apply the Chord distributed hash table algorithm and the trie tree (radix tree) data structure in the exact-match and the wildcard domains, respectively, to maintain routing complexity and routing table size. The preliminary simulation results show that with relatively large number of brokers and subscribed topics, our proposed approach is more efficient in terms of forwarding overhead and routing table size compared with the standard broker bridging approach.","PeriodicalId":284735,"journal":{"name":"2022 19th International Joint Conference on Computer Science and Software Engineering (JCSSE)","volume":"15 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-06-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 19th International Joint Conference on Computer Science and Software Engineering (JCSSE)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/jcsse54890.2022.9836246","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
MQTT is a publish/subscribe protocol whose usage is growing a lot in recent years, especially in the field of Internet of Things (IoT) and Wireless Sensor Networks (WSN). The protocol is based on a central broker entity, which limits the number of publishers and subscribers and is considered a single point of failure. When numerous clients connect and subscriptions change frequently, the load and physical resource on the broker increases significantly. In this work, we propose a distributed broker system for MQTT, where multiple brokers are interconnected in a scalable fashion. The brokers collaboratively maintain two separate domains for exactmatch and wildcard subscriptions. We apply the Chord distributed hash table algorithm and the trie tree (radix tree) data structure in the exact-match and the wildcard domains, respectively, to maintain routing complexity and routing table size. The preliminary simulation results show that with relatively large number of brokers and subscribed topics, our proposed approach is more efficient in terms of forwarding overhead and routing table size compared with the standard broker bridging approach.