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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

I have the same issue, I’ve been in digitalocean for a year now. This is the first time I encoutered this issue. I created a ticket regarding this issue, and they didn’t even wait for my reply and closed the ticket. Did you manage to solve this issue?