Server Response Time slow and differs

I am using 1 GB Memory / 25 GB Disk / NYC3 - Ubuntu 18.04.3 (LTS) x64

In general, for approximately 100 kb static file download, server responds within second but today I have realized sometimes it takes more than 10 - 20 seconds.

Why does this fluctuate ? CPu usage is always constant and around %5, bandwidth usage is around 100 kb/s

What do you suggest for making more stable server and reduce the respond time ? Where should I start to examine this issue ?

backend: node.js, nginx

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.


One thing that you could try doing is to enable a CDN service for your website like Cloudflare. They have a free package which you could try out and see if it improves the performance.

Also, I would recommend also checking your memory consumption. As you only have 1GB in case that it is not enough to handle your application, you might have to increase that a little bit.

Also this is quite a huge delay, usually, I’ve seen those happening when the application tries to connect to an external service like an API for example, and the API response could slow the whole thing down. I would recommend checking the requests that your app is making in order to make sure that this is not the case.

Regards, Bobby