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

Khalid B kb at 2bits.com
Sat Oct 22 13:07:22 UTC 2005


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 at 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/
>
>



More information about the drupal-devel mailing list