Multi-daemon setup

Marcus Bointon marcus at synchromedia.co.uk
Fri Oct 6 13:45:23 UTC 2006


On 6 Oct 2006, at 14:36, JM wrote:

> 	Im just wondering if you have multiple daemon setup lets say 5  
> boxes and app1
> chooses box1.. does it stuff and caches the data... how would app2  
> know that
> box1 has the cache data that it needed..

Assuming that all daemons have access to the same set of memcache  
servers, a given key will always hash to the same server. So app2  
doesn't know explicitly, but it knows to look there in the same way  
that app1 does, and therefore they end up matching.

Marcus
-- 
Marcus Bointon
Synchromedia Limited: Creators of http://www.smartmessages.net/
marcus at synchromedia.co.uk | http://www.synchromedia.co.uk/




More information about the memcached mailing list