Thanks @Andy_at_Focallocal, really respect what you’re doing here.
I noticed the map website responds to Wordpress directory structures, is that what you’re using?
I think I read Ubuntu 14 for the OS?
Getting memcache to work with it is really simple then:
- Install memcached on Ubuntu
apt-get upgrade (restart if kernel updates)
apt-get install php5-memcached memcached
- Install the W3Cache module for Wordpress, and enable memcache
For the devs:
Varnish is a bit trickier, and to have a proper director, you need to separate the dynamic data written to the filesystem by Wordpress (like wp-content/uploads) from the code/static files. This is so you can split it up into multiple Apache instances on the back-end, and keep data that changes on the filesystem consistent across the server array.
Are you guys using git/svn for the website, or administrating it completely through the web interface? This will determine the topology you need for load balancing.