Load testing assesses message brokers like Mosquitto and EMQX under various scenarios, indicating optimal selection.
This article describes load testing common IoT message brokers under various configurations. The list of message brokers is represented by Mosquitto, EMQX, Active MQ, and Aedes. The NBomber library was chosen as the main tool for load testing. Based on this library, scenarios for stress testing brokers were developed. Each scenario was applied to the corresponding number of connections, message size, and QoS level. A custom client (called "message listener") was developed to handle errors. The collected data included the number of requests processed per second, the latency of sending messages, the number of errors, and the CPU utilization. Based on the obtained data, a normalized broker rating was proposed and applied. The best message broker can be selected by calculating the normalized broker score for each load scenario and merging all the calculated results into a pivot table. The best message broker is selected from the result table.
No takes yet. Share an insight, caveat, or question.
Solopiy et al. (2025) studied this question.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: