How to maintain cache update on different memcached servers?

howard chen howachen at gmail.com
Tue Oct 31 17:17:53 UTC 2006


On 11/1/06, Bash Coder <bashcoder+memcached at gmail.com> wrote:
>
>
> > so given this
> >
> > 1. we can't add servers to an existing running pool? since hashing
> > won't work when you add addional server(s), you need to reset all
>
> Yes.
>
> > 2. if script A is using server A, B, C, and script B is using server
> > B, C, D, there will be duplicate items on servers, maybe an item exist
> > on B & C ?
> >
>
> No.  They all use the same pool of servers and they all calculate the mod of
> the checksum the same way.
>

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