Actas de congresos
Analysis of node.js application performance using mongoDB drivers
Fecha
2020-01-01Registro en:
Advances in Intelligent Systems and Computing, v. 1137 AISC, p. 213-222.
2194-5365
2194-5357
10.1007/978-3-030-40690-5_21
2-s2.0-85080862767
8031012573259361
0000-0003-1248-528X
Autor
Universidade Estadual Paulista (Unesp)
Institución
Resumen
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.