How to maintain cache update on different memcached servers?

Bash Coder bashcoder+memcached at gmail.com
Tue Oct 31 17:30:22 UTC 2006


Good lord - I'm getting woozy - I just told you below:  Everyone uses the
same pool of memcached servers.  I give up!  RTFM.

Better yet, let me just save you some time:  No way do you need this
solution.

On 10/31/06, howard chen <howachen at gmail.com> wrote:
>
> 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?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20061031/708228bf/attachment.html


More information about the memcached mailing list