Analyzing the Performance of Golang Web Frameworks Utilizing GORM in the Oil and Gas Industry
This research evaluates the request completion time, average latency, error rate, and memory usage of four Go web frameworks: Fiber, Gin, Beego, and Echo, under different concurrent connections to find a fast, reliable, and scalable framework. These frameworks utilize GORM alongside a MySQL database. The test uses appropriate data from the oil and gas industry and it is done by hitting the endpoint that initializes a double inner join query using Grafana K6. The test is done on a Windows 11 machine with an Intel Core i5-12400F and 16GB of RAM, running Go 1.19. The results show that Echo outperforms the other frameworks with fastest request completion time, least average latency, error rate, and memory usage under heavier load, showing that Echo is fast, reliable, uses minimal resources, and has great scalability. However, under lighter load, the results obtained show similar speeds and error rates for all the frameworks but Gin showed a significantly higher memory usage.
Authors
- Maria Seraphina Astriani
- Ida Bagus Kerthyayana Manuaba (ORCID: https://orcid.org/0000-0001-8880-254X)
- Karsten Eugene Lie
Institutions
- Binus University (ID)
Publication Details
- Published
- 2024-09-12
- DOI
- https://doi.org/10.1109/ictiia61827.2024.10761385
- Primary Topic
- Advanced Computational Techniques and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00