Comparative analysis of the efficiency of Data Persistence Frameworks. Case study Hibernate 5.4 and MyBatis 3.4
PDF
HTML

Keywords

data persistence framework
comparative analysis
Hibernate
Mybatis

How to Cite

Mendoza-Palomino, Y. L., Lagos-Barzola, M. A., & Porras Flores, E. E. (2022). Comparative analysis of the efficiency of Data Persistence Frameworks. Case study Hibernate 5.4 and MyBatis 3.4. Universidad Ciencia Y Tecnología, 26(117), 24-32. https://doi.org/10.47460/uct.v26i117.657

Abstract

The objective of the study was to determine whether Hibernate 5.4 or MyBatis 3.4 is the most efficient in terms of time, RAM, and CPU usage. Two REST microservices were implemented to perform CRUD operations; which were accessed by REST services developed with Hibernate and MyBatis invoked from a client. Our results were that Hibernate was the most efficient with respect to processing time at 509.1% and 47.7% for select and delete queries, while Mybatis was at 12.7% and 14.2% for update and insert queries, correspondingly. Regarding the use of RAM and CPU, MyBatis was determined to be the most efficient at 55.2% and 20% respectively.

https://doi.org/10.47460/uct.v26i117.657
PDF
HTML

References

[1] A. Torres, R. Galante, M. S. Pimenta, and A. J. B. Martins, “Twenty years of object-relational mapping: A survey on patterns, solutions, and their implications on application design,” Inf. Softw. Technol., vol. 82, pp. 1–18, 2017, doi: 10.1016/j.infsof.2016.09.009.
[2] U.Hernández, “Cómo elegir un framework para el backend,” códigofacilito, 2018. https://codigofacilito.com/articulos/elegir-framework-backend#! (accessed Apr. 15, 2022).
[3] S. M. Thampi, “Performance Comparison of Persistence Frameworks,” CoRR, 2007, [Online]. Available: http://arxiv.org/abs/0710.1404
[4] J. Gavilanes, “Estudio comparativo de la productividad entre los Frameworks de persistencia en Java Hibernate y Mybatis, aplicado al Sistema de Evaluación Docente del IPEC,” 2016.
[5] O. Y. Enriquez and H. Gracia, “Mapeo Objeto / Relacional (ORM) .,” Rev. Telem@tica, vol. 10, no. 3, pp. 1–7, 2011.
[6] C. Bauer and G. King, Hibernate in Action, vol. 4, no. Part I. 2005. [Online]. Available:http://books.google.com/books?id=WCmSQgAACAAJ&pgis=1.
[7] J. W. Yoder and R. E. Johnson, “Connecting business objects to relational databases,” Urbana, 2005,[Online]. Available:
http://test.joeyoder.com/Research/objectmappings/Persista.pdf%5Cnpapers2://publication/uuid/F7960186-CF74-482F-ADF4-86EE560C47D9.
[8] E. Reinosa, C. Maldonado, R. Muñoz, L. Damiano, and M. Abrutsky, Base de datos, 1st ed. Buenos Aires: Alfaomega, 2012.
[9] J. Maldonado, “Persistencia de Datos,” Universidad de Cuenca. http://docplayer.es/111524351-Capitulo-8-persistencia-de-datos.html (accessed Apr. 20, 2022).
[10] L. You et al., “JDap: Supporting in-memory data persistence in javascript using Intel’s PMDK,” J. Syst. Archit., vol. 101, no. June, p. 101662, 2019, doi: 10.1016/j.sysarc.2019.101662.
[11] J.J. Gutiérrez, “¿Qué es un framework ?,” Available http//www. lsi. us. es/~javierj/investigacion_ficheros/Framework. pdf Accessed May, vol. 12, pp. 1–4, 2014, [Online]. Available: http://www.lsi.us.es/~javierj/investigacion_ficheros/Framework.pdf.
[12] E. N. Navarrete and R. Navarro, “Desarrollo de un marco de trabajo (framework) para el desarrollo de aplicaciones web en la Universidad Nacional de Costa Rica,” p. 12, 2017, [Online]. Available: http://documentas.redclara.net/bitstream/10786/1287/1/131-17-4Desarrollo de un marco de trabajo %28framework%29 para el desarrollo de aplicaciones web.pdf.
[13] MyBatis, “MyBatis – MyBatis 3 | Introducción,” 2021. https://mybatis.org/mybatis-3/es/ (accessed Apr. 15, 2022).
[14] Y. Z. Li, S. Gao, J. Pan, B. F. Guo, and P. F. Xie, “Research and application of template engine for web backend based on Mybatis-PLUS,” Procedia Comput. Sci., vol. 166, pp. 206–212, 2020, doi: 10.1016/j.procs.2020.02.052.
[15] M. A. Abud Figueroa, “Calidad en la Industria del Software . La Norma ISO-25000,” Calid. en la Ind. del Software. La Norma ISO-9126, p. 255, 2012, [Online]. Available: javier8a.com/itc/bd1/Normas iso 9126.pdf.
Creative Commons License

This work is licensed under a Creative Commons Attribution 4.0 International License.

Downloads

Download data is not yet available.