Abstract
At the last few years, the usage of NoSQL databases has increased, and consequently, the need for integrating with different programming languages. In that way, database drivers provide an API to perform database operations, which may impact on the performance of applications. In this article, we present a comparative study between two main drivers solutions to MongoDB in Node.js, through the evaluation of CRUD tests based on quantitative metrics (time execution, memory consumption, and CPU usage). Our results show which, under quantitative analysis, the MongoClient driver has presented a better performance than Mongoose driver in the considered scenarios, which may imply as the best alternative in the development of Node.js applications.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Ward, J.S., Barker, A.: Undefined by data: a survey of big data definitions. arXiv preprint arXiv:1309.5821 (2013)
González-Aparicio, M.T., Younas, M., Tuya, J., Casado, R.: A new model for testing CRUD operations in a NoSQl database. In: 2016 IEEE 30th International Conference on Advanced Information Networking and Applications (AINA), pp. 79–86 (2016)
Han, J., Haihong, E., Le, G., Du, J.: Survey on NoSQL database. In: 2011 6th International Conference on Pervasive Computing and Applications, pp. 363–366. IEEE (2011)
Rafique, A., Van Landuyt, D., Lagaisse, B., Joosen, W.: On the performance impact of data access middleware for NoSQL data stores a study of the trade-off between performance and migration cost. IEEE Trans. Cloud Comput. 6(3), 843–856 (2018)
Jung, M., Youn, S., Bae, J., Choi, Y.: A study on data input and output performance comparison of MongoDB and PostgreSQL in the big data environment. In: 2015 8th International Conference on Database Theory and Application (DTA), pp. 14–17 (2015)
Patil, M.M., Hanni, A., Tejeshwar, C.H., Patil, P.: A qualitative analysis of the performance of MongoDB vs MySQL database based on insertion and retriewal operations using a web/android application to explore load balancing—sharding in MongoDB and its advantages. In: 2017 International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC), pp. 325–330 (2017)
Ongo, G., Kusuma, G.P.: Hybrid database system of MySQL and MongoDB in web application development. In: 2018 International Conference on Information Management and Technology (ICIMTech), pp. 256–260 (2018)
Kanade, A., Gopal, A., Kanade, S.: A study of normalization and embedding in MongoDB. In: 2014 IEEE International Advance Computing Conference (IACC), pp. 416–421. IEEE (2014)
Mohamed, M., Altrafi, O.G., Ismail, M.O.: Relational vs. NoSQL databases: a survey. Int. J. Comput. Inf. Technol. (IJCIT) 3, 598 (2014)
Ramesh, D., Khosla, E., Bhukya, S.N.: Inclusion of e-commerce workflow with NoSQL DBMS: Mongodb document store. In: 2016 IEEE International Conference on Computational Intelligence and Computing Research (ICCIC), pp. 1–5 (2016)
Membrey, P., Plugge, E., Hawkins, D.: The Definitive Guide to MongoDB: The NoSQL Database for Cloud and Desktop Computing. A press, New York (2011)
Lutu, P.: Big data and NoSQL databases: new opportunities for database systems curricula. In: Proceedings of the 44th Annual Southern African Computer Lecturers’ Association (SACLA), pp. 204–209 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Cayres, L.U., de Lima, B.S., Garcia, R.E., Correia, R.C.M. (2020). Analysis of Node.js Application Performance Using MongoDB Drivers. In: Rocha, Á., Ferrás, C., Montenegro Marin, C., Medina García, V. (eds) Information Technology and Systems. ICITS 2020. Advances in Intelligent Systems and Computing, vol 1137. Springer, Cham. https://doi.org/10.1007/978-3-030-40690-5_21
Download citation
DOI: https://doi.org/10.1007/978-3-030-40690-5_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-40689-9
Online ISBN: 978-3-030-40690-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)