Analisis Perbandingan Performansi Mqtt Dan Http Pada Platform Iot Node-red

Penulis

DOI:

https://doi.org/10.34818/eoe.v6i2.9824

Abstrak

Abstrak Aplikasi web saat ini berkembang pesat mulai dari front-end hingga back-end, dan teknologi Web ini mendukung perkembangan teknologi komputasi terdistribusi dimana teknologi ini memungkinkan melakukan proses di banyak mesin, dan hasilnya dimanfaatkan oleh banyak mesin. Salah satu dukungan teknologi Web pada komputasi terdistribusi adalah pada pembangunan Web Service yang berfungsi sebagai aplikasi transaksi data antar mesin yang terlibat di dalamnya. Konsep Web Service muncul untuk menjembatani sistem-sistem informasi yang digunakan oleh masing-masing sumber. Pada prinsip dasarnya, suatu komunikasi data merupakan proses mengirimkan data dari satu komputer ke komputer yang lain untuk terselenggaranya proses pengiriman paket data tersebut. Arsitektur yang digunakan pada tugas akhir ini adalah arsitektur publish/subscribe dan request/reply. Dalam tugas akhir ini telah diimplementasikan sistem monitoring suhu dan kelembaban udara yang berbasis MQTT dan HTTP yang terkoneksi dengan NodeMCU, dan sensor suhu DHT22 yang berfokus pada perbandingan performansi kedua protokol yang digunakan. Hasil dari analisis pada tugas akhir ini, yaitu rangakain alat NodeMCU dan Sensor DHT22 bekerja dengan baik dan mendapatkan data suhu ruangan. Parameter performansi throughput terbesar didapatkan pada protokol MQTT dengan nilai 110000 bits/s. Parameter performansi delay dan packet loss terkecil didapatkan pada protokol MQTT dengan nilai 0,00042 % packet loss dan 0,0086902 untuk delay. Kinerja sistem monitoring udara lebih baik menggunakan protokol MQTT dibandingkan dengan HTTP dilihat dari nilai performansi seperti throughput, delay, dan packet loss.

Kata kunci: MQTT, HTTP, NodeMCU, DHT22, Web Service

Abstract Web applications are currently developing rapidly from the front-end to the back-end, and this Web technology supports the development of distributed computing technology where this technology allows processes in many machines, and the results are used by many machines. One of the support of Web technology in distributed computing is the development of a Web Service that functions as a data transaction application between machines involved in it. The concept of Web Service appears to bridge the information systems used by each source. Basically, a data communication is a process of sending data from one computer to another for the delivery of the data packet. The architecture used in this thesis is the publish / subscribe and request / reply architecture. In this final project a MQTT and HTTP based temperature and humidity monitoring system has been implemented that is connected to NodeMCU, and a DHT22 temperature sensor that focuses on comparing the performance of the two protocols used. The results of the analysis in this thesis, namely the range of NodeMCU tools and DHT22 sensors work well and get room temperature data. The biggest throughput performance parameter is found in the MQTT protocol with a value of 110000 bits / s. The smallest delay and packet l oss performance parameters are obtained in the MQTT protocol with a value of 0,00042% packet loss and 0.0086902 for delay. The performance of air monitoring systems is better using the MQTT protocol compared to HTTP in terms of performance values such as throughput, delay, and packet loss. Keywords: MQTT, HTTP, NodeMCU, DHT22, Web Service

Unduhan

Data unduhan tidak tersedia.

Diterbitkan

2019-08-01

Terbitan

Bagian

Program Studi S1 Informatika

Cara Mengutip

Permatasari, E. F. D., Putra, A. G., & Abdurohman, M. (2019). Analisis Perbandingan Performansi Mqtt Dan Http Pada Platform Iot Node-red. eProceedings of Engineering, 6(2). https://doi.org/10.34818/eoe.v6i2.9824