A
A
Andrey2021-07-29 12:13:39
Mongoose
Andrey, 2021-07-29 12:13:39

Profiling MongoDB mongoose + node.js + express?

I ran into a problem that I don’t really understand what tools or libraries are, or maybe some crutches for monitoring requests in mongo, through a bunch of mongoose + node.js + express.
I tried to use explain, but in mongoose I didn’t understand how it works, the request just starts to fall off and not give any data.
So far, there is only one thought, these are wrapping requests in functions and calculating the execution time, but it seems to me that I will only slow down performance this way.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rag'n' Code Man, 2021-07-30
@iDmitriyWinX

Clinic

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question