Memcached load balancing

dormando dormando at rydia.net
Mon Sep 10 06:35:38 UTC 2007


J A wrote:
> How exactly does Memcache do load balancing? Suppose I have 3 Memcached 
> servers, and I start storing items in server CACHE1.  Later somehow 
> CACHE1 crashes, and all info there is gone.  What happens then? Would I 
> have to code in my logic to start moving all future caches to CACHE2?
>  
> Also, what if CACHE1 gets full? How would my PHP application know to 
> move to CACHE2 for further caches?

Start here:
http://www.socialtext.net/memcached/index.cgi?faq#cluster_architecture_questions

Ask further questions :)

-Dormando


More information about the memcached mailing list