Question

Server schema for multiple WordPress sites

  • Posted on July 10, 2013
  • daniloefAsked by daniloef

Hi.

I need to host several WordPress sites, and I want to know witch “schema” is better:

Schema 1

  • 1 server with 2GB RAM and 2 cores —> PHP, MySQL, Varnish.

Schema 2

  • 1 server with 1 GB RAM and 1 core —> PHP, MySQL
  • 1 server with 1 GB RAM and 1 core —> Varnish

Schema 3? (ideas?)

Thanks.


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.

Put MySQL on its own server w/more RAM + memcache: <a href=“https://www.digitalocean.com/community/articles/how-to-install-and-use-memcache-on-ubuntu-12-04”>How to Install and Use Memcache on Ubuntu 12.04</a> <br> <br>If you want to limit maintenance to 2 servers, put everything else on the other droplet. If you’re open to deploying more than 2 droplets, check out: <a href=“https://www.digitalocean.com/community/articles/how-to-set-up-nginx-load-balancing”>How To Set Up Nginx Load Balancing</a> <br>

I recommend having PHP and MySQL on one droplet and having Varnish act as a load balancer (in case you add more app servers later on) on a separate droplet. <br> <br>If you ever add another app server, you should separate MySQL into its own droplet and have a load balancer (Varnish) droplet, a couple of app servers (php and a webserver), and a database server.

Several is 20. <br> <br>Yes, I know all this points, but I want to know what is better: <br> <br>1 server or <br>2 servers (for example: 1 for PHP, and other for MySQL and Varnish)?