Maybe this is implicitly meant by Dries, but just to spell it out, the pseudo code should be modified to read: if (multi-server setup) { 1. use memcached or 2. use a shared database cache or 3. invent a cache-coherency protocol? } else if (APC) { 4. use APC } else if (on shared hosting) { 5. Use existing cache or no caching at all } On 10/22/05, Dries Buytaert <dries@buytaert.net> wrote:
The problem, however, is multi-server setups like drupal.org. How does one maintain consistent caches across different servers (unless you use a distributed cache like memcached or ... a database cache like we do now)?
if (multi-server setup) { 1. use memcached or 2. use a shared database cache or 3. invent a cache-coherency protocol? } else if (APC) { 4. use APC }
-- Dries Buytaert :: http://www.buytaert.net/