Want to get decrease the server response time

April 15, 2016 1.6k views
DigitalOcean High Availability PHP


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.

1 Answer

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
Have another answer? Share your knowledge.