Question

Node.js. Response is delayed after a certain time

I have published nodejs application under apps. When I deploy for the first time, the response returns fast as it should. After 3-4 hours, the responses are returning 6x-7x slow. I’m also using MongoDb. I did not have this problem in the applications that I sent to local and other servers for testing. I guess this is due to digitalocean servers, I couldn’t understand the reason for the problem, can you help?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Do you see any errors in your application logs?

Also, how does the resource utilization look like? I could suggest checking this for both the Node.js app and the MongoDB database.

Best,

Bobby