Question

Best server configuration to run an high traffic WordPress website

Hi, I’m trying to configure an optimized server to run an high traffic WordPress website. So I installed nginx + php7 fpm and fastcgi cache + MariaDB. Now I would ask if make it sense to install redis to speed it up, and if install W3TC is the right choice (does W3TC works in place of fastcgi cache?). Does this configuration have a faster alternative? Then If I will split Nginx and MySQL in two servers, which in your opinion needs the more RAM? At last, is it better to run redis on a standalone server?

Thanks a lot :)


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.

Hello,

It is always good to scale horizontally - split services out to separate droplets. This means you can “scale faster” by resizing specific components that need it.

There really is not a good way to estimate what size of droplet size you need for it, because there are so many variables. How efficient are your plugins? How efficient is your caching? What are the users doing on your site? And the list goes on…

Nginx and mariadb are a good step towards more efficient wordpress serving. I would definitely suggest moving your database to its own droplet (or a cluster of droplets). If you’re going to use Redis, definitely put it on its own box as well.

W3TC would help out for sure. I’d suggest investigating Varnish as well: http://code.tutsplus.com/tutorials/optimizing-wordpress-with-varnish-and-w3-total-cache--cms-21136

I’d be happy to answer any other questions you might have!

Best Regards,

–Andrew