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


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.

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.

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