Report this

What is the reason for this report?

Why my TTFB is so high after CDN, Memcached and 2GB Ubuntu 16.04 Server?

Posted on May 21, 2017

Hi

I’ve a 2GB RAM Ubuntu 16.04 server running a WordPress site. The site has maximum 300 visitor/day. Avg 220 visitors/day. I’ve MAXCDN setup there, Memcached installed to serve pages from cache, WordPress Caching Plugin W3 Total Cache Installed. Still, My site take 8 - 12seconds to load :( I’ve apache2 server running.

The server uses 33% storage, 50/58% memory, CPU Use avg. 10/15%.

Top Process: Apache2 52% MySQL Server 23% Memcached 2$

I was working to keep it under 2/4seconds max. Here is the graph to make it more

I was trying to move MySQL to a different private server but I was unsuccessful and kept all the services in the same server. Here is what I’ve in plan:

Plan 1: If I move MySQL and Memcached to a different server, will I get a better result with Apache2 ?

Plan 2: Or should I move MySQL and Memcached to a different server and Use Nginx as web server?

My Goal is to make the website blazing fast.



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!

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.

As a idea Plan 3

  1. Ensure your version is PHP 7.1
  2. use mod page speed (disable W3 TOTAL Cache and memcache)
  3. Optimize/Minimize your themes PHP files (Changing theme or making your own theme other solutions)
  4. Check your header and footer.php, clean unnecessary requests
  5. Uninstall unnecessary - not important plugins from Wordpress

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.