What NodeJs does when too many requests performed?

221 Views Asked by At

For one of my tasks, I have to make too many requests to collect analytics. It's a search engine and for a valid reason, when somebody opens a page I must perform 6-8 requests to send different analytics. I'm thinking to use "Promise.allSettled", but I don't know what will happen if it gets overloaded with too many requests. Right now our usage is low and on average I need to perform ~3 request per second(when requests are done is not important I just need to be sure all of them arrive to analytics server). My question is, do NodeJs have some sort of garbage collector or anything else that will cause problems with sending all requests. Also if you have any better approaches please let me know, I would be happy to hear them.

0

There are 0 best solutions below