Memcache(d) vs. Varnish for speeding up 3 tier web architecture
问题 I'm trying to speed up my benchmark (3 tier web architecture), and I have some general questions related to Memcache(d) and Varnish. What is the difference? It seems to me that Varnish is behind the web server, caching web pages and doesn't require change in code, just configuration. On the other side, Memcached is general purpose caching system and mostly used to cache result from database and does require change in get method (first cache lookup). Can I use both? Varnish in front web server