Analisa Perbandingan Protokol Mqtt Dengan Http Pada Iot Platform Patriot

Authors

  • Nindithia Putri Windryani Telkom University
  • Nyoman Bogi Aditya Karna Telkom University
  • Ratna Mayasari Telkom University

Abstract

Abstrak Perkembangan teknologi IoT sedang berkembang dengan pesat di era globalisasi saat ini dan memberikan banyak manfaat serta kemajuan dalam berbagai aspek kehidupan manusia khususnya di bidang teknologi. Untuk menghubungkan berbagai perangkat elektronik, IoT membutuhkan suatu wadah yang disebut IoT Platform. IoT Platform Patriot dari penelitian sebelumnya yang digunakan pada tugas akhir ini masih dalam tahap pengembangan di beberapa aspek. Patriot Platform saat ini hanya support protokol HTTP yang masih memiliki beberapa kekurangan yaitu pemakaian bandwidth yang cukup besar, ukuran paket yang besar sehingga tidak reliable untuk berjalan pada sistem yang memiliki bandwidth rendah atau latency yang tinggi. Berdasarkan kekurangan protokol HTTP tersebut, implementasi protokol MQTT server sangat dibutuhkan untuk menunjang pengembangan IoT Platform. MQTT merupakan protokol komunikasi yang sangat sederhana dan ringan. Protokol MQTT juga didesain untuk alat berkemampuan terbatas, bandwidth yang rendah, latency yang tinggi dan jaringan yang kurang dapat diandalkan. Hasil pengujian QoS dengan parameter delay diperoleh rata-rata delay MQTT QoS 0 sebesar 0,0017s, QoS 1 sebesar 0,0628805s, MQTT QoS 2 sebesar 0,16987s dan HTTP sebesar 0,124591s. Packet loss yang di dapatkan sebesar 0% untuk MQTT QoS 1, QoS 2 dan HTTP sedangkan QoS 0 sebesar 13,3333%, nilai throughput protokol MQTT lebih rendah +/-324,7943 Bytes/s dibandingkan protokol HTTP sehingga protokol MQTT dapat lebih reliable berjalan pada keadaan bandwidth rendah atau latency tinggi dibandingkan protokol HTTP. Kata kunci : MQTT, IOT Platform, IOT, Publish, Subscribe, Broker Abstract The development of the IoT technology is growing rapidly in the current era of globalization and provides many benefits and advances in various aspects of human life, especially in the field of technology. To connect various electronic devices, IoT requires a container called an IoT Platform. The Patriot Platform from previous research used in this final project is still in the development stage in several aspects. Patriot Platform currently only supports HTTP protocol which still has some disadvantages, namely the use of bandwidth is quite large, large packet size so it is not reliable to run on systems that have low bandwidth or high latency. Based on the lack of the HTTP protocol, the implementation of the MQTT server protocol is needed to support the development of IoT Platform. MQTT is a very simple and lightweight communication protocol. The MQTT protocol is also designed for limited-capable devices, low bandwidth, high latency and less reliable networks. The results of QoS testing with delay parameters obtained an average HTTP delay of 0.12340s higher than MQTT QoS 0, lower 0.05390s compared to MQTT QoS 1 and lower 0.227842s compared to MQTT QoS 2, packet loss at 0% for MQTT and HTTP, the MQTT protocol throughput is lower +/- 8.094 Kbit / s compared to the HTTP protocol so the MQTT protocol is more reliable in low bandwidth or high latency compared to the HTTP. Keywords: MQTT, IOT Platform, IOT, Publish, Subscribe, Broker

Downloads

Published

2019-08-01

Issue

Section

Program Studi S1 Teknik Telekomunikasi