same key on both memcached servers

2010-06-20 Thread Shaulian
Relating to Memcached FAQ (http://code.google.com/p/memcached/wiki/ FAQ#How_does_memcached_work?), it is clear that when you use more than on server for memcache, each key exist only one time, and only on one server. We are using 2 servers for memcached and 3 servers for app. Lately we noticed

Re: same key on both memcached servers

2010-06-20 Thread Brian Moon
Normal, default operation of a memcached client is to failover to the next server when a connection fails. So it is possible to have one key exist on more than one server. However, most clients have an option to turn this feature off. In those cases, a failed connection would lead to the

Re: same key on both memcached servers

2010-06-20 Thread dormando
This smells like you're configuring your clients wrong... The client list must be _exactly the same_ on every app server. Don't reorder them or put localhost in there. It's also possible that appserv2 can't reach one of the memcached daemons as well, and is putting keys on the only available