Question

Want to get decrease the server response time

Hello,

I am looking to get decrease the server response time. Currently for one request, it takes around 1 min. I need to get it done in 1-3 sec itself.

Can anybody help me out on this?

I am using an Ubuntu 2GB Memory | 40 GB disk | NYC.

Please advice.

Thanks in advance.


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.

I guess you need to get a good cache plugin. Every request on your server is processed as new req. Cache plugins can drastically up your server progress. Even I’m using cache on my site to speed up the loading time.

When you say it takes around 1 min to do one request - what is that request doing? Sounds like a PHP script is messing up / taking a long time to process.

I doubt very much its a hardware or location based issue, but to rule it out you can do some simple steps:

  1. Ping your server (should give you a transit time)
  2. Try requesting a basic HTML page eg. a “Hello World” page and see how long that takes