Question

Why server is so slow with response?

Posted April 18, 2021 169 views
Node.jsServer OptimizationNetworking

I deployed a very simple NodeJS app on a $5 server and I am experiencing serious latency issues.
A couple of requests are fine but then it becomes almost unreachable, both SSH and HTTP.
Any tips on what’s going?

I am confident that my own internet connection is strong.

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.

×
Submit an Answer
2 answers

Hi there,

It sounds like that your CPU usage might be getting too high. I could suggest following the steps from this answer here on how to check your resource utilization on your server:

https://www.digitalocean.com/community/questions/how-to-find-the-processes-that-are-consuming-the-most-server-resources

Let me know how it goes.
Regards,
Bobby

Hello,

It seems like the Application you have created is very heavy and its processes are causing high load on your Droplet. In my eyes, there are two options, the first one is to optimize your Application, and the second to upgrade your Droplet.