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.
- Content and information in articles published in NKRAFA Journal of Science and Technology are comment and responsibility of authors of articles directly. Journal editorial do no need to agree or share any responsibility.
- NKRAFA Journal of Science and Technology Articles holds the copyright of the content, pictures, images etc. which published in it. If any person or agency require to reuse all or some part of articles, the permission must be obtained from the NKRAFA Journal of Science and Technology.
 O.Vermesan and P.Friess. Internet of Things-From Research and Innovation to Market Deployment. Italy: River Publishess, 2014.
 Vasileios Karagiannis1. A Survey on Application Layer Protocols for the Internet of Things. Transaction on IoT and Cloud Computing, 2015.
 สำนักงานรัฐบาลอิเล็กทรอนิกส์ (องค์การมหาชน).แผนพัฒนารัฐบาลดิจิทัลของประเทศไทย ระยะ 3 ปี (พ.ศ.2559-2561). กรุงเทพมหานคร, 2559.
 EY. Internet of Things. United State: Global Media & Entertainment, 2016.
 อัครพงศ์ อั้นทอง. คู่มือการใช้โปรแกรม DEAP 2.1 สำหรับการวิเคราะห์ประสิทธิภาพด้วยวิธีการData Envelopment Analysis. มหาวิทยาลัยเชียงใหม่, 2547.