I'm currently working on a large Magento (Enterprise Edition) project where the client wants to use four load balanced web servers and four MySQL servers (one master, three slaves). I have not been able to find any clear information on the best way to configure Magento in this situation as far as cache and media storage. Anyone who has done something similar care to share their experience or point to a list of best practices for this?
My current plan is:
- Store session data in DB
- A single memcache server accessible from all four Apache servers for cache
- A single Solr server for search
- NFS drive mounted to /media on web servers
I've seen some recommendations where multiple memcache servers are used, such as one on each web server in the cluster. Wouldn't this cause problems and decrease performance when something is cached on one host and not the other?