On Thu, Feb 3, 2011 at 9:10 AM, Dustin <[email protected]> wrote:

>
> On Feb 3, 2:32 am, Margalit Silver <[email protected]> wrote:
> > Our system has 4 live servers on a load balancer in an Amazon Cloud.
>
> > We see in our code that memcache is deleted when a write is done but it
> > seems that it is only done for that one server, we want that it should be
> > cleared for that one piece of data on all servers.
>
>   If you are using memcached effectively, a given piece of data will
> only exist on one server.  That's how you achieve massive scale in a
> caching layer.
>
>  You can get a quick overview here:  http://memcached.org/about
>

Margalit,

Can you give us some more information about how your architecture is set up?
You say you have 4 live servers on an amazon cloud.

What client are you using to access memcached?
Can you share your memcache configuration section?
Can you share a snippet of code that accesses memcached?

As Dustin says, data is not supposed to exist on more than one server, so
something else may be going on.

Jason

Reply via email to