Hi.
I need to host several WordPress sites, and I want to know witch “schema” is better:
Schema 1
Schema 2
Schema 3? (ideas?)
Thanks.
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.
Click below to sign up and get $100 of credit to try our products over 60 days!
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)?
How many is several? <br> <br>Check out: <br> <br>1.) <a target=“_blank” href=“http://kbeezie.com/caching-wordpress”>The Importance of Caching WordPress</a> <br> <br>2.) <a target=“_blank” href=“https://www.digitalocean.com/community/articles/how-to-install-wordpress-nginx-php-and-varnish-on-ubuntu-12-04”>How to Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04</a> <br> <br>3.) <a target=“_blank” href=“http://wordpress.org/plugins/w3-total-cache/”>W3 Total Cache</a> <br> <br>4.) <a target=“_blank” href=“http://aws.amazon.com/cloudfront/”>Amazon CloudFront</a>