A Fully Featured and Optimized Object Document Mapper for the Go Programming Language
The Go programming language has seen a rise in popularity because of its straightforward nature and efficient performance. However, it still lacks a dependable and fully featured Object Document Mapper (ODM) for working with document databases like MongoDB. Many existing ODMs either miss critical features or have fallen out of active development, which can lead to messy code and added complexity. To address these issues, this study presents “Elemental,” a robust and optimized ODM built specifically for Go. Elemental is equipped with a powerful query builder, seamless middleware integration, and advanced data aggregation tools that work across multiple database connections. Test results have shown that Elemental outperforms the official MongoDB driver in both performance and maintainability, making it a suitable choice for Go enterprise applications. The obtained benchmarks and metrics indicate that the Elemental ODM provides shorter execution times, reduces cyclomatic complexity, and has a higher maintainability index. This study concludes that Elemental ODM significantly improves the developer experience and efficiency of software development by providing a well refined set of tools.
Authors
- Anuradha Karunasena
- Akalanka Perera (ORCID: https://orcid.org/0000-0002-7177-8923)
- Sumudu Perera (ORCID: https://orcid.org/0000-0001-6958-0961)
- S Shehata Mohamed
- Samanthi E.R. Siriwardana
- Yasindu Laksara
Institutions
- Sri Lanka Institute of Information Technology (LK)
Publication Details
- Published
- 2024-12-12
- DOI
- https://doi.org/10.1109/icac64487.2024.10851071
- Primary Topic
- Artificial Intelligence in Games
- Type
- article
- Field-Weighted Citation Impact
- 0.00