[drupal-devel] performance improvements - avoiding big unserialize()

Moshe Weitzman weitzman at tejasa.com
Tue Oct 25 13:32:35 UTC 2005


Dries Buytaert 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)?
> 

Indeed. Anyone have a suggestion for how a site can discover if it is a 
member of a multi-site host?

> 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
> }

i can't think of a better approach than this one. unfortunately we have 
to introduce a bit of complexity to properly address the problem.




More information about the drupal-devel mailing list