Analisis Performa Web server Python dan Go Pada Protokol Http (Hypertext Transfer Protocol)
DOI:
https://doi.org/10.26418/juara.v2i2.82059Keywords:
Go, HTTP, kinerja, penggunaan sumber daya, python, skalabilitas, stabilitas, Throughput, web serverAbstract
Di era digital saat ini, performa web server memegang peranan penting dalam menyajikan konten dan layanan kepada pengguna. Python dan Go merupakan dua bahasa pemrograman yang umum digunakan dalam pengembangan web server. Python dikenal mudah dipelajari dan memiliki banyak library yang mendukung, sedangkan Go didesain untuk memungkinkan pengembangan aplikasi yang cepat dan efisien. Penelitian ini bertujuan untuk menganalisis performa web server yang diimplementasikan dengan Python dan Go pada protokol HTTP, dengan membandingkan efisiensi penggunaan sumber daya (CPU dan RAM), kecepatan, stabilitas, dan skalabilitas. Pengujian performa dilakukan menggunakan skenario beban user (200, 400, 600, 800, dan 1000 pengguna). Kinerja diukur dengan Throughput, penggunaan CPU dan memori, serta waktu pemrosesan. Hasil penelitian menunjukkan bahwa Go memiliki skalabilitas yang lebih baik dengan Throughput mencapai 346 tps pada 200 pengguna, dibandingkan Python yang hanya 188 tps. Go juga lebih stabil dengan peningkatan waktu pemrosesan yang lebih rendah dan konsisten, serta penggunaan CPU yang lebih efisien, misalnya pada beban 200 pengguna, penggunaan CPU Go adalah 3,23%, sedangkan Python 9,62%. Namun, pada beban 800 dan 1000 pengguna, Go menggunakan lebih banyak memori. Secara keseluruhan, penelitian ini menunjukkan bahwa Go lebih efisien dan konsisten dalam mengelola beban tinggi, menjadikannya pilihan yang lebih baik untuk aplikasi yang membutuhkan efisiensi, kecepatan, stabilitas, dan skalabilitas. Implementasi protokol HTTP pada Go memberikan hasil performa yang lebih unggul dibandingkan Python, membuatnya solusi yang lebih efektif untuk aplikasi dengan jumlah pengguna banyak.Downloads
Published
2024-09-01
Issue
Section
Articles
License
Copyright (c) 2024 Jurnal Aplikasi dan Riset Informatika

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The author owns the copyright in his paper and agrees to publish his paper to JUARA by giving the rights to the first publication of his paper which is simultaneously licensed under the Creative Commons Attribution License, namely the Similar International 4.0 license (CC BY-NC-SA 4.0).

This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
You are free to:Share "” copy and redistribute the material in any medium or format
Adapt "” remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution "” You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial "” You may not use the material for commercial purposes.
ShareAlike "” If you remix, transform, or build upon the material, you must distribute your contributions under the same license as the original.
No additional restrictions "” You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Notices:
You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.
No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.