A Comparative Efficiency of Broker for the Internet of Things

Main Article Content

เอกรินทร์ วทัญญูเลิศสกุล


The purpose of this research is to investigate the efficiency of the broker for the Internet of Things. Network performance metrics will be used to benchmark the service capabilities of brokers, including Mosquitto, HiveMQ, Apollo, ActiveMQ, and RabbitMQ. The experiment set the environment to be the same by using the Raspberry Pi single-board computing running the Raspbian open source operating system, provided with the MQTT protocol. The experiment of this study was divided into two types: the efficiency measurement of brokers by single publisher and the efficiency measurement of brokers by multi publishers. The performance measurement in this study was DEA method, which determines input factors of the experiment evaluation, including the CPU usage, bandwidth usage, and transmission time. An output factor of the experiment is the number of messages that the broker receives from all the publishers. The research methodology consisted of the following steps: 1) study the theories and processes related to data communications of MQTT protocol, sensors and brokers; 2) design experiments and structures of network systems for install the client and the server program; 3) test the communication between the publisher computer and the broker computer; 4) compare the results of the experiment to find the efficiency of the brokers as designed; and 5) conclusion results and performance comparison of service brokers. The results of the research show that the Mosquittto broker had the most overall performance with the mean value of 1,000, followed by ActiveMQ with 0.716 and HiveMQ with 0.596, respectively.

Article Details

How to Cite
วทัญญูเลิศสกุล เ. (2018). A Comparative Efficiency of Broker for the Internet of Things. NKRAFA JOURNAL OF SCIENCE AND TECHNOLOGY, 13, 94–110. Retrieved from https://ph02.tci-thaijo.org/index.php/nkrafa-sct/article/view/142051
Research Articles


[1] กระทรวงเทคโนโลยีสารสนเทศและการสื่อสาร. แผนพัฒนาดิจิทัลเพื่อเศรษฐกิจและสังคม. กรุงเทพมหานคร, 2559.

[2] O.Vermesan and P.Friess. Internet of Things-From Research and Innovation to Market Deployment. Italy: River Publishess, 2014.

[3] Vasileios Karagiannis1. A Survey on Application Layer Protocols for the Internet of Things. Transaction on IoT and Cloud Computing, 2015.

[4] สำนักงานรัฐบาลอิเล็กทรอนิกส์ (องค์การมหาชน).แผนพัฒนารัฐบาลดิจิทัลของประเทศไทย ระยะ 3 ปี (พ.ศ.2559-2561). กรุงเทพมหานคร, 2559.

[5] EY. Internet of Things. United State: Global Media & Entertainment, 2016.

[6] อัครพงศ์ อั้นทอง. คู่มือการใช้โปรแกรม DEAP 2.1 สำหรับการวิเคราะห์ประสิทธิภาพด้วยวิธีการData Envelopment Analysis. มหาวิทยาลัยเชียงใหม่, 2547.