Please use this identifier to cite or link to this item:
http://repository.ipb.ac.id/handle/123456789/124799
Title: | Pengembangan Backend Aplikasi Server Data IoT Berbasis REST API Berkinerja Tinggi dengan Golang Gin dan Postgresql |
Other Titles: | Backend Development of High Performance REST API Based IoT Data Server Applications Using Golang Gin and Postgresql |
Authors: | Akbar, Auriza Rahmad Ridha, Ahmad Fikriguska, Bintang |
Issue Date: | 2023 |
Publisher: | IPB University |
Abstract: | Internet of Things (IoT) menjadi salah satu bidang teknologi yang semakin banyak
digunakan. Platform yang digunakan untuk manajemen perangkat dan data IoT salah
satunya adalah ThingSpeak. Sayangnya, platform ini memiliki banyak keterbatasan untuk
pengguna yang tidak berbayar. Saat ini telah dikembangkan server data IoT berbasis REST
API menggunakan Python Falcon dan Postgresql sebagai alternatif untuk menghilangkan
keterbatasan tersebut. Dalam penelitian ini, akan dikembangkan ulang API tersebut dengan
bahasa pemrograman Go dan framework Gin agar API dapat memiliki kinerja yang tinggi.
Metode yang digunakan dalam pengembangan API ini adalah iterative waterfall. Dari hasil
pengujian, API Golang Gin ini berhasil meningkatkan kinerja lebih dari 600 kali lipat
daripada Python Falcon. Pada endpoint GET /node/id kinerja meningkat menjadi 1256
TPS, sedangkan pada POST /channel kinerja meningkat menjadi 2076 TPS. Jika cache
digunakan secara maksimal, GET /node/id bisa mencapai 8097 TPS. The Internet of Things (IoT) is becoming one of the increasingly used areas of technology. One of the platforms used for data and IoT devices management is ThingSpeak. Unfortunately, this platform has many limitations for non-paid users. Currently, a REST API-based IoT data server has been developed using Python Falcon and Postgresql as an alternative to eliminate these limitations. In this research, the API will be re-developed with Go programming language and Gin framework so that the API can have high performance. The method used in the development of this API is iterative waterfall. From the test results, the Golang Gin API managed to improve performance more than 600 times compared to Python Falcon. At the GET /node/id endpoint the performance increased to 1256 TPS, while at POST /channel the performance increased to 2076 TPS. If the cache is maximally used, performance of GET endpoint can increase to 8097 TPS. |
URI: | http://repository.ipb.ac.id/handle/123456789/124799 |
Appears in Collections: | UT - Computer Science |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
Cover, Lembar Pengesahan, Prakata, Daftar isi.pdf Restricted Access | Cover | 525.93 kB | Adobe PDF | View/Open |
G64180024_Bintang Fikriguska.pdf Restricted Access | Fullteks | 3.16 MB | Adobe PDF | View/Open |
Lampiran.pdf Restricted Access | Lampiran | 307.7 kB | Adobe PDF | View/Open |
Items in DSpace are protected by copyright, with all rights reserved, unless otherwise indicated.