A Comparative Study of HTTP and MQTT for IoT Applications in Hydroponics

Dublin Core

Title

A Comparative Study of HTTP and MQTT for IoT Applications in Hydroponics

Subject

hydroponics; IoT; web service; MQTT; HTTP

Description

Hydroponics is basedon nutrients in water. It mustbe regularlymonitoredto prevent plant defects. The Internet of Things has become a solution for remote hydroponic monitoring and is currently being tested on the Yuan HidroponikKelompok Wanita Tani (KWT).This system will send data every minute,and each data has a possibility of loss in transmission. There is a chance thatthis system will be implemented in other hydroponic organizations. As more devices are involved,it will affectserver resources. This research will compare Message Queue Telemetry Transport (MQTT) and Hypertext Transfer Protocol (HTTP) as popular protocols used in IoT. A test with increasing clients shows thatat 50 clients HTTP needs 87% CPU,while MQTT needs 22.63% CPU. A test with increasing payload shows thatat 10,000 payload HTTP needs 94% CPU while MQTT needs 28.35% CPU. A test with fixed clients and payloads shows thatHTTP has a CPU limit based on the clients involved. A transfer time test shows thatHTTP needs 177.344 seconds while MQTT needs 3.24 seconds. An acceptance rate is calculated by incrementing the count for every incoming payload. It shows thatHTTP can receive 30,000 payloads, unlike MQTT which can only receive 1680 payloads before losses

Creator

rvan Rizki Nugraha1, Widhy Hayuhardhika Nugraha Putra2,Eko Setiawan

Source

https://jurnal.iaii.or.id/index.php/RESTI/article/view/5561/899

Publisher

Information System Department, Fakultas Ilmu Komputer, Universitas Brawijaya, Malang, Indonesia3Informatics Engineering Department, Fakultas Ilmu Komputer, Universitas Brawijaya, Malang, Indonesia

Date

18-02-2024

Contributor

FAJAR BAGUS W

Format

PDF

Language

ENGLISH

Type

TEXT

Files

Collection

Citation

rvan Rizki Nugraha1, Widhy Hayuhardhika Nugraha Putra2,Eko Setiawan, “A Comparative Study of HTTP and MQTT for IoT Applications in Hydroponics,” Repository Horizon University Indonesia, accessed April 25, 2026, https://repository.horizon.ac.id/items/show/10197.