Judul: Backend Development of High Performance REST API Based IoT Data Server Applications Using Golang Gin and Postgresql
Abstrak: 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.
Keyword: back-end, IoT, REST API, Golang, Gin, High performance

Judul: Development and Performance Improvement of IoT  Data Server REST API with Python FastAPI and PostgreSQL
Abstrak: Berbagai macam teknologi dapat dijadikan pilihan untuk membangun sebuah ekosistem IoT, salah satunya adalah server data IoT yang menjadi poin utama untuk menyimpan dan mengambil data yang didapat dari perangkat IoT. Kinerja server data IoT selain dipengaruhi oleh spesifikasi perangkat keras, juga oleh perangkat lunak yang digunakan seperti bahasa pemrograman dan framework yang digunakan. Dalam penelitian ini, kami mengembangkan backend server data IoT dengan framework Python FastAPI dan database PostgreSQL, dibandingkan kinerjanya dengan framework Python Falcon dan Python Sanic. Metode pengembangan yang digunakan adalah waterfall. Berdasarkan pengujian kinerja menggunakan Siege, aplikasi FastAPI memiliki rataan kinerja sebesar 986 transaction per second, nilai ini 1.5 kali lipat lebih cepat dari aplikasi Sanic dan 167 kali lipat dari aplikasi Falcon. Penggunaan memori FastAPI hampir sama dengan Sanic, yaitu di kisaran 2 GB. Hal ini menunjukkan bahwa FastAPI adalah framework REST API Python yang memiliki kinerja yang lebih baik., Various technologies can be selected to build an IoT ecosystem, one of which is the IoT data server which is the main point for storing and retrieving data obtained from IoT devices. The performance of the IoT data server is not only influenced by hardware specifications, but also by the software used, such as the programming language and framework used. In this study, we develop an IoT data server backend with the Python FastAPI framework and the PostgreSQL database, comparing its performance with the Python Falcon and Python Sanic frameworks. The development method used is the waterfall. Based on performance testing using Siege, the FastAPI application has an average performance of 986 transactions per second, this value is 1.5 times faster than the Sanic application and 167 times that of the Falcon application. FastAPI memory usage is almost the same as Sanic, which is around 2 GB. This shows that FastAPI is a Python REST API framework that has better performance.
Keyword: Python, FastAPI, Server IoT, Kinerja Tinggi, PostgreSQL

Judul: Biology and ecology of the buffalo fly, haematobia exigua de meijere (diptera:muscidae)
Abstrak: The life history of the buffalo fly was observed at room temperature of 27°-29.5°C and at a relative humidity of 48-68 percent. The eggs hatched after 17-22 hours, with an average of 18 hours. First instar larvae measured 1.25 + 0.16 mm long and 0.27 + 0.037 mm wide. reach the second larval stage. It took 6-12 hours to the second instar larvae measured 2.676 +0.187 mm long and 0.353 +0.028 mm wide. The second instar took about 12-24 hours to reach the third larval stage. The third instar measured 6.833 + 0.189 mm long and 0.919 + 0.051 mm wide. It took about 2-3 days for the third instar to become pupae. Duration of the pupal stage was about 5-7 days before the adults emerged. Under laboratory condition, the buffalo fly completed its life cycle in 9.5 to 10.5 days, whereas under field condition it took 9-14 days with an average of 10.5 days. The growth ratio which was based on the measurements of the cephalo-pharyngeal skeleton of each instar was 1.797. The preoviposition period was 8-12 days and mating usually occurred on the 6th or 7th day. The longevity of the male was 29 days, whereas it was 32 days in the female. The range of egg production under laboratory condition was between 20-139 per female fly. The belly and hind legs of the carabao were the most preferred habitat either during cloudy and cool dry or shiny and warm day. When the weather was clear and the carabao was in the shade, the flies tended to be more distributed particularly on the shoulder, dewlap, back and horns. The carabaos had relatively fewer Musca sp. and Stomoxys calcitrans than cattle; never the less carabaos had a higher infestation of buffalo fly than cattle. Oviposition occured either during the day or night but the buffalo flies were more active during the night than in the day time. The effect of various lengths of exposure time of manure in relation to the oviposition was profound. observed, the maximum number of the buffalo flies was occurred when the dung was exposed for 30 minutes. With increasing time of exposure the number and variety of insects also increase. It was evident that Sepsidae and psychodidae were the most dominant insects emerging from the dung. The number of buffalo flies also increased with increasing
Keyword: