View Item 
      •   IPB Repository
      • Dissertations and Theses
      • Undergraduate Theses
      • UT - Faculty of Mathematics and Natural Sciences
      • UT - Computer Science
      • View Item
      •   IPB Repository
      • Dissertations and Theses
      • Undergraduate Theses
      • UT - Faculty of Mathematics and Natural Sciences
      • UT - Computer Science
      • View Item
      JavaScript is disabled for your browser. Some features of this site may not work without it.

      Pengembangan Backend Aplikasi Server Data IoT Berbasis REST API Berkinerja Tinggi dengan Golang Gin dan Postgresql

      Thumbnail
      View/Open
      Cover (525.9Kb)
      Fullteks (3.086Mb)
      Lampiran (307.7Kb)
      Date
      2023
      Author
      Fikriguska, Bintang
      Akbar, Auriza Rahmad
      Ridha, Ahmad
      Metadata
      Show full item record
      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
      Collections
      • UT - Computer Science [2482]

      Copyright © 2020 Library of IPB University
      All rights reserved
      Contact Us | Send Feedback
      Indonesia DSpace Group 
      IPB University Scientific Repository
      UIN Syarif Hidayatullah Institutional Repository
      Universitas Jember Digital Repository
        

       

      Browse

      All of IPB RepositoryCollectionsBy Issue DateAuthorsTitlesSubjectsThis CollectionBy Issue DateAuthorsTitlesSubjects

      My Account

      Login

      Application

      google store

      Copyright © 2020 Library of IPB University
      All rights reserved
      Contact Us | Send Feedback
      Indonesia DSpace Group 
      IPB University Scientific Repository
      UIN Syarif Hidayatullah Institutional Repository
      Universitas Jember Digital Repository