How to maintain cache update on different memcached servers?

Daniel Beckham dbeckham-memcached at dealnews.com
Tue Oct 31 19:35:54 UTC 2006


Of course it would be duplicated if you had two separate memcached 
pools.  Are you being intentionally obtuse?

As Bash Coder has tried to explain, you normally only use a single pool 
of all of your memcached servers and the client uses a hash value to 
determine which server a particular piece of data is stored on.  End. 
Of. Story.

-Daniel


howard chen wrote:
> well, i mean if script A is connect to A, B, C, and script B is
> connect to B, C , D
>
> since A, B, C, D don't know each other, and therefore don't know the
> data stored on them
>
> to script A, memcached A is the first server, to script B, memcached B
> is the first server, so data might duplicated on A & B , is that
> correct?


More information about the memcached mailing list