What's the best way to use memcache with a single-server app? <p>For a single-server LAMP site (which is usually under quite high load), what is best way to use memcache? </p> <p>Does it make sense to run the memcache daemon on the same server as the application, or is that just going to take valuable memory away from MySQL, giving a net performance loss. Does it even make sense to use memcache in this scenario- or is the best solution to always have dedicated servers for memcache? </p> <p>I appreciate that profiling the site before and after would be required to really answer this question, but I would rather not do that at this stage on the live site. Especially as someone out there certainly knows the answer off the top of their head.</p>