A Cluster Message Broker in IoT Middleware using Ioredis

Scalability is one of the challenges in the process of developing IoT middleware. Single middleware will suffer from a limited capacity of computing and memory when the number of publishers and subscribers increase. On the other hand, the middleware should always be able to accommodate the communications between publishers and subscribers. Creating the middleware cluster could be an alternative to achieve the scalability of middleware. The soul of the cluster is creating redundant entities that provide services to a large number of transactions. Accordingly, this research objective is developing a cluster of the IoT middleware to gain its scalability. The cluster is applied to the Redis message broker which is configured to be able to share data with each other. Performance testing was conducted by generating packets concurrently from 100, 500, 1000 and 1500 clients. The test result shows that the cluster middleware could increase the number of concurrent messages per second up to 30 for CoAP, 8 for MQTT, and 4 for WebSocket, respectively in 1500 total of publishers.

[1]  Widhi Yahya,et al.  Performance evaluation of IoT middleware for syntactical Interoperability , 2017, 2017 International Conference on Advanced Computer Science and Information Systems (ICACSIS).

[2]  P. M. Sasi,et al.  Design of high performance cluster based map for vehicle tracking of public transport vehicles in smart city , 2017, 2017 IEEE Region 10 Symposium (TENSYMP).

[3]  Siobhán Clarke,et al.  Middleware for Internet of Things: A Survey , 2016, IEEE Internet of Things Journal.

[4]  Hong Jiang,et al.  Redis-based web server cluster session maintaining technology , 2017, 2017 13th International Conference on Natural Computation, Fuzzy Systems and Knowledge Discovery (ICNC-FSKD).

[5]  Valery V. Korotaev,et al.  A Reference Model for Internet of Things Middleware , 2018, IEEE Internet of Things Journal.